]> git.pld-linux.org Git - packages/anjuta.git/blame - anjuta.spec
- 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
57332b9c 7Release: 7
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
87b575d5 14URL: http://projects.gnome.org/anjuta/
1d98f469 15BuildRequires: GConf2-devel >= 2.26.0
6c95e892 16BuildRequires: autoconf >= 2.59
fb73b544 17BuildRequires: autogen
f9d39eb6 18BuildRequires: automake >= 1:1.9
6ed36945 19BuildRequires: devhelp-devel >= 0.22
787ca57a 20BuildRequires: docbook-dtd412-xml
87b575d5 21BuildRequires: gdl-devel >= 2.28.0
d5a8bfaa 22BuildRequires: gettext-devel
03bd821a 23BuildRequires: gjs-devel
06a5dacc 24BuildRequires: glib2-devel >= 1:2.26.0
5e89f22b 25BuildRequires: glibc-misc
1ea1a540 26BuildRequires: gnome-common >= 2.24.0
6c7e5691 27BuildRequires: gnome-doc-utils
06a5dacc
MB
28BuildRequires: gobject-introspection-devel >= 0.6.7
29BuildRequires: graphviz-devel
30BuildRequires: gtk+2-devel >= 2:2.20.0
6c95e892 31BuildRequires: gtk-doc >= 1.7
1d98f469 32BuildRequires: gtk-webkit-devel
03bd821a 33BuildRequires: gtksourceview2-devel >= 2.10.0
1ea1a540 34BuildRequires: intltool >= 0.40.0
06a5dacc
MB
35BuildRequires: libgda4-devel >= 4.2.0
36BuildRequires: libgladeui-devel >= 3.6.7
d5a8bfaa 37BuildRequires: libstdc++-devel
9a94b53e 38BuildRequires: libtool
03bd821a 39BuildRequires: libunique-devel >= 1.0.0
6c7e5691 40BuildRequires: libxml2-devel >= 1:2.6.26
f9d39eb6 41BuildRequires: libxslt-devel
1d98f469
PZ
42BuildRequires: neon-devel >= 0.28.2
43BuildRequires: perl-Locale-gettext
9a94b53e 44BuildRequires: pkgconfig
6c7e5691 45BuildRequires: rpmbuild(find_lang) >= 1.23
6c95e892 46BuildRequires: rpmbuild(macros) >= 1.311
49a52d78 47BuildRequires: scrollkeeper
1d98f469 48BuildRequires: subversion-devel >= 1.5.0
57332b9c 49BuildRequires: vala >= 0.12.0
a6240bcc 50BuildRequires: vte-devel >= 0.20.0
6c7e5691 51Requires(post,postun): desktop-file-utils
23bedae6 52Requires(post,postun): gtk-update-icon-cache
6c95e892 53Requires(post,postun): hicolor-icon-theme
826ff08d 54Requires(post,postun): scrollkeeper
6c95e892 55Requires(post,postun): shared-mime-info
6c7e5691 56Requires(post,preun): GConf2
b44496f4 57# Requires: gnome-terminal
06a5dacc 58Requires: glib2 >= 1:2.26.0
03bd821a 59Requires: gtksourceview2 >= 2.10.0
2abf41af 60Requires: libanjuta = %{epoch}:%{version}-%{release}
06a5dacc 61Requires: libgda4-provider-sqlite >= 4.2.0
ffe7a78f 62Requires: perl-Locale-gettext
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
87b575d5 119Requires: GConf2-devel >= 2.26.0
06a5dacc 120Requires: gtk+2-devel >= 2:2.20.0
4e89e8c4 121Requires: libanjuta = %{epoch}:%{version}-%{release}
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
57332b9c 143%patch0 -p1
6c7e5691 144
3e9740ba 145%build
dd98ddbb 146%{__intltoolize}
147%{__libtoolize}
148%{__aclocal}
dd98ddbb 149%{__autoconf}
6c7e5691 150%{__autoheader}
dd98ddbb 151%{__automake}
db55d436 152%configure \
fb73b544 153 --with-html-dir=%{_gtkdocdir} \
6c95e892 154 --with-omf-dir=%{_omf_dest_dir} \
a6240bcc 155 --disable-schemas-install \
6c95e892 156 --disable-scrollkeeper \
03bd821a 157 --disable-silent-rules \
6c7e5691 158 --disable-static
dd98ddbb 159
06a5dacc 160%{__make} -j1
3e9740ba 161
162%install
163rm -rf $RPM_BUILD_ROOT
4f0edb38 164
6c7e5691 165%{__make} -j1 install \
db55d436 166 DESTDIR=$RPM_BUILD_ROOT \
6c95e892
MB
167 mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
168 mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
169
fe13c0a6 170# *.la not needed - *.so loaded through libgmodule
b5c49e5c 171%{__rm} $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la
fe13c0a6 172
3e3c4a2e 173%{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la
174
b5c49e5c 175%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/anjuta
46563756 176
6c7e5691 177%find_lang %{name} --with-gnome --with-omf --all-name
56ff22cb 178
3e9740ba 179%clean
180rm -rf $RPM_BUILD_ROOT
cf675a4c 181
826ff08d 182%post
46563756 183%scrollkeeper_update_post
6c95e892 184%update_mime_database
6c7e5691 185%update_desktop_database
a6240bcc
MB
186%gconf_schema_install anjuta-build-basic-autotools-plugin.schemas
187%gconf_schema_install anjuta-cvs-plugin.schemas
188%gconf_schema_install anjuta-document-manager.schemas
87b575d5 189%gconf_schema_install anjuta-debug-manager.schemas
a6240bcc
MB
190%gconf_schema_install anjuta-editor-sourceview.schemas
191%gconf_schema_install anjuta-language-cpp-java.schemas
192%gconf_schema_install anjuta-message-manager-plugin.schemas
87b575d5 193%gconf_schema_install preferences.schemas
a6240bcc
MB
194%gconf_schema_install anjuta-symbol-db.schemas
195%gconf_schema_install anjuta-terminal-plugin.schemas
87b575d5 196%gconf_schema_install file-manager.schemas
06a5dacc 197%gconf_schema_install python-plugin-properties.schemas
6c95e892
MB
198%update_icon_cache hicolor
199
200%preun
a6240bcc
MB
201%gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas
202%gconf_schema_uninstall anjuta-cvs-plugin.schemas
203%gconf_schema_uninstall anjuta-document-manager.schemas
87b575d5 204%gconf_schema_uninstall anjuta-debug-manager.schemas
a6240bcc
MB
205%gconf_schema_uninstall anjuta-editor-sourceview.schemas
206%gconf_schema_uninstall anjuta-language-cpp-java.schemas
207%gconf_schema_uninstall anjuta-message-manager-plugin.schemas
87b575d5 208%gconf_schema_uninstall preferences.schemas
a6240bcc
MB
209%gconf_schema_uninstall anjuta-symbol-db.schemas
210%gconf_schema_uninstall anjuta-terminal-plugin.schemas
87b575d5 211%gconf_schema_uninstall file-manager.schemas
06a5dacc 212%gconf_schema_uninstall python-plugin-properties.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
87b575d5
MB
227%attr(755,root,root) %{_bindir}/anjuta-launcher
228%attr(755,root,root) %{_bindir}/anjuta-tags
1d98f469
PZ
229%attr(755,root,root) %{_bindir}/gbf-am-parse
230%attr(755,root,root) %{_bindir}/gbf-mkfile-parse
71736a36 231%dir %{_libdir}/%{name}
232%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
06a5dacc 233%attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py
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 254%{_datadir}/%{name}/layout.xml
06a5dacc
MB
255%{_datadir}/%{name}/snippets-global-variables.xml
256%{_datadir}/%{name}/snippets.anjuta-snippets
03bd821a 257%{_datadir}/%{name}/sources.list
1d98f469 258%{_datadir}/%{name}/tables.sql
6c95e892 259%{_datadir}/%{name}/welcome.txt
6c7e5691
MB
260%{_datadir}/%{name}/AUTHORS
261%{_datadir}/mime/packages/anjuta.xml
70083be9 262%{_datadir}/glade3/catalogs/anjuta-glade.xml
6c95e892
MB
263%{_desktopdir}/%{name}.desktop
264%{_mandir}/man1/anjuta.1*
87b575d5 265%{_mandir}/man1/anjuta-launcher.1*
a6240bcc
MB
266%{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
267%{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
268%{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
87b575d5 269%{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
a6240bcc
MB
270%{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
271%{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
272%{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
273%{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
274%{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
87b575d5
MB
275%{_sysconfdir}/gconf/schemas/file-manager.schemas
276%{_sysconfdir}/gconf/schemas/preferences.schemas
06a5dacc 277%{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
6c95e892 278%{_iconsdir}/hicolor/*/*/*.*
fb73b544
AM
279
280%files -n libanjuta
281%defattr(644,root,root,755)
6c7e5691
MB
282%attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
283%attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
06a5dacc
MB
284%attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so.*.*.*
285%attr(755,root,root) %ghost %{_libdir}/libanjuta-foocanvas.so.0
286%{_libdir}/girepository-1.0/Anjuta-1.0.typelib
287%{_libdir}/girepository-1.0/IAnjuta-1.0.typelib
fb73b544
AM
288
289%files -n libanjuta-devel
290%defattr(644,root,root,755)
6c7e5691 291%attr(755,root,root) %{_libdir}/libanjuta.so
06a5dacc 292%attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so
06a5dacc 293%{_libdir}/libanjuta-foocanvas.la
6c7e5691
MB
294%{_includedir}/libanjuta-1.0
295%{_pkgconfigdir}/libanjuta-1.0.pc
06a5dacc
MB
296%{_datadir}/gir-1.0/Anjuta-1.0.gir
297%{_datadir}/gir-1.0/IAnjuta-1.0.gir
6c95e892
MB
298
299%files -n libanjuta-apidocs
300%defattr(644,root,root,755)
fb73b544 301%{_gtkdocdir}/libanjuta
This page took 0.16362 seconds and 4 git commands to generate.