2022-07-15 10:00:02 +00:00
|
|
|
%global glib2_version 2.58
|
2021-03-22 18:34:44 +00:00
|
|
|
%global colord_version 1.4.5
|
2022-07-18 11:57:16 +00:00
|
|
|
%global geocode_glib_version 3.26.3
|
2021-02-15 16:26:34 +00:00
|
|
|
%global gnome_desktop_version 3.37.1
|
2022-07-15 10:00:02 +00:00
|
|
|
%global gsettings_desktop_schemas_version 42
|
2019-01-09 18:28:21 +00:00
|
|
|
%global gtk3_version 3.15.3
|
2016-09-14 09:19:40 +00:00
|
|
|
%global geoclue_version 2.3.1
|
2013-06-02 16:40:28 +00:00
|
|
|
|
2022-06-16 08:02:17 +00:00
|
|
|
%ifnarch s390 s390x
|
|
|
|
%global wacom_unit org.gnome.SettingsDaemon.Wacom.service
|
|
|
|
%else
|
|
|
|
%global wacom_unit %{nil}
|
|
|
|
%endif
|
|
|
|
%global systemd_units org.gnome.SettingsDaemon.A11ySettings.service org.gnome.SettingsDaemon.Color.service org.gnome.SettingsDaemon.Datetime.service org.gnome.SettingsDaemon.Housekeeping.service org.gnome.SettingsDaemon.Keyboard.service org.gnome.SettingsDaemon.MediaKeys.service org.gnome.SettingsDaemon.Power.service org.gnome.SettingsDaemon.PrintNotifications.service org.gnome.SettingsDaemon.Rfkill.service org.gnome.SettingsDaemon.ScreensaverProxy.service org.gnome.SettingsDaemon.Sharing.service org.gnome.SettingsDaemon.Smartcard.service org.gnome.SettingsDaemon.Sound.service org.gnome.SettingsDaemon.UsbProtection.service org.gnome.SettingsDaemon.Wwan.service org.gnome.SettingsDaemon.XSettings.service %%{wacom_unit}
|
|
|
|
|
2021-02-15 14:03:53 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
2021-08-30 08:41:31 +00:00
|
|
|
%global major_version %%(echo %{version} | cut -f 1 -d '~' | cut -f 1 -d '.')
|
2021-02-15 14:03:53 +00:00
|
|
|
|
2010-05-16 04:03:01 +00:00
|
|
|
Name: gnome-settings-daemon
|
2023-04-19 11:41:20 +00:00
|
|
|
Version: 44.1
|
2023-02-22 14:52:39 +00:00
|
|
|
Release: %autorelease
|
2010-05-16 04:03:01 +00:00
|
|
|
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
|
|
|
|
2023-03-06 09:05:11 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2022-01-10 10:03:09 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-settings-daemon
|
2021-08-30 08:41:31 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
2018-01-12 15:12:14 +00:00
|
|
|
|
2018-07-29 17:45:11 +00:00
|
|
|
BuildRequires: gcc
|
2018-02-06 10:48:56 +00:00
|
|
|
BuildRequires: gettext
|
2022-06-16 08:02:17 +00:00
|
|
|
BuildRequires: meson >= 0.49.0
|
2018-02-06 14:35:55 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2022-06-16 08:02:17 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2016-08-26 07:59:24 +00:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
2019-06-25 06:58:14 +00:00
|
|
|
BuildRequires: pkgconfig(colord) >= %{colord_version}
|
2022-06-16 08:02:17 +00:00
|
|
|
BuildRequires: pkgconfig(cups)
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2022-07-19 15:34:37 +00:00
|
|
|
BuildRequires: pkgconfig(gcr-4)
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(geoclue-2.0) >= %{geoclue_version}
|
2022-07-18 11:57:16 +00:00
|
|
|
BuildRequires: pkgconfig(geocode-glib-2.0) >= %{geocode_glib_version}
|
2017-06-12 19:01:32 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2022-02-14 15:56:46 +00:00
|
|
|
BuildRequires: pkgconfig(gweather4)
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(lcms2) >= 2.2
|
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
2015-12-15 16:52:57 +00:00
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0)
|
2016-01-20 22:25:07 +00:00
|
|
|
BuildRequires: pkgconfig(libnm)
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
2019-08-26 21:00:28 +00:00
|
|
|
BuildRequires: pkgconfig(mm-glib)
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(nss)
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
2017-02-17 13:13:31 +00:00
|
|
|
%ifnarch s390 s390x
|
2015-07-22 09:00:56 +00:00
|
|
|
BuildRequires: pkgconfig(libwacom) >= 0.7
|
|
|
|
BuildRequires: pkgconfig(xorg-wacom)
|
2012-04-19 23:25:15 +00:00
|
|
|
%endif
|
2009-12-18 16:21:09 +00:00
|
|
|
|
2019-06-25 06:58:14 +00:00
|
|
|
Requires: colord >= %{colord_version}
|
2015-06-11 17:55:40 +00:00
|
|
|
Requires: iio-sensor-proxy
|
2013-09-03 18:57:16 +00:00
|
|
|
Requires: geoclue2 >= %{geoclue_version}
|
2022-07-18 11:57:16 +00:00
|
|
|
Requires: geocode-glib2%{?_isa} >= %{geocode_glib_version}
|
2017-06-12 19:01:32 +00:00
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
2013-06-02 16:40:28 +00:00
|
|
|
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
|
2013-09-03 18:57:16 +00:00
|
|
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
2014-04-05 16:30:24 +00:00
|
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
2022-02-14 15:56:46 +00:00
|
|
|
Requires: libgweather4%{?_isa}
|
2013-06-02 16:27:21 +00:00
|
|
|
|
2008-01-17 18:38:42 +00:00
|
|
|
%description
|
2008-02-29 22:26:07 +00:00
|
|
|
A daemon to share settings from GNOME to other applications. It also
|
2008-01-17 18:38:42 +00:00
|
|
|
handles global keybindings, as well as a number of desktop-wide settings.
|
|
|
|
|
2010-05-16 04:03:01 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2014-04-16 11:55:31 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2008-01-17 18:38:42 +00:00
|
|
|
|
2010-05-16 04:03:01 +00:00
|
|
|
%description devel
|
2008-01-17 18:38:42 +00:00
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2021-02-15 14:03:53 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2011-02-23 15:36:59 +00:00
|
|
|
|
2009-02-05 04:33:18 +00:00
|
|
|
%build
|
2018-02-06 10:48:56 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2008-01-17 18:38:42 +00:00
|
|
|
|
|
|
|
%install
|
2018-02-06 10:48:56 +00:00
|
|
|
%meson_install
|
2008-01-17 18:38:42 +00:00
|
|
|
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
2022-06-16 08:02:17 +00:00
|
|
|
%post
|
|
|
|
%systemd_user_post %{systemd_units}
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_user_preun %{systemd_units}
|
|
|
|
|
2008-01-17 18:38:42 +00:00
|
|
|
%files -f %{name}.lang
|
2023-03-20 06:38:02 +00:00
|
|
|
%license COPYING COPYING.LIB
|
2022-06-16 08:02:17 +00:00
|
|
|
%doc AUTHORS NEWS README
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
# list daemons explicitly, so we notice if one goes missing
|
2011-02-23 16:49:25 +00:00
|
|
|
# some of these don't have a separate gschema
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-datetime
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop
|
2013-09-03 18:57:16 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-housekeeping
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml
|
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-keyboard
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-media-keys
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.media-keys.gschema.xml
|
|
|
|
|
2011-09-06 22:56:22 +00:00
|
|
|
%{_libexecdir}/gsd-backlight-helper
|
|
|
|
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-power
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml
|
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-print-notifications
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.PrintNotifications.desktop
|
|
|
|
%{_libexecdir}/gsd-printer
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-rfkill
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop
|
2013-08-09 18:30:47 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-screensaver-proxy
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
|
2012-12-20 22:00:28 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-smartcard
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-sound
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Sound.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2020-02-18 06:49:41 +00:00
|
|
|
%{_libexecdir}/gsd-usb-protection
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop
|
|
|
|
|
2012-04-19 23:25:15 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml
|
2012-12-31 11:17:42 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.wacom.gschema.xml
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop
|
2012-04-19 23:25:15 +00:00
|
|
|
|
2017-02-17 13:13:31 +00:00
|
|
|
%ifnarch s390 s390x
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-wacom
|
2013-06-02 16:39:31 +00:00
|
|
|
%{_libexecdir}/gsd-wacom-oled-helper
|
2012-03-05 19:38:02 +00:00
|
|
|
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy
|
2012-04-19 23:25:15 +00:00
|
|
|
%endif
|
2011-02-23 16:49:25 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-xsettings
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop
|
2011-02-23 16:49:25 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
|
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-a11y-settings
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop
|
2011-03-25 17:13:51 +00:00
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-color
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop
|
2011-07-04 12:34:56 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml
|
|
|
|
|
2016-10-11 09:14:47 +00:00
|
|
|
%{_libexecdir}/gsd-sharing
|
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop
|
2014-06-25 09:31:42 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml
|
|
|
|
|
2019-08-26 21:00:28 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop
|
|
|
|
%{_libexecdir}/gsd-wwan
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.wwan.gschema.xml
|
|
|
|
|
2021-08-30 08:41:31 +00:00
|
|
|
%dir %{_libdir}/gnome-settings-daemon-%{major_version}
|
|
|
|
%{_libdir}/gnome-settings-daemon-%{major_version}/libgsd.so
|
2012-02-22 13:55:29 +00:00
|
|
|
|
2020-03-02 20:19:01 +00:00
|
|
|
%{_sysconfdir}/xdg/Xwayland-session.d/00-xrdb
|
2022-06-16 08:02:17 +00:00
|
|
|
%{_userunitdir}/gnome-session-x11-services-ready.target.wants/
|
|
|
|
%{_userunitdir}/gnome-session-x11-services.target.wants/
|
|
|
|
%{lua: for service in string.gmatch(rpm.expand('%{systemd_units}'), "[^%s]+") do print(rpm.expand('%{_userunitdir}/')..service..'\n') end}
|
|
|
|
%{_userunitdir}/*.target
|
|
|
|
%{_udevrulesdir}/61-gnome-settings-daemon-rfkill.rules
|
2008-01-17 18:38:42 +00:00
|
|
|
%{_datadir}/gnome-settings-daemon/
|
2010-11-02 15:55:07 +00:00
|
|
|
%{_datadir}/GConf/gsettings/gnome-settings-daemon.convert
|
2011-02-23 16:49:25 +00:00
|
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.enums.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.gschema.xml
|
|
|
|
|
2008-01-17 18:38:42 +00:00
|
|
|
%files devel
|
2021-08-30 08:41:31 +00:00
|
|
|
%{_includedir}/gnome-settings-daemon-%{major_version}
|
2008-01-17 18:38:42 +00:00
|
|
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
2012-10-01 16:12:19 +00:00
|
|
|
|
2008-01-17 18:38:42 +00:00
|
|
|
%changelog
|
2023-02-22 14:52:39 +00:00
|
|
|
%autochangelog
|