]> git.pld-linux.org Git - packages/anjuta.git/blame - anjuta.spec
- real fix for building with vala 0.12 + install fix
[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
cf60158a 6Version: 2.32.1.1
de3725a6 7Release: 8
6351dbdd 8Epoch: 1
22f02f8b 9License: GPL v2+
1ea1a540 10Group: X11/Development/Tools
06a5dacc 11Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.32/%{name}-%{version}.tar.bz2
cf60158a 12# Source0-md5: 7af70f6486eda92796268fc4bf659c27
57332b9c 13Patch0: %{name}-vala-0.12.patch
de3725a6 14Patch1: %{name}-install.patch
87b575d5 15URL: http://projects.gnome.org/anjuta/
1d98f469 16BuildRequires: GConf2-devel >= 2.26.0
6c95e892 17BuildRequires: autoconf >= 2.59
fb73b544 18BuildRequires: autogen
f9d39eb6 19BuildRequires: automake >= 1:1.9
6ed36945 20BuildRequires: devhelp-devel >= 0.22
787ca57a 21BuildRequires: docbook-dtd412-xml
87b575d5 22BuildRequires: gdl-devel >= 2.28.0
d5a8bfaa 23BuildRequires: gettext-devel
03bd821a 24BuildRequires: gjs-devel
06a5dacc 25BuildRequires: glib2-devel >= 1:2.26.0
5e89f22b 26BuildRequires: glibc-misc
1ea1a540 27BuildRequires: gnome-common >= 2.24.0
6c7e5691 28BuildRequires: gnome-doc-utils
06a5dacc
MB
29BuildRequires: gobject-introspection-devel >= 0.6.7
30BuildRequires: graphviz-devel
31BuildRequires: gtk+2-devel >= 2:2.20.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
06a5dacc
MB
36BuildRequires: libgda4-devel >= 4.2.0
37BuildRequires: libgladeui-devel >= 3.6.7
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
57332b9c 50BuildRequires: vala >= 0.12.0
a6240bcc 51BuildRequires: vte-devel >= 0.20.0
6c7e5691 52Requires(post,postun): desktop-file-utils
23bedae6 53Requires(post,postun): gtk-update-icon-cache
6c95e892 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
06a5dacc 59Requires: glib2 >= 1:2.26.0
03bd821a 60Requires: gtksourceview2 >= 2.10.0
2abf41af 61Requires: libanjuta = %{epoch}:%{version}-%{release}
06a5dacc 62Requires: libgda4-provider-sqlite >= 4.2.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
06a5dacc 121Requires: gtk+2-devel >= 2:2.20.0
4e89e8c4 122Requires: libanjuta = %{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
de3725a6 144%patch0 -p1
145%patch1 -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 155 --with-html-dir=%{_gtkdocdir} \
6c95e892 156 --with-omf-dir=%{_omf_dest_dir} \
a6240bcc 157 --disable-schemas-install \
6c95e892 158 --disable-scrollkeeper \
03bd821a 159 --disable-silent-rules \
6c7e5691 160 --disable-static
dd98ddbb 161
06a5dacc 162%{__make} -j1
3e9740ba 163
164%install
165rm -rf $RPM_BUILD_ROOT
4f0edb38 166
6c7e5691 167%{__make} -j1 install \
db55d436 168 DESTDIR=$RPM_BUILD_ROOT \
6c95e892
MB
169 mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
170 mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
171
fe13c0a6 172# *.la not needed - *.so loaded through libgmodule
b5c49e5c 173%{__rm} $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la
fe13c0a6 174
3e3c4a2e 175%{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la
176
b5c49e5c 177%{__rm} -r $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
87b575d5 191%gconf_schema_install anjuta-debug-manager.schemas
a6240bcc
MB
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
87b575d5 195%gconf_schema_install preferences.schemas
a6240bcc
MB
196%gconf_schema_install anjuta-symbol-db.schemas
197%gconf_schema_install anjuta-terminal-plugin.schemas
87b575d5 198%gconf_schema_install file-manager.schemas
06a5dacc 199%gconf_schema_install python-plugin-properties.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
06a5dacc 214%gconf_schema_uninstall python-plugin-properties.schemas
826ff08d 215
216%postun
46563756 217%scrollkeeper_update_postun
6c95e892 218%update_mime_database
6c7e5691 219%update_desktop_database_postun
6c95e892 220%update_icon_cache hicolor
49a52d78 221
2abf41af 222%post -n libanjuta -p /sbin/ldconfig
fb73b544
AM
223%postun -n libanjuta -p /sbin/ldconfig
224
56ff22cb 225%files -f %{name}.lang
4f0edb38 226%defattr(644,root,root,755)
6c95e892 227%doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
6c7e5691 228%attr(755,root,root) %{_bindir}/anjuta
87b575d5
MB
229%attr(755,root,root) %{_bindir}/anjuta-launcher
230%attr(755,root,root) %{_bindir}/anjuta-tags
1d98f469
PZ
231%attr(755,root,root) %{_bindir}/gbf-am-parse
232%attr(755,root,root) %{_bindir}/gbf-mkfile-parse
71736a36 233%dir %{_libdir}/%{name}
234%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
06a5dacc 235%attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py
fb73b544 236%{_libdir}/%{name}/*.plugin
1d98f469 237%attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so
71736a36 238%{_pixmapsdir}/%{name}
6c95e892 239%dir %{_datadir}/%{name}
1d98f469 240%{_datadir}/%{name}/GBF
6c95e892
MB
241%{_datadir}/%{name}/build
242%{_datadir}/%{name}/class-templates
243%{_datadir}/%{name}/glade
244%{_datadir}/%{name}/gtodo
245%{_datadir}/%{name}/profiles
246%{_datadir}/%{name}/project
6c95e892
MB
247%dir %{_datadir}/%{name}/tools
248%attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl
249%attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl
250%attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl
251%{_datadir}/%{name}/tools/tools-2.xml
252%{_datadir}/%{name}/ui
253%{_datadir}/%{name}/anjuta_project.template
254%{_datadir}/%{name}/gdb.init
70083be9 255%{_datadir}/%{name}/languages.xml
6c95e892 256%{_datadir}/%{name}/layout.xml
06a5dacc
MB
257%{_datadir}/%{name}/snippets-global-variables.xml
258%{_datadir}/%{name}/snippets.anjuta-snippets
03bd821a 259%{_datadir}/%{name}/sources.list
1d98f469 260%{_datadir}/%{name}/tables.sql
6c95e892 261%{_datadir}/%{name}/welcome.txt
6c7e5691
MB
262%{_datadir}/%{name}/AUTHORS
263%{_datadir}/mime/packages/anjuta.xml
70083be9 264%{_datadir}/glade3/catalogs/anjuta-glade.xml
6c95e892
MB
265%{_desktopdir}/%{name}.desktop
266%{_mandir}/man1/anjuta.1*
87b575d5 267%{_mandir}/man1/anjuta-launcher.1*
a6240bcc
MB
268%{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
269%{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
270%{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
87b575d5 271%{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
a6240bcc
MB
272%{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
273%{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
274%{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
275%{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
276%{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
87b575d5
MB
277%{_sysconfdir}/gconf/schemas/file-manager.schemas
278%{_sysconfdir}/gconf/schemas/preferences.schemas
06a5dacc 279%{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
6c95e892 280%{_iconsdir}/hicolor/*/*/*.*
fb73b544
AM
281
282%files -n libanjuta
283%defattr(644,root,root,755)
6c7e5691
MB
284%attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
285%attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
06a5dacc
MB
286%attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so.*.*.*
287%attr(755,root,root) %ghost %{_libdir}/libanjuta-foocanvas.so.0
288%{_libdir}/girepository-1.0/Anjuta-1.0.typelib
289%{_libdir}/girepository-1.0/IAnjuta-1.0.typelib
fb73b544
AM
290
291%files -n libanjuta-devel
292%defattr(644,root,root,755)
6c7e5691 293%attr(755,root,root) %{_libdir}/libanjuta.so
06a5dacc 294%attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so
06a5dacc 295%{_libdir}/libanjuta-foocanvas.la
6c7e5691
MB
296%{_includedir}/libanjuta-1.0
297%{_pkgconfigdir}/libanjuta-1.0.pc
06a5dacc
MB
298%{_datadir}/gir-1.0/Anjuta-1.0.gir
299%{_datadir}/gir-1.0/IAnjuta-1.0.gir
6c95e892
MB
300
301%files -n libanjuta-apidocs
302%defattr(644,root,root,755)
fb73b544 303%{_gtkdocdir}/libanjuta
This page took 0.108692 seconds and 4 git commands to generate.