%global _trivial .0 %global _buildid .1 %global xfceversion 4.20 Name: xfce4-settings Version: 4.20.1 Release: 1%{dist}%{?_trivial}%{?_buildid} Summary: Settings Manager for Xfce # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: http://www.xfce.org/ #VCS git:git://git.xfce.org/xfce/xfce4-settings Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 # Use Fedora theme and font settings Patch10: xfce4-settings-%{xfceversion}-fedora.patch %if %{?amzn} == 2023 BuildRequires: gcc14 BuildRequires: gcc14-c++ %global toolchain gcc14 %else BuildRequires: gcc-c++ %endif BuildRequires: make BuildRequires: gettext BuildRequires: intltool BuildRequires: exo-devel >= 0.5.0 BuildRequires: libxfce4ui-devel >= %{xfceversion} BuildRequires: libxfce4util-devel >= %{xfceversion} BuildRequires: xfconf-devel >= %{xfceversion} BuildRequires: desktop-file-utils >= 0.7 BuildRequires: libnotify-devel BuildRequires: colord-devel BuildRequires: libcanberra-devel BuildRequires: libxklavier-devel %ifnarch s390 s390x BuildRequires: xorg-x11-drv-libinput-devel %endif BuildRequires: libXrandr-devel BuildRequires: garcon-devel >= %{xfceversion} Requires: xfconf %if 0%{?rhel} <= 7 Requires: gnome-icon-theme %endif %description This package includes the settings manager applications for the Xfce desktop. %prep %setup -q %patch -P10 %build %configure --enable-sound-settings --enable-pluggable-dialogs --enable-maintainer-mode --enable-xorg-libinput %make_build %install %make_install for file in %{buildroot}%{_datadir}/applications/*.desktop ; do desktop-file-install \ --add-category="X-XFCE" \ --remove-category="XFCE" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ $file done find %{buildroot} -name libxfsettingsd-gtk-settings-sync.la -delete %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml %config(noreplace) %{_sysconfdir}/xdg/autostart/xfsettingsd.desktop %config(noreplace) %{_sysconfdir}/xdg/menus/xfce-settings-manager.menu %config(noreplace) %{_sysconfdir}/xdg/xfce4/helpers.rc %{_bindir}/xfce4-mime-helper %{_bindir}/xfce4-*-settings %{_bindir}/xfce4-settings-editor %{_bindir}/xfce4-settings-manager %{_bindir}/xfsettingsd %{_bindir}/xfce4-find-cursor %{_datadir}/applications/xfce*.desktop %{_libdir}/xfce4 %{_libdir}/gtk-3.0/modules/libxfsettingsd-gtk-settings-sync.so %{_datadir}/icons/hicolor/*/*/*xfce* %{_datadir}/xfce4/helpers/*.desktop %changelog %autochangelog