]> git.pld-linux.org Git - packages/anjuta.git/blame_incremental - anjuta.spec
- real fix for building with vala 0.12 + install fix
[packages/anjuta.git] / anjuta.spec
... / ...
CommitLineData
1Summary: GNOME integrated development environment
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++
5Name: anjuta
6Version: 2.32.1.1
7Release: 8
8Epoch: 1
9License: GPL v2+
10Group: X11/Development/Tools
11Source0: http://ftp.gnome.org/pub/GNOME/sources/anjuta/2.32/%{name}-%{version}.tar.bz2
12# Source0-md5: 7af70f6486eda92796268fc4bf659c27
13Patch0: %{name}-vala-0.12.patch
14Patch1: %{name}-install.patch
15URL: http://projects.gnome.org/anjuta/
16BuildRequires: GConf2-devel >= 2.26.0
17BuildRequires: autoconf >= 2.59
18BuildRequires: autogen
19BuildRequires: automake >= 1:1.9
20BuildRequires: devhelp-devel >= 0.22
21BuildRequires: docbook-dtd412-xml
22BuildRequires: gdl-devel >= 2.28.0
23BuildRequires: gettext-devel
24BuildRequires: gjs-devel
25BuildRequires: glib2-devel >= 1:2.26.0
26BuildRequires: glibc-misc
27BuildRequires: gnome-common >= 2.24.0
28BuildRequires: gnome-doc-utils
29BuildRequires: gobject-introspection-devel >= 0.6.7
30BuildRequires: graphviz-devel
31BuildRequires: gtk+2-devel >= 2:2.20.0
32BuildRequires: gtk-doc >= 1.7
33BuildRequires: gtk-webkit-devel
34BuildRequires: gtksourceview2-devel >= 2.10.0
35BuildRequires: intltool >= 0.40.0
36BuildRequires: libgda4-devel >= 4.2.0
37BuildRequires: libgladeui-devel >= 3.6.7
38BuildRequires: libstdc++-devel
39BuildRequires: libtool
40BuildRequires: libunique-devel >= 1.0.0
41BuildRequires: libxml2-devel >= 1:2.6.26
42BuildRequires: libxslt-devel
43BuildRequires: neon-devel >= 0.28.2
44BuildRequires: perl-Locale-gettext
45BuildRequires: pkgconfig
46BuildRequires: rpmbuild(find_lang) >= 1.23
47BuildRequires: rpmbuild(macros) >= 1.311
48BuildRequires: scrollkeeper
49BuildRequires: subversion-devel >= 1.5.0
50BuildRequires: vala >= 0.12.0
51BuildRequires: vte-devel >= 0.20.0
52Requires(post,postun): desktop-file-utils
53Requires(post,postun): gtk-update-icon-cache
54Requires(post,postun): hicolor-icon-theme
55Requires(post,postun): scrollkeeper
56Requires(post,postun): shared-mime-info
57Requires(post,preun): GConf2
58# Requires: gnome-terminal
59Requires: glib2 >= 1:2.26.0
60Requires: gtksourceview2 >= 2.10.0
61Requires: libanjuta = %{epoch}:%{version}-%{release}
62Requires: libgda4-provider-sqlite >= 4.2.0
63Requires: perl-Locale-gettext
64Requires: pkgconfig
65Suggests: ctags
66Obsoletes: gnome-build
67Obsoletes: gnome-build-devel
68# sr@Latn vs. sr@latin
69Conflicts: glibc-misc < 6:2.7
70BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71
72%description
73Anjuta is a very versatile integrated development environment for C
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
77interactive debugger, and a powerful source editor with source
78browsing.
79
80%description -l es.UTF-8
81Anjuta es un entorno integrado de desarrollo para C y C++ para
82GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas
83herramientas de programación avanzadas. Entre otros, habilita
84manejamiento de proyectos, wizards de aplicaciones, depurador
85interactivo y un editador potente de código fuente que permite
86hojearlo.
87
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ł.
94
95%description -l pt_BR.UTF-8
96O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil
97para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma
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.
103
104%package -n libanjuta
105Summary: libanjuta library
106Summary(pl.UTF-8): Biblioteka libanjuta
107Group: X11/Libraries
108Conflicts: %{name} < 1:2.0.2-1
109
110%description -n libanjuta
111libanjuta library.
112
113%description -n libanjuta -l pl.UTF-8
114Biblioteka libanjuta.
115
116%package -n libanjuta-devel
117Summary: Header files for libanjuta library
118Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libanjuta
119Group: X11/Development/Libraries
120Requires: GConf2-devel >= 2.26.0
121Requires: gtk+2-devel >= 2:2.20.0
122Requires: libanjuta = %{epoch}:%{version}-%{release}
123
124%description -n libanjuta-devel
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.
141
142%prep
143%setup -q
144%patch0 -p1
145%patch1 -p1
146
147%build
148%{__intltoolize}
149%{__libtoolize}
150%{__aclocal}
151%{__autoconf}
152%{__autoheader}
153%{__automake}
154%configure \
155 --with-html-dir=%{_gtkdocdir} \
156 --with-omf-dir=%{_omf_dest_dir} \
157 --disable-schemas-install \
158 --disable-scrollkeeper \
159 --disable-silent-rules \
160 --disable-static
161
162%{__make} -j1
163
164%install
165rm -rf $RPM_BUILD_ROOT
166
167%{__make} -j1 install \
168 DESTDIR=$RPM_BUILD_ROOT \
169 mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
170 mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
171
172# *.la not needed - *.so loaded through libgmodule
173%{__rm} $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3/modules}/lib*.la
174
175%{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la
176
177%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/anjuta
178
179%find_lang %{name} --with-gnome --with-omf --all-name
180
181%clean
182rm -rf $RPM_BUILD_ROOT
183
184%post
185%scrollkeeper_update_post
186%update_mime_database
187%update_desktop_database
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-debug-manager.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 preferences.schemas
196%gconf_schema_install anjuta-symbol-db.schemas
197%gconf_schema_install anjuta-terminal-plugin.schemas
198%gconf_schema_install file-manager.schemas
199%gconf_schema_install python-plugin-properties.schemas
200%update_icon_cache hicolor
201
202%preun
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
206%gconf_schema_uninstall anjuta-debug-manager.schemas
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
210%gconf_schema_uninstall preferences.schemas
211%gconf_schema_uninstall anjuta-symbol-db.schemas
212%gconf_schema_uninstall anjuta-terminal-plugin.schemas
213%gconf_schema_uninstall file-manager.schemas
214%gconf_schema_uninstall python-plugin-properties.schemas
215
216%postun
217%scrollkeeper_update_postun
218%update_mime_database
219%update_desktop_database_postun
220%update_icon_cache hicolor
221
222%post -n libanjuta -p /sbin/ldconfig
223%postun -n libanjuta -p /sbin/ldconfig
224
225%files -f %{name}.lang
226%defattr(644,root,root,755)
227%doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
228%attr(755,root,root) %{_bindir}/anjuta
229%attr(755,root,root) %{_bindir}/anjuta-launcher
230%attr(755,root,root) %{_bindir}/anjuta-tags
231%attr(755,root,root) %{_bindir}/gbf-am-parse
232%attr(755,root,root) %{_bindir}/gbf-mkfile-parse
233%dir %{_libdir}/%{name}
234%attr(755,root,root) %{_libdir}/%{name}/lib*.so*
235%attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py
236%{_libdir}/%{name}/*.plugin
237%attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so
238%{_pixmapsdir}/%{name}
239%dir %{_datadir}/%{name}
240%{_datadir}/%{name}/GBF
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
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
255%{_datadir}/%{name}/languages.xml
256%{_datadir}/%{name}/layout.xml
257%{_datadir}/%{name}/snippets-global-variables.xml
258%{_datadir}/%{name}/snippets.anjuta-snippets
259%{_datadir}/%{name}/sources.list
260%{_datadir}/%{name}/tables.sql
261%{_datadir}/%{name}/welcome.txt
262%{_datadir}/%{name}/AUTHORS
263%{_datadir}/mime/packages/anjuta.xml
264%{_datadir}/glade3/catalogs/anjuta-glade.xml
265%{_desktopdir}/%{name}.desktop
266%{_mandir}/man1/anjuta.1*
267%{_mandir}/man1/anjuta-launcher.1*
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
271%{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
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
277%{_sysconfdir}/gconf/schemas/file-manager.schemas
278%{_sysconfdir}/gconf/schemas/preferences.schemas
279%{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
280%{_iconsdir}/hicolor/*/*/*.*
281
282%files -n libanjuta
283%defattr(644,root,root,755)
284%attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
285%attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
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
290
291%files -n libanjuta-devel
292%defattr(644,root,root,755)
293%attr(755,root,root) %{_libdir}/libanjuta.so
294%attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so
295%{_libdir}/libanjuta-foocanvas.la
296%{_includedir}/libanjuta-1.0
297%{_pkgconfigdir}/libanjuta-1.0.pc
298%{_datadir}/gir-1.0/Anjuta-1.0.gir
299%{_datadir}/gir-1.0/IAnjuta-1.0.gir
300
301%files -n libanjuta-apidocs
302%defattr(644,root,root,755)
303%{_gtkdocdir}/libanjuta
This page took 0.029595 seconds and 4 git commands to generate.