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