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