2008-01-28 04:34:00 +01:00
#
2010-05-14 00:36:34 +02:00
# spec file for package gnome-settings-daemon (Version 2.30.0)
2008-01-28 04:34:00 +01:00
#
2010-01-18 14:20:07 +01:00
# Copyright (c) 2010 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
%define _name gnome-settings-daemon
2010-05-14 00:36:34 +02:00
Version : 2.30.0
2009-09-04 02:03:30 +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
2008-01-28 04:34:00 +01:00
Source : %{_name}-%{version} .tar.bz2
2008-08-15 23:38:13 +02:00
# PATCH-FEATURE-OPENSUSE gnome-settings-daemon-system-proxy-configuration.diff
Patch2 : gnome-settings-daemon-system-proxy-configuration.diff
2008-09-26 15:22:41 +02:00
# PATCH-FIX-UPSTREAM gnome-settings-daemon-bnc427745-force-dpi.patch bnc427745 bgo553652 vuntz@novell.com -- Force the DPI to 96 right now to avoid big fonts.
Patch6 : gnome-settings-daemon-bnc427745-force-dpi.patch
2009-02-07 00:58:13 +01:00
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-apport-monitor.patch bnc439203 jblunck@novell.com -- Add apport monitoring plugin.
2008-11-03 12:08:40 +01:00
Patch8 : gnome-settings-daemon-apport-monitor.patch
2009-02-20 22:09:29 +01: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
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
2009-12-04 23:48:24 +01:00
# 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)
Patch13 : gnome-settings-daemon-add-layout-switcher.patch
2009-09-04 02:03:31 +02:00
BuildRequires : fdupes
BuildRequires : gnome-common
BuildRequires : gnome-desktop-devel
BuildRequires : gnome-patch-translation
BuildRequires : intltool
2009-12-04 23:48:24 +01:00
BuildRequires : libcanberra-devel
2009-09-04 02:03:31 +02:00
BuildRequires : libgnomekbd-devel
BuildRequires : libnotify-devel
BuildRequires : libpulse-devel
BuildRequires : update-desktop-files
BuildRequires : xorg-x11
2008-01-28 04:34:00 +01:00
Requires : %{name} -lang = %{version}
2008-09-09 22:09:46 +02:00
Obsoletes : resapplet
2008-01-28 04:34:00 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%gconf_schemas_prereq
%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
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}
Requires : dbus-1-devel
Requires : dbus-1-glib-devel
Requires : glib2-devel
Requires : gnome-desktop-devel
Requires : gnome-menus-devel
Requires : gtk2-devel
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
%setup -q -n %{_name}-%{version}
2008-10-23 22:28:48 +02:00
gnome-patch-translation-prepare
2010-01-18 14:20:07 +01:00
%patch2 -p0
%patch6 -p0
%patch8 -p0
%patch10 -p0
2009-07-31 19:33:52 +02:00
# PATCH-NEEDS-REBASE
#%patch11 -p1
2010-01-18 14:20:07 +01:00
%patch13 -p0
2008-10-23 22:28:48 +02:00
gnome-patch-translation-update
2008-01-28 04:34:00 +01:00
%build
autoreconf -f -i
%configure \
--libexecdir=%{_prefix} /lib/gnome-settings-daemon\
2009-12-04 23:48:24 +01:00
--disable-static
2008-01-28 04:34:00 +01:00
make %{?jobs:-j%jobs}
%install
%makeinstall
2010-01-18 14:20:07 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-09-04 02:03:31 +02:00
rm %{buildroot} %{_libdir} /gnome-settings-daemon-2.0/*.*a
2009-02-07 00:58:13 +01:00
%suse_update_desktop_file gnome-settings-daemon
2008-01-28 04:34:00 +01:00
%find_lang %{_name}
%find_gconf_schemas
cat %{name} .schemas_list >gnome-%{name} .lst
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
2008-02-21 01:53:40 +01:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2008-01-28 04:34:00 +01:00
2008-02-21 01:53:40 +01:00
%pre -f %{name}.schemas_pre
2009-07-31 19:33:52 +02:00
2008-01-28 04:34:00 +01:00
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
2008-02-21 01:53:40 +01:00
%files -f gnome-%{name}.lst
2008-01-28 04:34:00 +01:00
%defattr (-,root,root)
2008-08-18 18:37:47 +02:00
%doc AUTHORS COPYING ChangeLog NEWS
2008-01-28 04:34:00 +01:00
%{_datadir} /dbus-1/services/org.gnome.SettingsDaemon.service
2008-02-21 01:53:40 +01:00
%{_datadir} /gnome-settings-daemon
%{_prefix} /lib/gnome-settings-daemon
%{_libdir} /gnome-settings-daemon-2.0
2008-06-25 19:24:22 +02:00
%{_sysconfdir} /xdg/autostart/*.desktop
2008-08-18 18:37:47 +02:00
%{_datadir} /icons/*/*/*
2009-03-25 18:27:06 +01:00
# Own the directories to avoid a build dependency on gnome-control-center
# (which creates a loop)
%dir %{_datadir} /gnome-control-center
%dir %{_datadir} /gnome-control-center/keybindings
2009-02-16 01:20:58 +01:00
%{_datadir} /gnome-control-center/keybindings/50-accessibility.xml
2008-01-28 04:34:00 +01:00
%files lang -f %{_name}.lang
%files devel
%defattr (-, root, root)
2008-02-21 01:53:40 +01:00
%{_includedir} /gnome-settings-daemon-2.0
2008-01-28 04:34:00 +01:00
%{_libdir} /pkgconfig/*.pc
%changelog