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