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