1 Summary: GNOME integrated development environment
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++
10 Group: X11/Development/Tools
11 Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.28/%{name}-%{version}.tar.bz2
12 # Source0-md5: 610624984bd62ee1e280090900a0ada7
13 Patch0: %{name}-desktop.patch
14 Patch1: %{name}-includes.patch
15 URL: http://projects.gnome.org/anjuta/
16 BuildRequires: GConf2-devel >= 2.26.0
17 BuildRequires: ORBit2-devel >= 1:2.14.0
18 BuildRequires: autoconf >= 2.59
19 BuildRequires: autogen
20 BuildRequires: automake >= 1:1.9
21 BuildRequires: devhelp-devel >= 0.22
22 BuildRequires: docbook-dtd412-xml
23 BuildRequires: gdl-devel >= 2.28.0
24 BuildRequires: gettext-devel
25 BuildRequires: glib2-devel >= 1:2.20.0
26 BuildRequires: gnome-common >= 2.24.0
27 BuildRequires: gnome-doc-utils
28 BuildRequires: gtk+2-devel >= 2:2.16.0
29 BuildRequires: gtk-doc >= 1.7
30 BuildRequires: gtk-webkit-devel
31 BuildRequires: gtksourceview2-devel >= 2.6.0
32 BuildRequires: intltool >= 0.40.0
33 BuildRequires: libgda4-devel >= 4.0.0
34 BuildRequires: libgladeui-devel >= 3.6.0
35 BuildRequires: libstdc++-devel
36 BuildRequires: libtool
37 BuildRequires: libxml2-devel >= 1:2.6.26
38 BuildRequires: libxslt-devel
39 BuildRequires: neon-devel >= 0.28.2
40 BuildRequires: perl-Locale-gettext
41 BuildRequires: pkgconfig
42 BuildRequires: rpmbuild(find_lang) >= 1.23
43 BuildRequires: rpmbuild(macros) >= 1.311
44 BuildRequires: scrollkeeper
45 BuildRequires: subversion-devel >= 1.5.0
46 BuildRequires: libunique-devel >= 1.0.0
47 BuildRequires: vte-devel >= 0.20.0
48 Requires(post,postun): desktop-file-utils
49 Requires(post,postun): gtk+2
50 Requires(post,postun): hicolor-icon-theme
51 Requires(post,postun): scrollkeeper
52 Requires(post,postun): shared-mime-info
53 Requires(post,preun): GConf2
54 # Requires: gnome-terminal
55 Requires: glib2 >= 1:2.20.0
56 Requires: libanjuta = %{epoch}:%{version}-%{release}
57 Requires: libgda4-provider-sqlite >= 4.0.0
60 Obsoletes: gnome-build
61 Obsoletes: gnome-build-devel
62 # sr@Latn vs. sr@latin
63 Conflicts: glibc-misc < 6:2.7
64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 Anjuta is a very versatile integrated development environment for C
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
71 interactive debugger, and a powerful source editor with source
74 %description -l es.UTF-8
75 Anjuta es un entorno integrado de desarrollo para C y C++ para
76 GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas
77 herramientas de programación avanzadas. Entre otros, habilita
78 manejamiento de proyectos, wizards de aplicaciones, depurador
79 interactivo y un editador potente de código fuente que permite
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ł.
89 %description -l pt_BR.UTF-8
90 O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil
91 para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma
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
99 Summary: libanjuta library
100 Summary(pl.UTF-8): Biblioteka libanjuta
102 Conflicts: %{name} < 1:2.0.2-1
104 %description -n libanjuta
107 %description -n libanjuta -l pl.UTF-8
108 Biblioteka libanjuta.
110 %package -n libanjuta-devel
111 Summary: Header files for libanjuta library
112 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta
113 Group: X11/Development/Libraries
114 Requires: libanjuta-devel = %{epoch}:%{version}-%{release}
115 Requires: GConf2-devel >= 2.26.0
116 Requires: gtk+2-devel >= 2:2.16.0
118 %description -n libanjuta-devel
119 Header files for libanjuta library.
121 %description -n libanjuta-devel -l pl.UTF-8
122 Pliki nagłówkowe biblioteki libanjuta.
124 %package -n libanjuta-apidocs
125 Summary: libanjuta API documentation
126 Summary(pl.UTF-8): Dokumentacja API biblioteki libanjuta
128 Requires: gtk-doc-common
130 %description -n libanjuta-apidocs
131 libanjuta API documentation.
133 %description -n libanjuta-apidocs -l pl.UTF-8
134 Dokumentacja API biblioteki libanjuta.
149 --with-html-dir=%{_gtkdocdir} \
150 --with-omf-dir=%{_omf_dest_dir} \
151 --disable-schemas-install \
152 --disable-scrollkeeper \
158 rm -rf $RPM_BUILD_ROOT
160 %{__make} -j1 install \
161 DESTDIR=$RPM_BUILD_ROOT \
162 mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
163 mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
165 # *.la not needed - *.so loaded through libgmodule
166 rm -f $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la
168 rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta
170 %find_lang %{name} --with-gnome --with-omf --all-name
173 rm -rf $RPM_BUILD_ROOT
176 %scrollkeeper_update_post
177 %update_mime_database
178 %update_desktop_database
179 %gconf_schema_install anjuta-build-basic-autotools-plugin.schemas
180 %gconf_schema_install anjuta-cvs-plugin.schemas
181 %gconf_schema_install anjuta-document-manager.schemas
182 %gconf_schema_install anjuta-debug-manager.schemas
183 %gconf_schema_install anjuta-editor-sourceview.schemas
184 %gconf_schema_install anjuta-language-cpp-java.schemas
185 %gconf_schema_install anjuta-message-manager-plugin.schemas
186 %gconf_schema_install preferences.schemas
187 %gconf_schema_install anjuta-symbol-db.schemas
188 %gconf_schema_install anjuta-terminal-plugin.schemas
189 %gconf_schema_install file-manager.schemas
190 %update_icon_cache hicolor
193 %gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas
194 %gconf_schema_uninstall anjuta-cvs-plugin.schemas
195 %gconf_schema_uninstall anjuta-document-manager.schemas
196 %gconf_schema_uninstall anjuta-debug-manager.schemas
197 %gconf_schema_uninstall anjuta-editor-sourceview.schemas
198 %gconf_schema_uninstall anjuta-language-cpp-java.schemas
199 %gconf_schema_uninstall anjuta-message-manager-plugin.schemas
200 %gconf_schema_uninstall preferences.schemas
201 %gconf_schema_uninstall anjuta-symbol-db.schemas
202 %gconf_schema_uninstall anjuta-terminal-plugin.schemas
203 %gconf_schema_uninstall file-manager.schemas
206 %scrollkeeper_update_postun
207 %update_mime_database
208 %update_desktop_database_postun
209 %update_icon_cache hicolor
211 %post -n libanjuta -p /sbin/ldconfig
212 %postun -n libanjuta -p /sbin/ldconfig
214 %files -f %{name}.lang
215 %defattr(644,root,root,755)
216 %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
217 %attr(755,root,root) %{_bindir}/anjuta
218 %attr(755,root,root) %{_bindir}/anjuta-launcher
219 %attr(755,root,root) %{_bindir}/anjuta-tags
220 %attr(755,root,root) %{_bindir}/gbf-am-parse
221 %attr(755,root,root) %{_bindir}/gbf-mkfile-parse
222 %dir %{_libdir}/%{name}
223 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
224 %{_libdir}/%{name}/*.plugin
225 %attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so
226 %{_pixmapsdir}/%{name}
227 %dir %{_datadir}/%{name}
228 %{_datadir}/%{name}/GBF
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
235 %dir %{_datadir}/%{name}/tools
236 %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl
237 %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl
238 %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl
239 %{_datadir}/%{name}/tools/tools-2.xml
240 %{_datadir}/%{name}/ui
241 %{_datadir}/%{name}/anjuta_project.template
242 %{_datadir}/%{name}/gdb.init
243 %{_datadir}/%{name}/languages.xml
244 %{_datadir}/%{name}/layout.xml
245 %{_datadir}/%{name}/macros.xml
246 %{_datadir}/%{name}/tables-from-1-to-228.sql
247 %{_datadir}/%{name}/tables.sql
248 %{_datadir}/%{name}/welcome.txt
249 %{_datadir}/%{name}/AUTHORS
250 %{_datadir}/mime/packages/anjuta.xml
251 %{_datadir}/glade3/catalogs/anjuta-glade.xml
252 %{_desktopdir}/%{name}.desktop
253 %{_mandir}/man1/anjuta.1*
254 %{_mandir}/man1/anjuta-launcher.1*
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
258 %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
259 %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
260 %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
261 %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
262 %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
263 %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
264 %{_sysconfdir}/gconf/schemas/file-manager.schemas
265 %{_sysconfdir}/gconf/schemas/preferences.schemas
266 %{_iconsdir}/hicolor/*/*/*.*
269 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
271 %attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
273 %files -n libanjuta-devel
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_libdir}/libanjuta.so
276 %{_libdir}/libanjuta.la
277 %{_includedir}/libanjuta-1.0
278 %{_pkgconfigdir}/libanjuta-1.0.pc
280 %files -n libanjuta-apidocs
281 %defattr(644,root,root,755)
282 %{_gtkdocdir}/libanjuta