2008-01-28 04:34:00 +01:00
#
2011-04-28 10:28:09 +02:00
# spec file for package gnome-settings-daemon
2008-01-28 04:34:00 +01:00
#
2015-03-19 15:37:09 +01:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2008-01-28 04:34:00 +01:00
#
2008-08-15 23:38:13 +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.
2008-01-28 04:34:00 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-25 15:39:21 +01:00
2015-03-31 00:43:19 +02:00
# Allow to disable wayland components
%bcond_without wayland
2012-02-08 12:00:24 +01:00
2015-03-31 00:43:19 +02:00
# Smart-Card support was not available from version 3.7.3 to 3.9.5; allow to easily disable it
%bcond_without smartcard
2013-03-13 23:54:12 +01:00
2015-03-31 00:43:19 +02:00
# Wacom input support is not available on all platforms
2013-09-19 21:18:53 +02:00
%ifarch s390 s390x
2015-03-31 00:43:19 +02:00
%bcond_with wacom
2013-09-19 21:18:53 +02:00
%else
2015-03-31 00:43:19 +02:00
%bcond_without wacom
2013-09-19 21:18:53 +02:00
%endif
2008-01-28 04:34:00 +01:00
Name : gnome-settings-daemon
2015-04-18 18:43:31 +02:00
Version : 3.16.1
2011-12-21 15:56:34 +01:00
Release : 0
2009-09-04 02:03:30 +02:00
Summary : Settings daemon for the GNOME desktop
2011-12-21 15:56:34 +01:00
License : GPL-2.0+
2009-09-04 02:03:31 +02:00
Group : System/GUI/GNOME
2011-12-21 15:56:34 +01:00
Url : http://www.gnome.org
2015-03-25 10:00:47 +01:00
Source : http://download.gnome.org/sources/gnome-settings-daemon/3.16/%{name} -%{version} .tar.xz
2011-08-17 23:47:03 +02:00
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-bnc462640-mute-action.patch bnc462640 bgo572365 vuntz@novell.com -- Mute button should always mute sound instead of toggling mute status
2009-02-20 22:09:29 +01:00
Patch10 : gnome-settings-daemon-bnc462640-mute-action.patch
2014-05-28 13:59:19 +02:00
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep
2013-01-21 17:38:42 +01:00
Patch19 : gnome-settings-daemon-notify-idle-resumed.patch
2012-02-08 12:00:24 +01:00
BuildRequires : cups-devel
2009-09-04 02:03:31 +02:00
BuildRequires : fdupes
BuildRequires : gnome-common
2011-04-28 10:28:09 +02:00
# Disabled because of the non-rebased patches
#BuildRequires: gnome-patch-translation
2009-09-04 02:03:31 +02:00
BuildRequires : intltool
2010-08-06 15:26:15 +02:00
BuildRequires : translation-update-upstream
2009-09-04 02:03:31 +02:00
BuildRequires : update-desktop-files
2012-09-08 09:24:27 +02:00
BuildRequires : xsltproc
2012-02-08 12:00:24 +01:00
# For directory ownership; it's fine to BuildRequire it since it's also a Requires
BuildRequires : polkit
2013-07-31 20:55:50 +02:00
BuildRequires : pkgconfig(colord) >= 1.0.2
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(fontconfig)
2011-08-18 19:50:42 +02:00
BuildRequires : pkgconfig(gconf-2.0) >= 2.6.1
2014-04-03 22:43:25 +02:00
BuildRequires : pkgconfig(geoclue-2.0) >= 2.1.2
2013-09-24 22:03:49 +02:00
BuildRequires : pkgconfig(geocode-glib-1.0) >= 3.10.0
2013-09-07 15:13:28 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.37.7
2014-04-03 22:43:25 +02:00
BuildRequires : pkgconfig(gnome-desktop-3.0) >= 3.11.1
2015-03-19 15:37:09 +01:00
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.15.4
BuildRequires : pkgconfig(gtk+-3.0) >= 3.15.1
2011-04-28 10:28:09 +02:00
BuildRequires : pkgconfig(gudev-1.0)
2013-09-07 15:13:28 +02:00
BuildRequires : pkgconfig(gweather-3.0) >= 3.9.5
2011-09-21 17:53:13 +02:00
BuildRequires : pkgconfig(kbproto)
2011-06-16 16:08:46 +02:00
BuildRequires : pkgconfig(lcms2)
2011-04-28 10:28:09 +02:00
BuildRequires : pkgconfig(libcanberra-gtk3)
2014-08-23 13:52:01 +02:00
BuildRequires : pkgconfig(libnm-glib) >= 0.9.9.1
BuildRequires : pkgconfig(libnm-util) >= 0.9.9.1
2011-08-18 19:50:42 +02:00
BuildRequires : pkgconfig(libnotify) >= 0.7.3
2013-03-13 23:54:12 +01:00
BuildRequires : pkgconfig(libpulse) >= 2.0
BuildRequires : pkgconfig(libpulse-mainloop-glib) >= 2.0
BuildRequires : pkgconfig(librsvg-2.0) >= 2.36.2
2015-03-31 00:43:19 +02:00
%if %{with wacom}
2013-03-13 23:54:12 +01:00
BuildRequires : pkgconfig(libwacom) >= 0.7
2013-09-19 21:18:53 +02:00
BuildRequires : pkgconfig(xorg-wacom)
%endif
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(nss)
2013-05-31 20:33:41 +02:00
BuildRequires : pkgconfig(pango) >= 1.20.0
2013-09-07 15:13:28 +02:00
BuildRequires : pkgconfig(polkit-gobject-1) >= 0.103
2013-12-23 18:51:21 +01:00
BuildRequires : pkgconfig(upower-glib) >= 0.99.0
2011-09-21 17:53:13 +02:00
BuildRequires : pkgconfig(x11)
2012-09-08 10:11:31 +02:00
BuildRequires : pkgconfig(xext)
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(xi)
2012-09-08 09:24:27 +02:00
BuildRequires : pkgconfig(xkbfile)
2012-02-25 15:39:21 +01:00
BuildRequires : pkgconfig(xtst)
2011-04-28 10:28:09 +02:00
Requires : gsettings-desktop-schemas
2011-09-05 18:21:55 +02:00
# g-s-d uses the pkexec binary
Requires : polkit
2011-02-13 22:10:32 +01:00
Recommends: %{name} -lang
2011-04-28 11:13:15 +02:00
# For housekeeping plugin, that uses the nautilus dbus service
Recommends: nautilus
2008-09-09 22:09:46 +02:00
Obsoletes : resapplet
2008-01-28 04:34:00 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2011-04-28 10:28:09 +02:00
%glib2_gsettings_schema_requires
2008-01-28 04:34:00 +01:00
%description
gnome-settings-daemon provides a daemon run by all GNOME sessions to
provide live access to configuration settings and the changes done to
them as well as basic services like a clipboard manager, controlling
the startup of the screensaver, etc.
This module was previously part of GNOME Control Center, but has been
splitted from it for a more general use.
%package devel
Summary : Development package for the GNOME settings daemon
2015-03-31 00:43:19 +02:00
Group : Development/Languages/C and C++
2009-09-04 02:03:31 +02:00
Requires : %{name} = %{version}
2008-01-28 04:34:00 +01:00
%description devel
gnome-settings-daemon provides a daemon run by all GNOME sessions to
provide live access to configuration settings and the changes done to
them as well as basic services like a clipboard manager, controlling
the startup of the screensaver, etc.
This package includes header files used for client applications to
contact the settings daemon via its DBus interface.
%lang_package
%prep
2010-08-09 22:51:53 +02:00
%setup -q
2010-08-06 15:26:15 +02:00
translation-update-upstream
2011-04-28 10:28:09 +02:00
# Disabled because of the non-rebased patches
#gnome-patch-translation-prepare
2011-08-17 23:47:03 +02:00
%patch10 -p0
2014-05-28 13:59:19 +02:00
%patch19 -p1
2008-01-28 04:34:00 +01:00
%build
2011-08-17 23:47:03 +02:00
autoreconf -f -i
2008-01-28 04:34:00 +01:00
%configure \
2015-03-31 00:43:19 +02:00
%if %{with wayland}
2015-03-19 15:37:09 +01:00
--enable-wayland \
%else
--disable-wayland \
2012-02-08 12:00:24 +01:00
%endif
2011-06-16 16:08:46 +02:00
--disable-static \
2012-10-05 10:54:52 +02:00
--libexecdir=%{_libexecdir} /gnome-settings-daemon-3.0 \
2015-03-25 10:00:47 +01:00
%{nil}
# work around a racing condition in plugins/common, which does not always build properly using parallel build
(cd plugins/common; make -j 1 gsd-common-enums.h)
2011-04-28 10:28:09 +02:00
make %{?jobs:-j%jobs} V=1
2008-01-28 04:34:00 +01:00
%install
%makeinstall
2011-04-28 10:28:09 +02:00
find %{buildroot} %{_libdir} -name '*.la' -type f -delete -print
2009-02-07 00:58:13 +01:00
%suse_update_desktop_file gnome-settings-daemon
2011-02-13 22:10:32 +01:00
%find_lang %{name} %{?no_lang_C}
2009-09-04 02:03:31 +02:00
%fdupes %{buildroot}
2008-01-28 04:34:00 +01:00
%clean
2009-09-04 02:03:31 +02:00
rm -rf %{buildroot}
2008-01-28 04:34:00 +01:00
2011-02-13 22:10:32 +01:00
%post
2011-04-28 10:28:09 +02:00
%glib2_gsettings_schema_post
2011-02-13 22:10:32 +01:00
%icon_theme_cache_post
2008-02-21 01:53:40 +01:00
2011-02-13 22:10:32 +01:00
%postun
2011-04-28 10:28:09 +02:00
%glib2_gsettings_schema_postun
2011-02-13 22:10:32 +01:00
%icon_theme_cache_postun
2008-01-28 04:34:00 +01:00
2011-04-28 10:28:09 +02:00
%files
2008-01-28 04:34:00 +01:00
%defattr (-,root,root)
2008-08-18 18:37:47 +02:00
%doc AUTHORS COPYING ChangeLog NEWS
2010-08-09 22:51:53 +02:00
%{_datadir} /gnome-settings-daemon/
2011-04-28 10:28:09 +02:00
%{_datadir} /gnome-settings-daemon-3.0/
2012-06-09 12:30:40 +02:00
%dir %{_libexecdir} /gnome-settings-daemon-3.0/
%{_libexecdir} /gnome-settings-daemon-3.0/gnome-settings-daemon
2013-06-23 16:14:30 +02:00
%{_libexecdir} /gnome-settings-daemon-3.0/gnome-settings-daemon-localeexec
2012-06-09 12:30:40 +02:00
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-backlight-helper
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-locate-pointer
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-printer
2012-09-08 09:24:27 +02:00
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-test-*
2011-09-08 09:17:27 +02:00
# From patch2
2015-03-31 00:43:19 +02:00
#%%{_libexecdir}/novell-sysconfig-proxy-helper
2011-04-28 11:13:15 +02:00
%dir %{_libdir} /gnome-settings-daemon-3.0/
2012-02-25 15:39:21 +01:00
%{_libdir} /gnome-settings-daemon-3.0/libgsd.so
2011-04-28 11:13:15 +02:00
%{_libdir} /gnome-settings-daemon-3.0/*.gnome-settings-plugin
2012-02-25 15:39:21 +01:00
# Explicitly list all the plugins so we know we don't lose any
%{_libdir} /gnome-settings-daemon-3.0/liba11y-keyboard.so
%{_libdir} /gnome-settings-daemon-3.0/liba11y-settings.so
%{_libdir} /gnome-settings-daemon-3.0/libclipboard.so
%{_libdir} /gnome-settings-daemon-3.0/libcolor.so
2013-09-07 15:13:28 +02:00
%{_libdir} /gnome-settings-daemon-3.0/libdatetime.so
2012-02-25 15:39:21 +01:00
%{_libdir} /gnome-settings-daemon-3.0/libhousekeeping.so
%{_libdir} /gnome-settings-daemon-3.0/libkeyboard.so
%{_libdir} /gnome-settings-daemon-3.0/libmedia-keys.so
%{_libdir} /gnome-settings-daemon-3.0/libmouse.so
%{_libdir} /gnome-settings-daemon-3.0/liborientation.so
%{_libdir} /gnome-settings-daemon-3.0/libpower.so
%{_libdir} /gnome-settings-daemon-3.0/libprint-notifications.so
2013-07-31 20:55:50 +02:00
%{_libdir} /gnome-settings-daemon-3.0/librfkill.so
2013-03-13 23:54:12 +01:00
%{_libdir} /gnome-settings-daemon-3.0/libscreensaver-proxy.so
2014-08-23 13:52:01 +02:00
%{_libdir} /gnome-settings-daemon-3.0/libsharing.so
2015-03-31 00:43:19 +02:00
%if %{with smartcard}
2012-02-25 15:39:21 +01:00
%{_libdir} /gnome-settings-daemon-3.0/libsmartcard.so
2013-03-13 23:54:12 +01:00
%endif
2012-02-25 15:39:21 +01:00
%{_libdir} /gnome-settings-daemon-3.0/libsound.so
%{_libdir} /gnome-settings-daemon-3.0/libxrandr.so
%{_libdir} /gnome-settings-daemon-3.0/libxsettings.so
%{_sysconfdir} /xdg/autostart/gnome-settings-daemon.desktop
2011-04-28 10:28:09 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.enums.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.peripherals.wacom.gschema.xml
2011-06-16 16:08:46 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml
2013-09-07 15:13:28 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.datetime.gschema.xml
2011-04-28 10:28:09 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.keyboard.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.media-keys.gschema.xml
2011-06-16 16:08:46 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.orientation.gschema.xml
2011-04-28 10:28:09 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml
2011-09-08 09:17:27 +02:00
# From patch2
2015-03-31 00:43:19 +02:00
#%%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.proxy.gschema.xml
2014-08-23 13:52:01 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml
2011-04-28 10:28:09 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.xrandr.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
2011-09-21 17:53:13 +02:00
%{_datadir} /icons/hicolor/*/apps/gsd-xrandr.*
2011-08-18 19:50:42 +02:00
%{_datadir} /polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
2012-02-25 15:39:21 +01:00
%{_mandir} /man1/gnome-settings-daemon.1%{?ext_man}
2011-04-28 10:28:09 +02:00
# Own the directory since we can't depend on gconf providing them
%dir %{_datadir} /GConf
%dir %{_datadir} /GConf/gsettings
%{_datadir} /GConf/gsettings/gnome-settings-daemon.convert
2015-03-31 00:43:19 +02:00
%if %{with wacom}
2013-09-19 21:18:53 +02:00
%{_datadir} /polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-list-wacom
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-wacom-led-helper
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-wacom-oled-helper
%{_libdir} /gnome-settings-daemon-3.0/libgsdwacom.so
%endif
2014-04-03 22:43:25 +02:00
%{_udevrulesdir} /61-gnome-settings-daemon-rfkill.rules
2008-01-28 04:34:00 +01:00
2010-08-09 22:51:53 +02:00
%files lang -f %{name}.lang
2008-01-28 04:34:00 +01:00
%files devel
%defattr (-, root, root)
2011-04-28 10:28:09 +02:00
%{_includedir} /gnome-settings-daemon-3.0/
%{_libdir} /pkgconfig/gnome-settings-daemon.pc
2008-01-28 04:34:00 +01:00
%changelog