/[packages]/cauldron/anjuta/current/SPECS/anjuta.spec
ViewVC logotype

Contents of /cauldron/anjuta/current/SPECS/anjuta.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 75057 - (show annotations) (download)
Sun Mar 20 20:34:50 2011 UTC (10 years, 6 months ago) by obgr_seneca
File size: 5745 byte(s)
- added require for python-rope to have python auto completion

1 %define major 0
2 %define libname %mklibname %{name} %major
3 %define libnamedev %mklibname %{name} -d
4 %define _requires_exceptions perl.GBF..Make.
5
6 Summary: Integrated development environment for C and C++ (Linux)
7 Name: anjuta
8 Version: 2.32.1.1
9 Release: %mkrel 2
10 License: GPLv2+
11 Group: Development/Other
12 URL: http://anjuta.sourceforge.net/
13 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/anjuta/%{name}-%{version}.tar.bz2
14 Patch0: anjuta-2.31.6.0-format-strings.patch
15 Patch1: anjuta-2.29.4.0-fix-linking.patch
16
17 BuildRequires: gtk+2-devel >= 2.4.0
18 BuildRequires: libORBit2-devel >= 2.6
19 BuildRequires: libxml2-devel >= 2.4.23
20 BuildRequires: pango-devel >= 1.8
21 BuildRequires: gda4.0-devel
22 BuildRequires: libgdl-devel >= 2.27.3
23 BuildRequires: libxslt-devel
24 BuildRequires: unique-devel
25 BuildRequires: devhelp-devel >= 2.31.6
26 BuildRequires: vte-devel >= 0.9.0
27 BuildRequires: autogen-devel
28 BuildRequires: autogen
29 BuildRequires: gtksourceview-devel
30 BuildRequires: gnome-common
31 BuildRequires: intltool
32 BuildRequires: subversion-devel >= 1.0.2
33 BuildRequires: apr-util-devel >= 0.9.4
34 BuildRequires: binutils-devel
35 BuildRequires: pcre-devel
36 BuildRequires: gtk-doc >= 1.0
37 BuildRequires: gnome-doc-utils >= 0.4.2
38 BuildRequires: apr-devel >= 1.2.2
39 BuildRequires: gd-devel
40 BuildRequires: graphviz-devel >= 2.22
41 BuildRequires: scrollkeeper
42 BuildRequires: howl-devel
43 BuildRequires: glade3-devel >= 1:3.7.1
44 BuildRequires: vala-devel >= 0.9.4
45 BuildRequires: glib2-devel >= 2.25.15
46 BuildRequires: imagemagick
47
48 Requires: autogen
49 Requires: python-rope
50 Suggests: libglademm-devel
51 Suggests: glade3
52
53 # package was called anjuta2 in Mdv due to anjuta-1.x packages in <= 2008.1
54 Provides: %{name}2 = %{version}-%{release}
55
56 %description
57 Anjuta DevStudio is a versatile Integrated Development Environment (IDE)
58 on GNOME Desktop Environment and features a number of advanced
59 programming facilities. These include project management, application and
60 class wizards, an on-board interactive debugger, powerful source editor,
61 syntax highlighting, intellisense autocompletions, symbol navigation,
62 version controls, integrated GUI designing and other tools.
63
64 Anjuta 2.x is the next generation Anjuta development studio with extensible
65 plugin architecture. The new architecture allows writing independent
66 plugins that could interact with existing plugins. Most of the older
67 features have been already ported to the new architecture and are working.
68
69 %package -n %{libname}
70 Summary: Anjuta 2 libraries
71 Group: System/Libraries
72
73 %description -n %{libname}
74 Anjuta 2 libraries
75
76 %package -n %{libnamedev}
77 Summary: Anjuta 2 devel files
78 Group: Development/Other
79 Requires: %{libname} = %{version}-%{release}
80 Provides: %{name}-devel = %{version}-%{release}
81
82 %description -n %{libnamedev}
83 Anjuta 2 devel files
84
85 %prep
86 %setup -q
87 %apply_patches
88
89 %build
90 autoreconf -fi
91 %configure2_5x \
92 --disable-static \
93 --enable-plugin-sourceview \
94 --enable-introspection=no
95 %make
96
97 %install
98 rm -rf %{buildroot}
99 %makeinstall_std
100
101 desktop-file-install --vendor="" \
102 --remove-key='Encoding' \
103 --add-category="IDE" \
104 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
105
106 %find_lang %{name} --with-gnome
107 %find_lang %{name}-build-tutorial --with-gnome
108 cat %{name}-build-tutorial.lang > anjuta.lang
109
110 # remove unneeded and conflictive files
111 rm -f %{buildroot}%{_libdir}/libanjuta*.la \
112 %{buildroot}%{_libdir}/libanjuta*.a \
113 %{buildroot}%{_datadir}/mime/XMLnamespaces \
114 %{buildroot}%{_datadir}/mime/aliases \
115 %{buildroot}%{_datadir}/mime/globs \
116 %{buildroot}%{_datadir}/mime/magic \
117 %{buildroot}%{_datadir}/mime/subclasses
118 rm -rf %{buildroot}/%{_docdir}
119
120 %clean
121 rm -rf %{buildroot}
122
123 %define schemas anjuta-build-basic-autotools-plugin anjuta-cvs-plugin anjuta-document-manager anjuta-editor-sourceview anjuta-language-cpp-java anjuta-message-manager-plugin anjuta-terminal-plugin anjuta-debug-manager anjuta-symbol-db file-manager preferences python-plugin-properties
124
125 # neccessary because uninstall of schemas is not done by filetriggers
126 %preun
127 %preun_uninstall_gconf_schemas %{schemas}
128
129 %files -f %{name}.lang
130 %defattr(-,root,root)
131 %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
132 %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
133 %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
134 %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
135 %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
136 %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
137 %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
138 %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
139 %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
140 %{_sysconfdir}/gconf/schemas/file-manager.schemas
141 %{_sysconfdir}/gconf/schemas/preferences.schemas
142 %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
143 %{_bindir}/*
144 %{_libdir}/glade3/modules/*
145 %{_libdir}/anjuta
146 %{_datadir}/anjuta
147 %{_datadir}/glade3/catalogs/*.xml
148 %{_datadir}/applications/*.desktop
149 %{_datadir}/gtk-doc/html/libanjuta*
150 %{_datadir}/icons/gnome/*/mimetypes/*
151 %{_datadir}/locale/*/LC_MESSAGES/anjuta.mo
152 %{_mandir}/man1/anjuta.1*
153 %{_mandir}/man1/anjuta-launcher.1*
154 %{_datadir}/mime/packages/anjuta.xml
155 %{_datadir}/pixmaps/anjuta
156 %{_datadir}/icons/hicolor/*/apps/*
157 %{_datadir}/omf/anjuta-manual/*.omf
158 %{_datadir}/gnome/help/anjuta-manual/
159 %{_datadir}/gnome/help/anjuta-faqs/
160
161
162 %files -n %libname
163 %defattr(-,root,root)
164 %_libdir/*.so.%{major}*
165
166 %files -n %libnamedev
167 %defattr(-,root,root)
168 %_libdir/*.so
169 %_includedir/libanjuta-1.0
170 %_libdir/pkgconfig/*.pc
171

  ViewVC Help
Powered by ViewVC 1.1.28