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