diff --git a/xfce4-session-4.14.2.tar.bz2 b/xfce4-session-4.14.2.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..609d03278c0d2ed548d4a73075ce42d5bee407e3 Binary files /dev/null and b/xfce4-session-4.14.2.tar.bz2 differ diff --git a/xfce4-session.spec b/xfce4-session.spec index a364439ddf1aa9402d3f0102eccfa60666202cfa..7df5496e83424f81da410ba64afa25e2391d0378 100644 --- a/xfce4-session.spec +++ b/xfce4-session.spec @@ -1,20 +1,18 @@ -%global xfceversion 4.16 - +%global xfceversion 4.14 Name: xfce4-session -Version: 4.16.0 -Release: 1 -Summary: Xfce session manager - +Version: 4.14.2 +Release: 2 +Summary: Session manager for the Xfce desktop environment. License: GPLv2+ +#Group: Development/Libraries URL: http://www.xfce.org/ Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 # Add a xfce-mimeapps.list to allow setting mime handlers for Xfce apps - -Source2: xfce-mimeapps.list +Source1: xfce-mimeapps.list # Patch startxfce4 to keep it on the same vty for logind Patch1: xfce-session-4.10-startxfce4.patch - -BuildRequires: make +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch BuildRequires: dbus-devel >= 1.1.0 BuildRequires: dbus-glib-devel >= 0.84 BuildRequires: glib2-devel >= 2.24.0 @@ -24,7 +22,7 @@ BuildRequires: libxfce4ui-devel >= %{xfceversion} BuildRequires: startup-notification-devel BuildRequires: xfce4-panel-devel >= %{xfceversion} BuildRequires: xfconf-devel >= %{xfceversion} -BuildRequires: iceauth xrdb xset +BuildRequires: xorg-x11-server-utils # Build tools BuildRequires: desktop-file-utils BuildRequires: gettext @@ -34,21 +32,15 @@ BuildRequires: libxslt BuildRequires: systemd-devel >= 195 BuildRequires: polkit-devel BuildRequires: libtool -Requires: iceauth xrdb xset +Requires: xorg-x11-server-utils Requires: xfce-polkit >= 0.2-2 Requires: systemd >= 195 -# Needed for exo desktop preferred applications Requires: exo Suggests: imsettings-xfce -Obsoletes: xfce-utils < 4.8.3-7 - -# splash screens no longer exists -Obsoletes: xfce4-session-engines <= 4.13.1 -Obsoletes: xfce4-session-devel <= 4.13.3 - %description -xfce4-session is the session manager for the Xfce desktop environment. +Its task is to save the state of your desktop (opened applications and their location) and restore +it during a next startup. You can create several different sessions and choose one of them on startup. %prep %autosetup -p1 @@ -65,22 +57,20 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %install %make_install -# remove xscreensaver autostart file -rm -fr %{buildroot}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop - find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %find_lang %{name} # install our xfce-mimeapps.list file to set mime handlers mkdir -p %{buildroot}%{_datadir}/applications -cp -a %{SOURCE2} %{buildroot}%{_datadir}/applications/xfce-mimeapps.list +cp -a %{SOURCE1} %{buildroot}%{_datadir}/applications/xfce-mimeapps.list %files -f %{name}.lang %license COPYING -%doc AUTHORS BUGS ChangeLog NEWS TODO +%doc AUTHORS BUGS ChangeLog NEWS README TODO %doc doc/FAQ doc/NEWS.pre-4.3 doc/README.Kiosk %{_sysconfdir}/xdg/xfce4 +%{_sysconfdir}/xdg/autostart/xscreensaver.desktop %{_bindir}/* %dir %{_libdir}/xfce4/session/ %{_libdir}/xfce4/session/xfsm-shutdown-helper @@ -92,8 +82,5 @@ cp -a %{SOURCE2} %{buildroot}%{_datadir}/applications/xfce-mimeapps.list %{_mandir}/man1/* %changelog -* Fri Jun 18 2021 zhanglin - 4.16.0-1 -- Update to 4.16.0 - * Sun Jul 12 Dillon Chen - 4.14.2-1 - Init package