xfce4-settings/xfce4-settings.spec

88 lines
2.5 KiB
RPMSpec
Raw Normal View History

2021-06-16 11:22:00 +08:00
%global xfceversion 4.16
2020-07-12 13:48:45 +08:00
Name: xfce4-settings
2022-06-23 14:34:56 +08:00
Version: 4.16.2
2022-11-10 15:29:58 +08:00
Release: 2
2020-07-12 13:48:45 +08:00
Summary: Settings Manager for Xfce
License: GPLv2+
URL: http://www.xfce.org/
Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
# theme and font settings
2021-06-16 11:22:00 +08:00
Patch10: xfce4-settings-4.14.patch
2022-11-10 15:29:58 +08:00
Patch11: fix_CVE-2022-45062.patch
2021-06-16 11:22:00 +08:00
BuildRequires: make
2020-07-12 13:48:45 +08:00
BuildRequires: gcc-c++
2021-06-16 11:22:00 +08:00
BuildRequires: gettext
BuildRequires: intltool
2020-07-12 13:48:45 +08:00
BuildRequires: exo-devel >= 0.5.0
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: libxfce4util-devel >= %{xfceversion}
BuildRequires: xfconf-devel >= %{xfceversion}
2021-06-16 11:22:00 +08:00
BuildRequires: desktop-file-utils >= 0.7
2020-07-12 13:48:45 +08:00
BuildRequires: libnotify-devel
BuildRequires: colord-devel
BuildRequires: libcanberra-devel
BuildRequires: libxklavier-devel
2021-06-16 11:22:00 +08:00
BuildRequires: xorg-x11-drv-libinput-devel
2020-07-12 13:48:45 +08:00
BuildRequires: libXrandr-devel
BuildRequires: garcon-devel >= 0.1.10
Requires: xfconf
%description
This package includes the settings manager applications for the Xfce desktop.
%prep
%setup -q
2021-06-16 11:22:00 +08:00
%patch10
2022-11-10 15:29:58 +08:00
%patch11 -p1
2021-06-16 11:22:00 +08:00
2020-07-12 13:48:45 +08:00
%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_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS TODO
%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
2021-06-16 11:22:00 +08:00
%config(noreplace) %{_sysconfdir}/xdg/xfce4/helpers.rc
%{_bindir}/xfce4-mime-helper
2020-07-12 13:48:45 +08:00
%{_bindir}/xfce4-*-settings
%{_bindir}/xfce4-settings-editor
%{_bindir}/xfce4-settings-manager
%{_bindir}/xfsettingsd
%{_bindir}/xfce4-find-cursor
%{_datadir}/applications/xfce*.desktop
2021-06-16 11:22:00 +08:00
%{_libdir}/xfce4
%{_datadir}/icons/hicolor/*/*/*xfce*
%{_datadir}/xfce4/helpers/*.desktop
2020-07-12 13:48:45 +08:00
%changelog
2022-11-10 15:29:58 +08:00
* Thu Nov 10 2022 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 4.16.2-2
- Fix CVE-2022-45062
2022-06-23 14:34:56 +08:00
* Mon Jun 20 2022 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.2-1
- Update to 4.16.2
2021-06-16 11:22:00 +08:00
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.16.0-1
- Update to 4.16.0
2020-07-12 13:48:45 +08:00
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.3-1
- Init package