%define url_ver %(echo %{version} | cut -d. -f1,2) Summary: Configuration settings manager for Xfce Name: xfce4-settings Version: 4.14.0 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce Url: https://www.xfce.org Source0: https://archive.xfce.org/src/xfce/xfce4-settings/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: git-core BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(exo-2) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(garcon-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(inputproto) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxfce4kbd-private-3) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfconf-0) BuildRequires: pkgconfig(libxklavier) BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xorg-libinput) BuildRequires: pkgconfig(xrandr) Recommends: xfce4-screensaver %description Configuration settings manager for Xfce desktop environment. %prep %autosetup -p1 -Sgit_am %build %configure2_5x \ --enable-maintainer-mode \ --enable-sound-settings \ --enable-libnotify \ --enable-xrandr \ --enable-xcursor \ --enable-libxklavier \ --enable-pluggable-dialogs \ --with-pnp-ids-path=%{_datadir}/misc/pnp.ids %make_build %install %make_install # (tpg) this file is in %{_real_vendor}-xfce-config package rm -rf %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml %find_lang %{name} %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS TODO %dir %{_sysconfdir}/xdg/xfce4/xfconf/ %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/ %{_sysconfdir}/xdg/autostart/xfsettingsd.desktop %{_sysconfdir}/xdg/menus/xfce-settings-manager.menu %dir %{_libdir}/xfce4/settings/ %{_libdir}/xfce4/settings/appearance-install-theme %{_bindir}/xfsettingsd %{_bindir}/xfce4* %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/*.{png,svg}