gnome-settings-daemon/gnome-settings-daemon.spec

202 lines
7.9 KiB
RPMSpec
Raw Normal View History

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
%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
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}
%global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version %%(echo %{version} | cut -f 1 -d '~' | cut -f 1 -d '.')
2010-05-16 04:03:01 +00:00
Name: gnome-settings-daemon
2023-02-15 22:05:30 +00:00
Version: 44~beta
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
License: GPLv2+
2022-01-10 10:03:09 +00:00
URL: https://gitlab.gnome.org/GNOME/gnome-settings-daemon
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
BuildRequires: gcc
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)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gcr-4)
BuildRequires: pkgconfig(geoclue-2.0) >= %{geoclue_version}
BuildRequires: pkgconfig(geocode-glib-2.0) >= %{geocode_glib_version}
2017-06-12 19:01:32 +00:00
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
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)
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)
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)
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
BuildRequires: pkgconfig(libwacom) >= 0.7
BuildRequires: pkgconfig(xorg-wacom)
%endif
2009-12-18 16:21:09 +00:00
2019-06-25 06:58:14 +00:00
Requires: colord >= %{colord_version}
Requires: iio-sensor-proxy
2013-09-03 18:57:16 +00:00
Requires: geoclue2 >= %{geoclue_version}
Requires: geocode-glib2%{?_isa} >= %{geocode_glib_version}
2017-06-12 19:01:32 +00:00
Requires: glib2%{?_isa} >= %{glib2_version}
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}
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
%autosetup -p1 -n %{name}-%{tarball_version}
2009-02-05 04:33:18 +00:00
%build
%meson
%meson_build
2008-01-17 18:38:42 +00:00
%install
%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
%license COPYING
2022-06-16 08:02:17 +00:00
%doc AUTHORS NEWS README
2011-02-23 16:49:25 +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
%{_libexecdir}/gsd-datetime
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop
2013-09-03 18:57:16 +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
%{_libexecdir}/gsd-keyboard
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
2011-02-23 16:49:25 +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
%{_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
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.override
2011-02-23 16:49:25 +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
%{_libexecdir}/gsd-rfkill
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop
%{_libexecdir}/gsd-screensaver-proxy
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
2012-12-20 22:00:28 +00:00
%{_libexecdir}/gsd-smartcard
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop
2011-02-23 16:49:25 +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
%{_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
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop
2017-02-17 13:13:31 +00:00
%ifnarch s390 s390x
%{_libexecdir}/gsd-wacom
%{_libexecdir}/gsd-wacom-oled-helper
2012-03-05 19:38:02 +00:00
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy
%endif
2011-02-23 16:49:25 +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
%{_libexecdir}/gsd-a11y-settings
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop
2011-03-25 17:13:51 +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
%{_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
%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/
%{_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
%{_includedir}/gnome-settings-daemon-%{major_version}
2008-01-17 18:38:42 +00:00
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
2008-01-17 18:38:42 +00:00
%changelog
2023-02-22 14:52:39 +00:00
%autochangelog