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
#
2011-04-28 10:28:09 +02:00
# Copyright (c) 2011 SUSE LINUX Products 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/
#
2008-02-21 01:53:40 +01:00
2008-01-28 04:34:00 +01:00
Name : gnome-settings-daemon
2011-06-16 16:08:46 +02:00
Version : 3.1.2
2010-08-09 22:51:53 +02:00
Release : 1
2009-12-08 10:41:39 +01:00
License : GPLv2+
2009-09-04 02:03:30 +02:00
Summary : Settings daemon for the GNOME desktop
2009-09-04 02:03:31 +02:00
Url : http://www.gnome.org
Group : System/GUI/GNOME
2010-08-09 22:51:53 +02:00
Source : %{name} -%{version} .tar.bz2
2011-04-28 10:28:09 +02:00
# PATCH-NEEDS-REBASE gnome-settings-daemon-system-proxy-configuration.diff (was PATCH-FEATURE-OPENSUSE)
2008-08-15 23:38:13 +02:00
Patch2 : gnome-settings-daemon-system-proxy-configuration.diff
2011-04-28 10:28:09 +02:00
# PATCH-NEEDS-REBASE gnome-settings-daemon-apport-monitor.patch bnc439203 jblunck@novell.com -- Add apport monitoring plugin. (was PATCH-FEATURE-UPSTREAM)
2008-11-03 12:08:40 +01:00
Patch8 : gnome-settings-daemon-apport-monitor.patch
2011-04-28 10:28:09 +02:00
# PATCH-NEEDS-REBASE gnome-settings-daemon-bnc462640-mute-action.patch bnc462640 bgo572365 vuntz@novell.com -- Mute button should always mute sound instead of toggling mute status (was PATCH-FEATURE-UPSTREAM)
2009-02-20 22:09:29 +01:00
Patch10 : gnome-settings-daemon-bnc462640-mute-action.patch
2009-07-31 19:33:52 +02:00
# PATCH-NEEDS-REBASE gnome-settings-daemon-bnc461755-randr-rotate-wacom.diff bnc461755 federico@novell.com - Add the option of rotating a Wacom tablet when rotating the monitor with RANDR (was PATCH-FEATURE-OPENSUSE)
2009-05-28 03:05:55 +02:00
Patch11 : gnome-settings-daemon-bnc461755-randr-rotate-wacom.diff
2011-04-28 10:28:09 +02:00
# PATCH-NEEDS-REBASE PATCH-FIX-UPSTREAM gnome-settings-daemon-add-layout-switcher.patch bgo603806 vuntz@opensuse.org -- Add a layout switching combo if needed; the real fix implies some API change in libgnomekbd (see upstream bug)
2009-12-04 23:48:24 +01:00
Patch13 : gnome-settings-daemon-add-layout-switcher.patch
2011-04-28 10:28:09 +02:00
# PATCH-NEEDSREBASE PATCH-FEATURE-OPENSUSE gnome-packagekit-fate302445.patch fate 302445
2011-05-05 16:50:08 +02:00
Patch14 : gnome-packagekit-fate302445.patch
2011-04-28 10:28:09 +02:00
# PATCH-NEEDSREBASE PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
2011-05-05 16:50:08 +02:00
Patch15 : gnome-packagekit-BNC383261.patch
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
2011-04-28 10:28:09 +02:00
BuildRequires : cups-devel
2011-06-16 16:08:46 +02:00
BuildRequires : pkgconfig(colord)
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(dbus-glib-1)
BuildRequires : pkgconfig(fontconfig)
BuildRequires : pkgconfig(gconf-2.0)
BuildRequires : pkgconfig(glib-2.0)
2011-04-28 10:28:09 +02:00
%if 0%{?BUILD_FROM_VCS}
BuildRequires : gnome-common
%endif
BuildRequires : pkgconfig(gnome-desktop-3.0)
BuildRequires : pkgconfig(gsettings-desktop-schemas)
BuildRequires : pkgconfig(gtk+-3.0)
BuildRequires : pkgconfig(gudev-1.0)
2011-06-16 16:08:46 +02:00
BuildRequires : pkgconfig(lcms2)
2011-04-28 10:28:09 +02:00
BuildRequires : pkgconfig(libcanberra-gtk3)
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(libgnomekbd)
BuildRequires : pkgconfig(libgnomekbdui)
BuildRequires : pkgconfig(libnotify)
BuildRequires : pkgconfig(libpulse)
BuildRequires : pkgconfig(libxklavier)
BuildRequires : pkgconfig(nss)
2011-04-28 10:28:09 +02:00
BuildRequires : pkgconfig(packagekit-glib2)
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(polkit-gobject-1)
2011-04-28 10:28:09 +02:00
BuildRequires : pkgconfig(upower-glib)
2011-06-16 17:34:32 +02:00
BuildRequires : pkgconfig(xfixes)
2010-09-13 12:18:45 +02:00
BuildRequires : pkgconfig(xi)
2011-04-28 10:28:09 +02:00
Requires : gsettings-desktop-schemas
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
2010-08-09 22:51:53 +02:00
# Split so people can depend on this only if needed
Requires : %{name} -polkit-datetime = %{version}
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.
2010-08-09 22:51:53 +02:00
%package polkit-datetime
License : GPLv2+
Summary : PolicyKit helper to set the system date and time
Group : System/GUI/GNOME
Requires : timezone
%description polkit-datetime
This package contains a PolicyKit helper to set the system date and
time.
2008-01-28 04:34:00 +01:00
%package devel
2009-12-08 10:41:39 +01:00
License : GPLv2+
2008-01-28 04:34:00 +01:00
Summary : Development package for the GNOME settings daemon
Group : System/GUI/GNOME
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
%if !0%{?BUILD_FROM_VCS}
# Disabled because of the non-rebased patches
#gnome-patch-translation-prepare
#%patch2 -p0
#%patch8 -p0
#%patch10 -p0
2009-07-31 19:33:52 +02:00
# PATCH-NEEDS-REBASE
#%patch11 -p1
2011-04-28 10:28:09 +02:00
# PATCH-NEEDS-REBASE
#%patch13 -p0
# PATCH-NEEDS-REBASE
#%patch14 -p0
# PATCH-NEEDS-REBASE
#%patch15 -p0
%endif
%if 0%{?BUILD_FROM_VCS}
NOCONFIGURE=1 /usr/bin/gnome-autogen.sh
%endif
2008-01-28 04:34:00 +01:00
%build
2011-04-28 10:28:09 +02:00
# Disabled because of the non-rebased patches
#autoreconf -f -i
2008-01-28 04:34:00 +01:00
%configure \
2011-04-28 10:28:09 +02:00
--libexecdir=%{_libexecdir} /gnome-settings-daemon-3.0 \
2011-04-28 11:13:15 +02:00
--enable-gconf-bridge \
2011-06-16 16:08:46 +02:00
--disable-static \
--with-pnpids=%{_datadir} /libgnome-desktop-3.0/pnp.ids
2011-04-28 10:28:09 +02:00
make %{?jobs:-j%jobs} V=1
2008-01-28 04:34:00 +01:00
%install
%makeinstall
2010-01-18 14:20:07 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
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
2011-04-28 10:28:09 +02:00
%{_datadir} /dbus-1/interfaces/org.gnome.SettingsDaemonUpdates.xml
2011-04-28 11:13:15 +02:00
%{_datadir} /dbus-1/services/org.gnome.SettingsDaemon.service
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/
%dir %{_libexecdir} /gnome-settings-daemon-3.0
%{_libexecdir} /gnome-settings-daemon-3.0/gnome-settings-daemon
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-locate-pointer
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-printer
2011-04-28 11:13:15 +02:00
%if "%{_libdir}" != "%{_libexecdir}"
%dir %{_libdir} /gnome-settings-daemon-3.0/
%endif
%{_libdir} /gnome-settings-daemon-3.0/*.gnome-settings-plugin
%{_libdir} /gnome-settings-daemon-3.0/*.so
2008-06-25 19:24:22 +02:00
%{_sysconfdir} /xdg/autostart/*.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
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
%{_datadir} /glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.xml
%{_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
2008-08-18 18:37:47 +02:00
%{_datadir} /icons/*/*/*
2011-04-28 10:28:09 +02:00
%{_mandir} /man1/gnome-settings-daemon.1*
# 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
%{_mandir} /man1/*
2008-01-28 04:34:00 +01:00
2010-08-09 22:51:53 +02:00
%files polkit-datetime
%defattr (-,root,root)
2011-04-28 10:28:09 +02:00
%{_libexecdir} /gnome-settings-daemon-3.0/gsd-datetime-mechanism
2010-08-09 22:51:53 +02:00
%{_datadir} /dbus-1/system-services/org.gnome.SettingsDaemon.DateTimeMechanism.service
%{_datadir} /polkit-1/actions/org.gnome.settingsdaemon.datetimemechanism.policy
%{_sysconfdir} /dbus-1/system.d/org.gnome.SettingsDaemon.DateTimeMechanism.conf
%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