Summary: Provides settings to X11 applications via the XSETTINGS specification Name: xsettingsd Version: 1.0.2 Release: 4 Group: Graphical desktop/Other License: BSD Url: https://github.com/derat/xsettingsd Source0: https://github.com/derat/xsettingsd/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{name}.conf BuildRequires: cmake BuildRequires: pkgconfig(x11) %systemd_requires %description xsettingsd is a daemon that implements the XSETTINGS specification. It is intended to be small, fast, and minimally dependent on other libraries. It can serve as an alternative to gnome-settings-daemon for users who are not using the GNOME desktop environment but who still run GTK+ applications and want to configure things such as themes, font antialiasing/hinting, and UI sound effects. %prep %autosetup -p1 %build %cmake %make_build %install %make_install -C build mkdir -p %{buildroot}%{_sysconfdir}/%{name} install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf %post %systemd_user_post %{name}.service %postun %systemd_user_postun %{name}.service %files %doc COPYING README.md %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %{_bindir}/%{name} %{_bindir}/dump_xsettings %doc %{_mandir}/man1/%{name}.1.* %doc %{_mandir}/man1/dump_xsettings.1.* %{_userunitdir}/%{name}.service