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