]> git.pld-linux.org Git - packages/anjuta.git/blame - anjuta.spec
- release 6
[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
66c94723 6Version: 2.26.2.2
bdece489 7Release: 6
6351dbdd 8Epoch: 1
22f02f8b 9License: GPL v2+
1ea1a540 10Group: X11/Development/Tools
1d98f469 11Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.26/%{name}-%{version}.tar.bz2
66c94723 12# Source0-md5: 8b05a4ee536b8057e38434efeaf468ff
1d98f469
PZ
13Patch0: %{name}-desktop.patch
14Patch1: %{name}-includes.patch
66bf05ae 15Patch2: %{name}-install.patch
3e9740ba 16URL: http://anjuta.sourceforge.net/
1d98f469 17BuildRequires: GConf2-devel >= 2.26.0
1ea1a540 18BuildRequires: ORBit2-devel >= 1:2.14.0
6c95e892 19BuildRequires: autoconf >= 2.59
fb73b544 20BuildRequires: autogen
f9d39eb6
JB
21BuildRequires: automake >= 1:1.9
22BuildRequires: binutils-devel >= 3:2.15.92
6ed36945 23BuildRequires: devhelp-devel >= 0.22
787ca57a 24BuildRequires: docbook-dtd412-xml
1d98f469 25BuildRequires: gdl-devel >= 2.26.0
d5a8bfaa 26BuildRequires: gettext-devel
1d98f469 27BuildRequires: glib2-devel >= 1:2.20.0
1ea1a540 28BuildRequires: gnome-common >= 2.24.0
6c7e5691 29BuildRequires: gnome-doc-utils
6c95e892 30BuildRequires: graphviz-devel >= 2.6.0
1d98f469 31BuildRequires: gtk+2-devel >= 2:2.16.0
6c95e892 32BuildRequires: gtk-doc >= 1.7
1d98f469 33BuildRequires: gtk-webkit-devel
a6240bcc 34BuildRequires: gtksourceview2-devel >= 2.6.0
1ea1a540 35BuildRequires: intltool >= 0.40.0
a6240bcc 36BuildRequires: libgda4-devel >= 4.0.0
6c7e5691 37BuildRequires: libglade2-devel >= 1:2.6.2
a6240bcc 38BuildRequires: libgladeui-devel >= 3.6.0
1ea1a540 39BuildRequires: libgnomeui-devel >= 2.24.0
d5a8bfaa 40BuildRequires: libstdc++-devel
9a94b53e 41BuildRequires: libtool
6c7e5691 42BuildRequires: libxml2-devel >= 1:2.6.26
f9d39eb6 43BuildRequires: libxslt-devel
1d98f469
PZ
44BuildRequires: neon-devel >= 0.28.2
45BuildRequires: perl-Locale-gettext
9a94b53e 46BuildRequires: pkgconfig
6c7e5691 47BuildRequires: rpmbuild(find_lang) >= 1.23
6c95e892 48BuildRequires: rpmbuild(macros) >= 1.311
49a52d78 49BuildRequires: scrollkeeper
1d98f469 50BuildRequires: subversion-devel >= 1.5.0
0e429e16 51BuildRequires: libunique-devel >= 1.0.0
a6240bcc 52BuildRequires: vte-devel >= 0.20.0
6c7e5691 53Requires(post,postun): desktop-file-utils
6c95e892
MB
54Requires(post,postun): gtk+2
55Requires(post,postun): hicolor-icon-theme
826ff08d 56Requires(post,postun): scrollkeeper
6c95e892 57Requires(post,postun): shared-mime-info
6c7e5691 58Requires(post,preun): GConf2
b44496f4 59# Requires: gnome-terminal
a6240bcc 60Requires: glib2 >= 1:2.20.0
2abf41af 61Requires: libanjuta = %{epoch}:%{version}-%{release}
a6240bcc 62Requires: libgda4-provider-sqlite >= 4.0.0
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
fb73b544 119Requires: libanjuta-devel = %{epoch}:%{version}-%{release}
6c7e5691 120Requires: libglade2-devel >= 1:2.6.2
1ea1a540 121Requires: libgnomeui-devel >= 2.24.0
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
PZ
143%patch0 -p1
144%patch1 -p0
66bf05ae 145%patch2 -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
AM
155 --with-html-dir=%{_gtkdocdir} \
156 --with-apr-config=%{_bindir}/apr-1-config \
157 --with-apu-config=%{_bindir}/apu-1-config \
158 --with-neon-config=%{_bindir}/neon-config \
6c95e892 159 --with-omf-dir=%{_omf_dest_dir} \
a6240bcc 160 --disable-schemas-install \
6c95e892 161 --disable-scrollkeeper \
6c7e5691 162 --disable-static
dd98ddbb 163
3e9740ba 164%{__make}
165
166%install
167rm -rf $RPM_BUILD_ROOT
4f0edb38 168
6c7e5691 169%{__make} -j1 install \
db55d436 170 DESTDIR=$RPM_BUILD_ROOT \
6c95e892
MB
171 mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
172 mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
173
fe13c0a6 174# *.la not needed - *.so loaded through libgmodule
1d98f469 175rm -f $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la
fe13c0a6 176
6c95e892 177rm -rf $RPM_BUILD_ROOT%{_docdir}/anjuta
46563756 178
6c7e5691 179%find_lang %{name} --with-gnome --with-omf --all-name
56ff22cb 180
3e9740ba 181%clean
182rm -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
191%gconf_schema_install anjuta-editor-scintilla.schemas
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
195%gconf_schema_install anjuta.schemas
196%gconf_schema_install anjuta-symbol-db.schemas
197%gconf_schema_install anjuta-terminal-plugin.schemas
6c95e892
MB
198%gconf_schema_install anjuta-valgrind.schemas
199%update_icon_cache hicolor
200
201%preun
a6240bcc
MB
202%gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas
203%gconf_schema_uninstall anjuta-cvs-plugin.schemas
204%gconf_schema_uninstall anjuta-document-manager.schemas
205%gconf_schema_uninstall anjuta-editor-scintilla.schemas
206%gconf_schema_uninstall anjuta-editor-sourceview.schemas
207%gconf_schema_uninstall anjuta-language-cpp-java.schemas
208%gconf_schema_uninstall anjuta-message-manager-plugin.schemas
209%gconf_schema_uninstall anjuta.schemas
210%gconf_schema_uninstall anjuta-symbol-db.schemas
211%gconf_schema_uninstall anjuta-terminal-plugin.schemas
6c95e892 212%gconf_schema_uninstall anjuta-valgrind.schemas
826ff08d 213
214%postun
46563756 215%scrollkeeper_update_postun
6c95e892 216%update_mime_database
6c7e5691 217%update_desktop_database_postun
6c95e892 218%update_icon_cache hicolor
49a52d78 219
2abf41af 220%post -n libanjuta -p /sbin/ldconfig
fb73b544
AM
221%postun -n libanjuta -p /sbin/ldconfig
222
56ff22cb 223%files -f %{name}.lang
4f0edb38 224%defattr(644,root,root,755)
6c95e892 225%doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
6c7e5691 226%attr(755,root,root) %{_bindir}/anjuta
6c7e5691 227%attr(755,root,root) %{_bindir}/anjuta_launcher
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
1d98f469 243%{_datadir}/%{name}/properties
6c95e892
MB
244%dir %{_datadir}/%{name}/tools
245%attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl
246%attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl
247%attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl
248%{_datadir}/%{name}/tools/tools-2.xml
249%{_datadir}/%{name}/ui
250%{_datadir}/%{name}/anjuta_project.template
251%{_datadir}/%{name}/gdb.init
70083be9 252%{_datadir}/%{name}/languages.xml
6c95e892
MB
253%{_datadir}/%{name}/layout.xml
254%{_datadir}/%{name}/macros.xml
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*
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
266%{_sysconfdir}/gconf/schemas/anjuta-editor-scintilla.schemas
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
6c7e5691 272%{_sysconfdir}/gconf/schemas/anjuta-valgrind.schemas
a6240bcc 273%{_sysconfdir}/gconf/schemas/anjuta.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.098068 seconds and 4 git commands to generate.