Accepting request 68551 from home:vuntz:branches:GNOME:Factory

ok

OBS-URL: https://build.opensuse.org/request/show/68551
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=81
This commit is contained in:
Vincent Untz
2011-04-27 12:16:26 +00:00
committed by Git OBS Bridge
parent cf4511010b
commit 74a25b91f5
2 changed files with 83 additions and 181 deletions

View File

@@ -15,7 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define build_glade_catalog 0
Name: anjuta
Version: 3.0.0.0
@@ -28,22 +28,15 @@ Source: anjuta-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
BuildRequires: autogen
BuildRequires: binutils-devel
BuildRequires: devhelp-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gdl-devel
BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel
BuildRequires: gnome-icon-theme
BuildRequires: graphviz-devel
BuildRequires: gtksourceview-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libapr-util1-devel
BuildRequires: libapr1-devel
BuildRequires: libgda-4_0-devel
BuildRequires: libgladeui-1_0-devel
BuildRequires: libneon-devel
BuildRequires: libwnck-devel
BuildRequires: libxslt-devel
BuildRequires: perl-gettext
BuildRequires: shared-mime-info
@@ -54,8 +47,22 @@ BuildRequires: update-desktop-files
%ifnarch ia64 s390 s390x
BuildRequires: valgrind-devel
%endif
BuildRequires: pkgconfig(vte-2.90)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gdl-3.0)
%if %{build_glade_catalog}
BuildRequires: pkgconfig(gladeui-2.0)
%endif
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtksourceview-3.0)
BuildRequires: pkgconfig(libdevhelp-3.0)
BuildRequires: pkgconfig(libgda-4.0)
BuildRequires: pkgconfig(libgraph)
BuildRequires: pkgconfig(libgvc)
BuildRequires: pkgconfig(libvala-0.12)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(vte-2.90)
# Directly required by anjuta:
Requires: autoconf
Requires: autogen
@@ -77,7 +84,7 @@ an integrated Valgrind memory profiler, an integrated gprof performance
profiler, a class generator, a powerful source editor, source browsing,
and more.
%if 0
%if %{build_glade_catalog}
%package -n glade3-catalog-anjuta
License: GPLv2+
Summary: Versatile Integrated Development Environment for GNOME -- Catalog for Glade
@@ -119,7 +126,7 @@ and more.
%lang_package
%prep
%setup -q
#translation-update-upstream
translation-update-upstream
%build
%configure\
@@ -150,19 +157,19 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%icon_theme_cache_post gnome
%mime_database_post
%glib2_gsettings_schema_post
%postun
/sbin/ldconfig
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%icon_theme_cache_postun gnome
%mime_database_postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root)
@@ -178,13 +185,17 @@ rm -rf %{buildroot}
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/anjuta-manual/
%doc %{_datadir}/omf/anjuta-manual/anjuta-manual-C.omf
%{_bindir}/*
%{_libdir}/anjuta
%{_libdir}/*.so.*
%{_datadir}/anjuta
%{_bindir}/anjuta
%{_bindir}/anjuta-launcher
%{_bindir}/anjuta-tags
%{_libdir}/anjuta/
%{_libdir}/libanjuta-3.so.*
%{_libdir}/girepository-1.0/Anjuta-3.0.typelib
%{_libdir}/girepository-1.0/IAnjuta-3.0.typelib
%{_datadir}/anjuta/
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/*.xml
%{_datadir}/pixmaps/anjuta
%{_datadir}/pixmaps/anjuta/
%{_datadir}/glib-2.0/schemas/*.gschema.xml
# When removing the gnome icon theme icons, don't forget to remove the %%icon_theme_cache_post(un) call for them
# Somehow I think that this is wrong:
@@ -195,7 +206,7 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%doc %{_mandir}/man?/*.*
%if 0
%if %{build_glade_catalog}
%files -n glade3-catalog-anjuta
%defattr(-, root, root)
%{_libdir}/glade3/modules/libgladeanjuta.so
@@ -208,6 +219,7 @@ rm -rf %{buildroot}
%{_includedir}/libanjuta-3.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%files lang -f %name.lang