]>
Commit | Line | Data |
---|---|---|
6c9d3b2d | 1 | Summary: GNOME integrated development environment |
07c1f166 ER |
2 | Summary(es.UTF-8): Entorno integrado de desarrollo (IDE) de GNOME |
3 | Summary(pl.UTF-8): Zintegrowane środowisko programowania dla GNOME | |
4 | Summary(pt_BR.UTF-8): Ambiente de desenvolvimento integrado C e C++ | |
3e9740ba | 5 | Name: anjuta |
69ca3879 | 6 | Version: 2.24.2 |
f12a6bd3 | 7 | Release: 3 |
6351dbdd | 8 | Epoch: 1 |
22f02f8b | 9 | License: GPL v2+ |
1ea1a540 | 10 | Group: X11/Development/Tools |
a8cfd033 | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.24/%{name}-%{version}.tar.bz2 |
69ca3879 | 12 | # Source0-md5: d1db75bc1c8d4ab4c9d180767e24e39a |
fb73b544 | 13 | #Patch0: %{name}-home_etc.patch |
d6bd9cd6 | 14 | Patch1: %{name}-desktop.patch |
a8cfd033 | 15 | Patch2: %{name}-includes.patch |
6ed36945 | 16 | Patch3: %{name}-devhelp.patch |
3e9740ba | 17 | URL: http://anjuta.sourceforge.net/ |
1ea1a540 MB |
18 | BuildRequires: GConf2-devel >= 2.24.0 |
19 | BuildRequires: ORBit2-devel >= 1:2.14.0 | |
6c95e892 | 20 | BuildRequires: autoconf >= 2.59 |
fb73b544 | 21 | BuildRequires: autogen |
f9d39eb6 JB |
22 | BuildRequires: automake >= 1:1.9 |
23 | BuildRequires: binutils-devel >= 3:2.15.92 | |
6ed36945 | 24 | BuildRequires: devhelp-devel >= 0.22 |
1ea1a540 | 25 | BuildRequires: gdl-devel >= 2.24.0 |
d5a8bfaa | 26 | BuildRequires: gettext-devel |
1ea1a540 MB |
27 | BuildRequires: glib2-devel >= 1:2.18.0 |
28 | BuildRequires: gnome-build-devel >= 2.24.0 | |
29 | BuildRequires: gnome-common >= 2.24.0 | |
6c7e5691 | 30 | BuildRequires: gnome-doc-utils |
1ea1a540 | 31 | BuildRequires: gnome-vfs2-devel >= 2.24.0 |
6c95e892 | 32 | BuildRequires: graphviz-devel >= 2.6.0 |
1ea1a540 | 33 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
6c95e892 | 34 | BuildRequires: gtk-doc >= 1.7 |
1ea1a540 MB |
35 | BuildRequires: gtksourceview2-devel >= 2.4.0 |
36 | BuildRequires: intltool >= 0.40.0 | |
6c7e5691 MB |
37 | BuildRequires: libglade2-devel >= 1:2.6.2 |
38 | BuildRequires: libgladeui-devel >= 3.2.0 | |
f9d39eb6 | 39 | BuildRequires: libgnomecanvas-devel >= 2.12.0 |
6c95e892 | 40 | BuildRequires: libgnomeprintui-devel >= 2.12.0 |
1ea1a540 | 41 | BuildRequires: libgnomeui-devel >= 2.24.0 |
d5a8bfaa | 42 | BuildRequires: libstdc++-devel |
9a94b53e | 43 | BuildRequires: libtool |
6c7e5691 | 44 | BuildRequires: libxml2-devel >= 1:2.6.26 |
f9d39eb6 | 45 | BuildRequires: libxslt-devel |
6c95e892 | 46 | BuildRequires: neon-devel >= 0.24.5 |
9a94b53e | 47 | BuildRequires: pkgconfig |
6c7e5691 | 48 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
6c95e892 | 49 | BuildRequires: rpmbuild(macros) >= 1.311 |
49a52d78 | 50 | BuildRequires: scrollkeeper |
1ea1a540 MB |
51 | BuildRequires: subversion-devel >= 1.4.0 |
52 | BuildRequires: vte-devel >= 0.16.0 | |
6c7e5691 | 53 | Requires(post,postun): desktop-file-utils |
6c95e892 MB |
54 | Requires(post,postun): gtk+2 |
55 | Requires(post,postun): hicolor-icon-theme | |
826ff08d | 56 | Requires(post,postun): scrollkeeper |
6c95e892 | 57 | Requires(post,postun): shared-mime-info |
6c7e5691 | 58 | Requires(post,preun): GConf2 |
b44496f4 | 59 | # Requires: gnome-terminal |
1ea1a540 | 60 | Requires: glib2 >= 1:2.18.0 |
2abf41af | 61 | Requires: libanjuta = %{epoch}:%{version}-%{release} |
8adf4cb8 | 62 | # sr@Latn vs. sr@latin |
63 | Conflicts: glibc-misc < 6:2.7 | |
3e9740ba | 64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
65 | ||
66 | %description | |
59fa26a7 | 67 | Anjuta is a very versatile integrated development environment for C |
af11ee93 | 68 | and C++ for GNU/Linux. Written in GTK/GNOME and written for GTK/GNOME, |
69 | it features many advanced programming tools and utilities. Besides | |
70 | many other, it has project management, application wizards, onboard | |
59fa26a7 | 71 | interactive debugger, and a powerful source editor with source |
72 | browsing. | |
73 | ||
5abe4ba4 | 74 | %description -l es.UTF-8 |
af11ee93 | 75 | Anjuta es un entorno integrado de desarrollo para C y C++ para |
76 | GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas | |
5abe4ba4 | 77 | herramientas de programación avanzadas. Entre otros, habilita |
af11ee93 | 78 | manejamiento de proyectos, wizards de aplicaciones, depurador |
5abe4ba4 | 79 | interactivo y un editador potente de código fuente que permite |
af11ee93 | 80 | hojearlo. |
81 | ||
5abe4ba4 JR |
82 | %description -l pl.UTF-8 |
83 | Anjuta to wszechstronne zintegrowane środowisko programowania dla | |
84 | języka C oraz C++. Zostało napisane z wykorzystaniem tandemu | |
85 | GTK/GNOME, właśnie po to by go w takim otoczeniu używać. Między innymi | |
86 | posiada zarządcę projektów, kreator aplikacji, wbudowany interaktywny | |
87 | odpluskwiacz oraz edytor z możliwością przeglądania źródeł. | |
3e9740ba | 88 | |
5abe4ba4 JR |
89 | %description -l pt_BR.UTF-8 |
90 | O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil | |
3abdf48d | 91 | para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma |
5abe4ba4 JR |
92 | série de características de programação avançadas. Basicamente é uma |
93 | interface gráfica com o usuário para um conjunto de utilitários de | |
94 | linha de comando e ferramentas para programação para o Linux. Estas | |
95 | são geralmente executadas em um console em modo texto e podem ser não | |
96 | amigáveis. | |
3abdf48d | 97 | |
fb73b544 AM |
98 | %package -n libanjuta |
99 | Summary: libanjuta library | |
6c95e892 | 100 | Summary(pl.UTF-8): Biblioteka libanjuta |
fb73b544 | 101 | Group: Development/Libraries |
2abf41af | 102 | Conflicts: %{name} < 1:2.0.2-1 |
fb73b544 AM |
103 | |
104 | %description -n libanjuta | |
105 | libanjuta library. | |
106 | ||
6c95e892 MB |
107 | %description -n libanjuta -l pl.UTF-8 |
108 | Biblioteka libanjuta. | |
109 | ||
fb73b544 | 110 | %package -n libanjuta-devel |
6c95e892 MB |
111 | Summary: Header files for libanjuta library |
112 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta | |
fb73b544 AM |
113 | Group: Development/Libraries |
114 | Requires: libanjuta-devel = %{epoch}:%{version}-%{release} | |
6c7e5691 | 115 | Requires: libglade2-devel >= 1:2.6.2 |
1ea1a540 | 116 | Requires: libgnomeui-devel >= 2.24.0 |
fb73b544 AM |
117 | |
118 | %description -n libanjuta-devel | |
6c95e892 MB |
119 | Header files for libanjuta library. |
120 | ||
121 | %description -n libanjuta-devel -l pl.UTF-8 | |
122 | Pliki nagłówkowe biblioteki libanjuta. | |
123 | ||
124 | %package -n libanjuta-apidocs | |
125 | Summary: libanjuta API documentation | |
126 | Summary(pl.UTF-8): Dokumentacja API biblioteki libanjuta | |
127 | Group: Documentation | |
128 | Requires: gtk-doc-common | |
129 | ||
130 | %description -n libanjuta-apidocs | |
131 | libanjuta API documentation. | |
132 | ||
133 | %description -n libanjuta-apidocs -l pl.UTF-8 | |
134 | Dokumentacja API biblioteki libanjuta. | |
fb73b544 | 135 | |
3e9740ba | 136 | %prep |
9a94b53e | 137 | %setup -q |
d6bd9cd6 ER |
138 | #%patch0 -p1 NEEDS checking |
139 | %patch1 -p1 | |
a8cfd033 | 140 | %patch2 -p0 |
6ed36945 | 141 | %patch3 -p1 |
6c7e5691 | 142 | |
3e9740ba | 143 | %build |
dd98ddbb | 144 | %{__intltoolize} |
145 | %{__libtoolize} | |
146 | %{__aclocal} | |
dd98ddbb | 147 | %{__autoconf} |
6c7e5691 | 148 | %{__autoheader} |
dd98ddbb | 149 | %{__automake} |
db55d436 | 150 | %configure \ |
fb73b544 AM |
151 | --with-html-dir=%{_gtkdocdir} \ |
152 | --with-apr-config=%{_bindir}/apr-1-config \ | |
153 | --with-apu-config=%{_bindir}/apu-1-config \ | |
154 | --with-neon-config=%{_bindir}/neon-config \ | |
6c95e892 MB |
155 | --with-omf-dir=%{_omf_dest_dir} \ |
156 | --disable-scrollkeeper \ | |
6c7e5691 | 157 | --disable-static |
dd98ddbb | 158 | |
3e9740ba | 159 | %{__make} |
160 | ||
161 | %install | |
162 | rm -rf $RPM_BUILD_ROOT | |
4f0edb38 | 163 | |
6c7e5691 | 164 | %{__make} -j1 install \ |
db55d436 | 165 | DESTDIR=$RPM_BUILD_ROOT \ |
6c95e892 MB |
166 | mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \ |
167 | mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes | |
168 | ||
fe13c0a6 JB |
169 | # *.la not needed - *.so loaded through libgmodule |
170 | rm -f $RPM_BUILD_ROOT%{_libdir}/anjuta/lib*.la | |
171 | ||
6c95e892 | 172 | rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta |
46563756 | 173 | |
6c7e5691 | 174 | %find_lang %{name} --with-gnome --with-omf --all-name |
56ff22cb | 175 | |
3e9740ba | 176 | %clean |
177 | rm -rf $RPM_BUILD_ROOT | |
cf675a4c | 178 | |
826ff08d | 179 | %post |
46563756 | 180 | %scrollkeeper_update_post |
6c95e892 | 181 | %update_mime_database |
6c7e5691 MB |
182 | %update_desktop_database |
183 | %gconf_schema_install anjuta-build-basic-autotools-plugin.schemas | |
184 | %gconf_schema_install anjuta-cvs-plugin.schemas | |
185 | %gconf_schema_install anjuta-document-manager.schemas | |
6c7e5691 MB |
186 | %gconf_schema_install anjuta-editor-sourceview.schemas |
187 | %gconf_schema_install anjuta-language-cpp-java.schemas | |
188 | %gconf_schema_install anjuta-message-manager-plugin.schemas | |
189 | %gconf_schema_install anjuta.schemas | |
190 | %gconf_schema_install anjuta-symbol-browser-plugin.schemas | |
191 | %gconf_schema_install anjuta-terminal-plugin.schemas | |
6c95e892 MB |
192 | %gconf_schema_install anjuta-valgrind.schemas |
193 | %update_icon_cache hicolor | |
194 | ||
195 | %preun | |
6c7e5691 MB |
196 | %gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas |
197 | %gconf_schema_uninstall anjuta-cvs-plugin.schemas | |
198 | %gconf_schema_uninstall anjuta-document-manager.schemas | |
6c7e5691 MB |
199 | %gconf_schema_uninstall anjuta-editor-sourceview.schemas |
200 | %gconf_schema_uninstall anjuta-language-cpp-java.schemas | |
201 | %gconf_schema_uninstall anjuta-message-manager-plugin.schemas | |
202 | %gconf_schema_uninstall anjuta.schemas | |
203 | %gconf_schema_uninstall anjuta-symbol-browser-plugin.schemas | |
204 | %gconf_schema_uninstall anjuta-terminal-plugin.schemas | |
6c95e892 | 205 | %gconf_schema_uninstall anjuta-valgrind.schemas |
826ff08d | 206 | |
207 | %postun | |
46563756 | 208 | %scrollkeeper_update_postun |
6c95e892 | 209 | %update_mime_database |
6c7e5691 | 210 | %update_desktop_database_postun |
6c95e892 | 211 | %update_icon_cache hicolor |
49a52d78 | 212 | |
2abf41af | 213 | %post -n libanjuta -p /sbin/ldconfig |
fb73b544 AM |
214 | %postun -n libanjuta -p /sbin/ldconfig |
215 | ||
56ff22cb | 216 | %files -f %{name}.lang |
4f0edb38 | 217 | %defattr(644,root,root,755) |
6c95e892 | 218 | %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html |
6c7e5691 MB |
219 | %attr(755,root,root) %{_bindir}/anjuta |
220 | %attr(755,root,root) %{_bindir}/anjuta_import.sh | |
221 | %attr(755,root,root) %{_bindir}/anjuta_launcher | |
71736a36 | 222 | %dir %{_libdir}/%{name} |
223 | %attr(755,root,root) %{_libdir}/%{name}/lib*.so* | |
fb73b544 | 224 | %{_libdir}/%{name}/*.plugin |
70083be9 PZ |
225 | %attr(755,root,root) %{_libdir}/%{name}/anjuta-tags |
226 | %{_libdir}/glade3/modules/libgladeanjuta.so | |
71736a36 | 227 | %{_pixmapsdir}/%{name} |
6c95e892 MB |
228 | %dir %{_datadir}/%{name} |
229 | %{_datadir}/%{name}/build | |
230 | %{_datadir}/%{name}/class-templates | |
231 | %{_datadir}/%{name}/glade | |
232 | %{_datadir}/%{name}/gtodo | |
233 | %{_datadir}/%{name}/profiles | |
234 | %{_datadir}/%{name}/project | |
6c95e892 MB |
235 | %dir %{_datadir}/%{name}/scripts |
236 | %attr(755,root,root) %{_datadir}/%{name}/scripts/create_global_tags.sh | |
237 | %dir %{_datadir}/%{name}/tools | |
238 | %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl | |
239 | %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl | |
240 | %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl | |
241 | %{_datadir}/%{name}/tools/tools-2.xml | |
242 | %{_datadir}/%{name}/ui | |
243 | %{_datadir}/%{name}/anjuta_project.template | |
244 | %{_datadir}/%{name}/gdb.init | |
70083be9 | 245 | %{_datadir}/%{name}/languages.xml |
6c95e892 MB |
246 | %{_datadir}/%{name}/layout.xml |
247 | %{_datadir}/%{name}/macros.xml | |
248 | %{_datadir}/%{name}/welcome.txt | |
6c7e5691 MB |
249 | %{_datadir}/%{name}/AUTHORS |
250 | %{_datadir}/mime/packages/anjuta.xml | |
70083be9 | 251 | %{_datadir}/glade3/catalogs/anjuta-glade.xml |
6c95e892 MB |
252 | %{_desktopdir}/%{name}.desktop |
253 | %{_mandir}/man1/anjuta.1* | |
254 | %{_mandir}/man1/anjuta_launcher.1* | |
6c7e5691 MB |
255 | %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas |
256 | %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas | |
257 | %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas | |
6c7e5691 MB |
258 | %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas |
259 | %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas | |
260 | %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas | |
261 | %{_sysconfdir}/gconf/schemas/anjuta.schemas | |
262 | %{_sysconfdir}/gconf/schemas/anjuta-symbol-browser-plugin.schemas | |
263 | %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas | |
264 | %{_sysconfdir}/gconf/schemas/anjuta-valgrind.schemas | |
6c95e892 | 265 | %{_iconsdir}/hicolor/*/*/*.* |
fb73b544 AM |
266 | |
267 | %files -n libanjuta | |
268 | %defattr(644,root,root,755) | |
6c7e5691 MB |
269 | %attr(755,root,root) %{_libdir}/libanjuta-ctags.so.*.*.* |
270 | %attr(755,root,root) %ghost %{_libdir}/libanjuta-ctags.so.0 | |
6c7e5691 MB |
271 | %attr(755,root,root) %{_libdir}/libanjuta.so.*.*.* |
272 | %attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0 | |
fb73b544 AM |
273 | |
274 | %files -n libanjuta-devel | |
275 | %defattr(644,root,root,755) | |
6c7e5691 | 276 | %attr(755,root,root) %{_libdir}/libanjuta-ctags.so |
6c7e5691 MB |
277 | %attr(755,root,root) %{_libdir}/libanjuta.so |
278 | %{_libdir}/libanjuta-ctags.la | |
6c7e5691 MB |
279 | %{_libdir}/libanjuta.la |
280 | %{_includedir}/libanjuta-1.0 | |
281 | %{_pkgconfigdir}/libanjuta-1.0.pc | |
6c95e892 MB |
282 | |
283 | %files -n libanjuta-apidocs | |
284 | %defattr(644,root,root,755) | |
fb73b544 | 285 | %{_gtkdocdir}/libanjuta |