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
|
|
|
#
|
2017-02-22 21:40:20 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX 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
|
2017-08-31 09:45:38 +02:00
|
|
|
Version: 3.25.91.1
|
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
|
2017-08-31 09:45:38 +02:00
|
|
|
Source: https://download.gnome.org/sources/gnome-desktop/3.25/%{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
|
2011-01-16 16:44:53 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2009-09-05 01:40:12 +02:00
|
|
|
BuildRequires: intltool
|
2016-10-14 21:24:18 +02:00
|
|
|
%if !0%{?is_opensuse}
|
2009-09-05 01:40:12 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
2016-10-14 21:24:18 +02:00
|
|
|
%endif
|
2012-09-07 20:30:40 +02:00
|
|
|
BuildRequires: yelp-tools
|
2017-02-22 21:40:20 +01:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
|
2017-08-31 09:45:38 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.53.0
|
2012-09-25 22:28:55 +02:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.5.91
|
2012-01-17 16:56:31 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6
|
2013-03-13 23:56:34 +01:00
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
2017-08-31 09:45:38 +02:00
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
2016-09-08 23:24:04 +02:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
2010-09-13 11:53:21 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2012-09-07 20:06:33 +02:00
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
|
|
|
BuildRequires: pkgconfig(xkeyboard-config)
|
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
|
|
|
|
|
|
|
|
%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
|
|
|
|
2012-09-07 20:06:33 +02:00
|
|
|
%package -n libgnome-desktop-3_0-common
|
|
|
|
Summary: The GNOME Desktop API Library -- Common data files
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgnome-desktop-3_0-common
|
|
|
|
The libgnome-desktop library provides API shared by several applications
|
|
|
|
on the desktop, but that cannot live in the platform for various
|
|
|
|
reasons.
|
|
|
|
|
|
|
|
This package contains data files used by libgnome-dekstop.
|
|
|
|
|
2015-09-04 13:32:50 +02:00
|
|
|
%package -n libgnome-desktop-3-12
|
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
|
2012-09-07 20:06:33 +02:00
|
|
|
# Data files for libgnome-desktop, split in an own package for SLPP compliancy
|
|
|
|
Requires: libgnome-desktop-3_0-common >= %{version}
|
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
|
|
|
|
2015-09-04 13:32:50 +02:00
|
|
|
%description -n libgnome-desktop-3-12
|
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
|
2015-09-04 13:32:50 +02:00
|
|
|
Requires: libgnome-desktop-3-12 = %{version}
|
2011-12-12 16:55:07 +01:00
|
|
|
Requires: typelib-1_0-GnomeDesktop-3_0 = %{version}
|
2012-09-07 20:06:33 +02:00
|
|
|
# Needed as /usr/include/gnome-desktop-3.0/libgnome-desktop/gnome-xkb-info.h includes X11/extensions/XKBrules.h
|
|
|
|
Requires: libxkbfile-devel
|
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
|
2016-10-14 21:24:18 +02:00
|
|
|
%if !0%{?is_opensuse}
|
2009-03-11 17:51:06 +01:00
|
|
|
translation-update-upstream
|
2016-10-14 21:24:18 +02:00
|
|
|
%endif
|
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\
|
2011-01-14 16:12:33 +01:00
|
|
|
%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
|
|
|
--with-gnome-distributor="SUSE" \
|
|
|
|
--disable-date-in-gnome-version
|
2016-10-14 21:24:18 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-07 23:54:35 +01:00
|
|
|
|
|
|
|
%install
|
2007-02-07 17:00:21 +01:00
|
|
|
%makeinstall
|
2011-02-13 21:41:45 +01:00
|
|
|
%find_lang %{name}-3.0 %{?no_lang_C}
|
|
|
|
%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
|
2012-09-07 20:30:40 +02:00
|
|
|
%if ! (%IS_DEFAULT_GNOME_DESKTOP || 0%{?BUILD_FROM_VCS})
|
2011-01-16 16:44:53 +01:00
|
|
|
rm %{buildroot}%{_datadir}/gnome/gnome-version.xml
|
|
|
|
%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
|
|
|
|
2015-09-04 13:32:50 +02:00
|
|
|
%post -n libgnome-desktop-3-12 -p /sbin/ldconfig
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2015-09-04 13:32:50 +02:00
|
|
|
%postun -n libgnome-desktop-3-12 -p /sbin/ldconfig
|
2007-01-07 23:54:35 +01:00
|
|
|
|
2015-09-04 13:32:50 +02:00
|
|
|
%files -n libgnome-desktop-3-12
|
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
|
2012-09-07 20:06:33 +02:00
|
|
|
%{_libdir}/libgnome-desktop-3.so.*
|
|
|
|
|
|
|
|
%files -n libgnome-desktop-3_0-common
|
|
|
|
%defattr(-,root,root)
|
2012-09-07 20:30:40 +02:00
|
|
|
%doc %{_datadir}/help/C/fdl/
|
|
|
|
%doc %{_datadir}/help/C/gpl/
|
|
|
|
%doc %{_datadir}/help/C/lgpl/
|
2012-09-07 20:06:33 +02:00
|
|
|
%{_libexecdir}/gnome-rr-debug
|
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
|