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