Accepting request 67338 from GNOME:Next
thanks OBS-URL: https://build.opensuse.org/request/show/67338 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/anjuta?expand=0&rev=80
This commit is contained in:
committed by
Git OBS Bridge
parent
ac3c14b29a
commit
cf4511010b
48
anjuta.spec
48
anjuta.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package anjuta (Version 2.32.1.1)
|
||||
# spec file for package anjuta
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -18,9 +18,8 @@
|
||||
|
||||
|
||||
Name: anjuta
|
||||
Version: 2.32.1.1
|
||||
Version: 3.0.0.0
|
||||
Release: 1
|
||||
# NOTE: on upgrade to a new upstream version, change the doc Obsoletes from <= to <
|
||||
License: GPLv2+
|
||||
Summary: Versatile Integrated Development Environment for GNOME
|
||||
Url: http://anjuta.sourceforge.net/
|
||||
@@ -32,7 +31,6 @@ BuildRequires: binutils-devel
|
||||
BuildRequires: devhelp-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gconf2-devel
|
||||
BuildRequires: gdl-devel
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: gnome-doc-utils-devel
|
||||
@@ -45,7 +43,6 @@ BuildRequires: libapr1-devel
|
||||
BuildRequires: libgda-4_0-devel
|
||||
BuildRequires: libgladeui-1_0-devel
|
||||
BuildRequires: libneon-devel
|
||||
BuildRequires: libunique-devel
|
||||
BuildRequires: libwnck-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: perl-gettext
|
||||
@@ -57,8 +54,8 @@ BuildRequires: update-desktop-files
|
||||
%ifnarch ia64 s390 s390x
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
BuildRequires: vte-devel
|
||||
BuildRequires: pkgconfig(vala-0.10)
|
||||
BuildRequires: pkgconfig(vte-2.90)
|
||||
BuildRequires: pkgconfig(libvala-0.12)
|
||||
# Directly required by anjuta:
|
||||
Requires: autoconf
|
||||
Requires: autogen
|
||||
@@ -69,7 +66,7 @@ Requires: libtool
|
||||
Requires: libgda-sqlite
|
||||
Recommends: %{name}-lang
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%gconf_schemas_prereq
|
||||
%glib2_gsettings_schema_requires
|
||||
|
||||
%description
|
||||
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
||||
@@ -80,6 +77,7 @@ an integrated Valgrind memory profiler, an integrated gprof performance
|
||||
profiler, a class generator, a powerful source editor, source browsing,
|
||||
and more.
|
||||
|
||||
%if 0
|
||||
%package -n glade3-catalog-anjuta
|
||||
License: GPLv2+
|
||||
Summary: Versatile Integrated Development Environment for GNOME -- Catalog for Glade
|
||||
@@ -99,6 +97,7 @@ and more.
|
||||
|
||||
This package provides a catalog for Glade, to allow the use the Anjuta
|
||||
widgets in Glade.
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
@@ -106,8 +105,7 @@ Summary: Versatile Integrated Development Environment for GNOME -- Develo
|
||||
Group: Development/Tools/IDE
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-doc = %{version}
|
||||
# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 2.32.1.1 (when this provides/obsoletes was introduced)
|
||||
Obsoletes: %{name}-doc <= %{version}
|
||||
Obsoletes: %{name}-doc < %{version}
|
||||
|
||||
%description devel
|
||||
Anjuta is a versatile Integrated Development Environment (IDE) for the
|
||||
@@ -121,14 +119,13 @@ and more.
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
translation-update-upstream
|
||||
#translation-update-upstream
|
||||
|
||||
%build
|
||||
%configure\
|
||||
--disable-static \
|
||||
--disable-schemas-install \
|
||||
--disable-scrollkeeper
|
||||
make %{?jobs:-j%jobs}
|
||||
--disable-static \
|
||||
--disable-scrollkeeper
|
||||
make %{?jobs:-j%jobs} V=1
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
@@ -145,26 +142,19 @@ DESTDIR=%{buildroot} mime-info-to-mime
|
||||
#%%find_lang anjuta-build-tutorial %{?no_lang_C} anjuta.lang
|
||||
#%%find_lang anjuta-faqs %{?no_lang_C} anjuta.lang
|
||||
%find_lang anjuta-manual %{?no_lang_C} anjuta.lang
|
||||
%find_gconf_schemas
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# Fix permissions
|
||||
for file in AUTHORS COPYING ChangeLog FUTURE README doc/ScintillaDoc.html TODO; do
|
||||
test -x $file
|
||||
chmod a-x $file
|
||||
done
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%pre -f %{name}.schemas_pre
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
%icon_theme_cache_post gnome
|
||||
%mime_database_post
|
||||
%glib2_gsettings_schema_post
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
@@ -172,12 +162,9 @@ rm -rf %{buildroot}
|
||||
%icon_theme_cache_postun
|
||||
%icon_theme_cache_postun gnome
|
||||
%mime_database_postun
|
||||
%glib2_gsettings_schema_postun
|
||||
|
||||
%posttrans -f %{name}.schemas_posttrans
|
||||
|
||||
%preun -f %{name}.schemas_preun
|
||||
|
||||
%files -f %{name}.schemas_list
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README doc/ScintillaDoc.html TODO
|
||||
%dir %{_datadir}/gnome/
|
||||
@@ -198,6 +185,7 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/mime/packages/*.xml
|
||||
%{_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:
|
||||
%dir %{_datadir}/icons/gnome/*/mimetypes/
|
||||
@@ -207,15 +195,17 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%doc %{_mandir}/man?/*.*
|
||||
|
||||
%if 0
|
||||
%files -n glade3-catalog-anjuta
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/glade3/modules/libgladeanjuta.so
|
||||
%{_datadir}/glade3/catalogs/anjuta-glade.xml
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc %{_datadir}/gtk-doc/html/libanjuta/
|
||||
%{_includedir}/libanjuta-1.0/
|
||||
%{_includedir}/libanjuta-3.0/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
|
Reference in New Issue
Block a user