2007-01-07 23:54:35 +01:00
|
|
|
#
|
2011-01-17 18:49:00 +01:00
|
|
|
# spec file for package gnome-desktop
|
2007-01-07 23:54:35 +01:00
|
|
|
#
|
2012-01-17 16:56:31 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-07 23:54:35 +01:00
|
|
|
#
|
2008-08-14 00:51:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-07 23:54:35 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-22 11:31:49 +01:00
|
|
|
|
2011-04-22 10:59:33 +02:00
|
|
|
%define IS_DEFAULT_GNOME_DESKTOP 1
|
2008-02-19 02:24:21 +01:00
|
|
|
|
2007-01-07 23:54:35 +01:00
|
|
|
Name: gnome-desktop
|
2012-03-21 10:19:33 +01:00
|
|
|
Version: 3.3.92
|
2011-12-21 05:16:16 +01:00
|
|
|
Release: 0
|
2007-01-07 23:54:35 +01:00
|
|
|
Summary: The GNOME Desktop API Library
|
2011-12-21 05:16:16 +01:00
|
|
|
License: LGPL-2.1+
|
2009-09-05 01:40:12 +02:00
|
|
|
Group: System/GUI/GNOME
|
2011-12-21 05:16:16 +01:00
|
|
|
Url: http://www.gnome.org
|
|
|
|
Source: http://download.gnome.org/sources/gnome-desktop/3.3/%{name}-%{version}.tar.xz
|
2010-01-21 11:16:11 +01:00
|
|
|
Source99: baselibs.conf
|
2009-09-05 01:40:12 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2011-01-16 16:44:53 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2009-09-05 01:40:12 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: translation-update-upstream
|
2010-09-13 11:53:21 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2010-12-06 15:30:15 +01:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
2012-01-17 16:56:31 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6
|
2010-09-13 11:53:21 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2011-07-28 09:20:08 +02:00
|
|
|
BuildRequires: pkgconfig(xext)
|
2010-09-13 11:53:21 +02:00
|
|
|
BuildRequires: pkgconfig(xrandr)
|
2011-01-14 16:12:33 +01:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
%endif
|
2009-09-05 01:40:12 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-07 23:54:35 +01:00
|
|
|
|
|
|
|
%description
|
2011-04-26 11:56:34 +02:00
|
|
|
This package contains the desktop-wide files.
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-01-16 16:44:53 +01:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP || 0%{?BUILD_FROM_VCS}
|
2011-01-17 18:49:00 +01:00
|
|
|
|
2011-01-14 16:12:33 +01:00
|
|
|
%package -n gnome-version
|
2011-01-16 16:44:53 +01:00
|
|
|
Summary: GNOME version
|
2011-01-14 16:12:33 +01:00
|
|
|
Group: System/GUI/GNOME
|
2011-04-26 11:56:34 +02:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP
|
|
|
|
Obsoletes: gnome-about < %{version}
|
|
|
|
%endif
|
2011-01-14 16:12:33 +01:00
|
|
|
|
|
|
|
%description -n gnome-version
|
2011-01-16 16:44:53 +01:00
|
|
|
This package contains information on the version of GNOME that is installed.
|
|
|
|
%endif
|
2011-01-14 16:12:33 +01:00
|
|
|
|
2011-06-14 19:59:49 +02:00
|
|
|
%package -n libgnome-desktop-3-2
|
2010-09-13 11:53:21 +02:00
|
|
|
Summary: The GNOME Desktop API Library
|
|
|
|
Group: System/GUI/GNOME
|
2010-12-06 15:35:31 +01:00
|
|
|
Requires: gsettings-desktop-schemas
|
2010-09-13 11:53:21 +02:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP
|
|
|
|
Obsoletes: %{name} < %{version}
|
|
|
|
%endif
|
2008-02-02 01:40:35 +01:00
|
|
|
|
2011-06-14 19:59:49 +02:00
|
|
|
%description -n libgnome-desktop-3-2
|
2010-09-13 11:53:21 +02:00
|
|
|
The libgnome-desktop library provides API shared by several applications
|
|
|
|
on the desktop, but that cannot live in the platform for various
|
2011-12-21 05:16:16 +01:00
|
|
|
reasons.
|
2010-09-13 11:53:18 +02:00
|
|
|
|
2011-12-12 16:55:07 +01:00
|
|
|
%package -n typelib-1_0-GnomeDesktop-3_0
|
2011-12-21 05:16:16 +01:00
|
|
|
Summary: The GNOME Desktop API Library -- Introspection bindings
|
2011-12-12 16:55:07 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GnomeDesktop-3_0
|
|
|
|
The libgnome-desktop library provides API shared by several applications
|
|
|
|
on the desktop, but that cannot live in the platform for various
|
2011-12-21 05:16:16 +01:00
|
|
|
reasons.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for
|
|
|
|
libgnome-desktop.
|
2011-12-12 16:55:07 +01:00
|
|
|
|
2010-09-13 11:53:21 +02:00
|
|
|
%package -n libgnome-desktop-3-devel
|
|
|
|
Summary: The GNOME Desktop API Library -- Development Files
|
2007-01-07 23:54:35 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-06-14 19:59:49 +02:00
|
|
|
Requires: libgnome-desktop-3-2 = %{version}
|
2011-12-12 16:55:07 +01:00
|
|
|
Requires: typelib-1_0-GnomeDesktop-3_0 = %{version}
|
2010-09-13 11:53:21 +02:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP
|
|
|
|
Provides: %{name}-devel = %{version}
|
|
|
|
Obsoletes: %{name}-devel < %{version}
|
|
|
|
Provides: %{name}-doc = %{version}
|
|
|
|
Obsoletes: %{name}-doc < %{version}
|
|
|
|
%endif
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2010-09-13 11:53:21 +02:00
|
|
|
%description -n libgnome-desktop-3-devel
|
|
|
|
The libgnome-desktop library provides API shared by several applications
|
|
|
|
on the desktop, but that cannot live in the platform for various
|
2011-12-21 05:16:16 +01:00
|
|
|
reasons.
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2007-08-09 16:35:26 +02:00
|
|
|
%lang_package
|
2007-01-07 23:54:35 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-03-11 17:51:06 +01:00
|
|
|
translation-update-upstream
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-01-14 16:12:33 +01:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
[ -x ./autogen.sh] && NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%endif
|
|
|
|
|
2007-01-07 23:54:35 +01:00
|
|
|
%build
|
2009-01-27 01:59:40 +01:00
|
|
|
%configure --with-pic\
|
2007-02-07 17:00:21 +01:00
|
|
|
--disable-static\
|
2010-09-13 11:53:21 +02:00
|
|
|
%if ! %IS_DEFAULT_GNOME_DESKTOP
|
|
|
|
--disable-desktop-docs \
|
2011-01-14 16:12:33 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
--enable-gtk-doc \
|
2010-09-13 11:53:21 +02:00
|
|
|
%endif
|
2011-01-16 16:44:53 +01:00
|
|
|
--disable-scrollkeeper \
|
|
|
|
--with-gnome-distributor="SUSE" \
|
|
|
|
--disable-date-in-gnome-version
|
2011-04-22 10:59:33 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-01-07 23:54:35 +01:00
|
|
|
|
|
|
|
%install
|
2007-02-07 17:00:21 +01:00
|
|
|
%makeinstall
|
2010-01-21 11:16:11 +01:00
|
|
|
%if 0%{?suse_version} <= 1110
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
|
|
|
|
%endif
|
2009-12-24 16:30:16 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2010-12-14 19:42:31 +01:00
|
|
|
%if 0%{?suse_version} <= 1130
|
2010-12-11 18:46:45 +01:00
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/kg/LC_MESSAGES/*
|
2010-12-14 19:42:31 +01:00
|
|
|
%endif
|
2011-02-13 21:41:45 +01:00
|
|
|
%find_lang %{name}-3.0 %{?no_lang_C}
|
2010-09-13 11:53:21 +02:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP
|
2011-02-13 21:41:45 +01:00
|
|
|
%find_lang fdl %{?no_lang_C} %{name}-3.0.lang
|
|
|
|
%find_lang gpl %{?no_lang_C} %{name}-3.0.lang
|
|
|
|
%find_lang lgpl %{?no_lang_C} %{name}-3.0.lang
|
2011-01-16 16:44:53 +01:00
|
|
|
%else
|
|
|
|
%if ! 0%{?BUILD_FROM_VCS}
|
|
|
|
rm %{buildroot}%{_datadir}/gnome/gnome-version.xml
|
|
|
|
%endif
|
2010-09-13 11:53:21 +02:00
|
|
|
%endif
|
2009-01-27 01:59:40 +01:00
|
|
|
%{__rm} -vf %{buildroot}%{_libdir}/*.la
|
2009-09-05 01:40:12 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-09 16:35:26 +02:00
|
|
|
|
2007-01-07 23:54:35 +01:00
|
|
|
%clean
|
2009-09-05 01:40:12 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-06-14 19:59:49 +02:00
|
|
|
%post -n libgnome-desktop-3-2 -p /sbin/ldconfig
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-06-14 19:59:49 +02:00
|
|
|
%postun -n libgnome-desktop-3-2 -p /sbin/ldconfig
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-06-14 19:59:49 +02:00
|
|
|
%files -n libgnome-desktop-3-2
|
2008-02-02 01:40:35 +01:00
|
|
|
%defattr(-, root, root)
|
2010-09-13 11:53:21 +02:00
|
|
|
%doc AUTHORS COPYING.LIB NEWS README
|
2011-02-13 21:41:45 +01:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP
|
|
|
|
# We don't have a better location for the license help files
|
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/*/
|
|
|
|
%doc %{_datadir}/gnome/help/*/C/
|
|
|
|
%dir %{_datadir}/omf/
|
|
|
|
%dir %{_datadir}/omf/*/
|
|
|
|
%doc %{_datadir}/omf/*/*-C.omf
|
|
|
|
%endif
|
2010-09-13 11:53:21 +02:00
|
|
|
%{_datadir}/libgnome-desktop-3.0/
|
|
|
|
%{_libdir}/libgnome-desktop-3.so.*
|
2011-12-12 16:55:07 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-GnomeDesktop-3_0
|
|
|
|
%defattr(-,root,root)
|
2011-01-16 16:44:53 +01:00
|
|
|
%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
|
2007-08-09 16:35:26 +02:00
|
|
|
|
2010-09-13 11:53:21 +02:00
|
|
|
%files -n libgnome-desktop-3-devel
|
2010-09-13 11:53:18 +02:00
|
|
|
%defattr (-, root, root)
|
2010-09-13 11:53:21 +02:00
|
|
|
%{_includedir}/gnome-desktop-3.0/
|
|
|
|
%{_libdir}/libgnome-desktop-3.so
|
|
|
|
%{_libdir}/pkgconfig/gnome-desktop-3.0.pc
|
2011-01-16 16:44:53 +01:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2010-09-13 11:53:21 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
|
|
|
|
|
|
|
|
%files lang -f %{name}-3.0.lang
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2011-01-16 16:44:53 +01:00
|
|
|
%if %IS_DEFAULT_GNOME_DESKTOP || 0%{?BUILD_FROM_VCS}
|
2011-01-17 18:49:00 +01:00
|
|
|
|
2011-01-14 16:12:33 +01:00
|
|
|
%files -n gnome-version
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%{_datadir}/gnome/gnome-version.xml
|
2011-01-16 16:44:53 +01:00
|
|
|
%endif
|
2011-01-14 16:12:33 +01:00
|
|
|
|
2007-02-20 00:06:53 +01:00
|
|
|
%changelog
|