diff --git a/xscreensaver-autostart b/xscreensaver-autostart new file mode 100644 index 0000000..b8f0be4 --- /dev/null +++ b/xscreensaver-autostart @@ -0,0 +1,4 @@ +[Desktop Entry] +Name=Screensaver +Type=Application +Exec=xscreensaver -nosplash diff --git a/xscreensaver.spec b/xscreensaver.spec index fb80cfe..d537ad2 100644 --- a/xscreensaver.spec +++ b/xscreensaver.spec @@ -1,5 +1,5 @@ Name: xscreensaver -Version: 5.40 +Version: 5.43 Release: 1mamba Summary: A screen saver and locker for the X Window System Group: Graphical Desktop/Look 'n' feel/Screensavers @@ -7,6 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Aleph0 Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz +Source1: xscreensaver-autostart URL: http://www.jwz.org/xscreensaver/ License: GPL ## AUTOBUILDREQ-BEGIN @@ -43,6 +44,7 @@ BuildRequires: gettext-devel BuildRequires: xorg-proto-devel BuildRequires: pkgconfig BuildRequires: libpng-devel +Requires: xscreensaver-daemon BuildRoot: %{_tmppath}/%{name}-%{version}-root # Warning: The "pkg-config" program produces errors. This often causes @@ -64,6 +66,7 @@ See also the xscreensaver-gl package, which includes optional OpenGL display mod Group: Graphical Desktop/Look 'n' feel/Screensavers Summary: A set of GL screensavers Requires: %{name} = %{version}-%{release} +Requires: xscreensaver-daemon %description gl The xscreensaver-gl package contains even more screensavers for your mind-numbing, ambition-eroding, time-wasting, hypnotized viewing pleasure. @@ -73,7 +76,6 @@ Install the xscreensaver-gl package if you need more screensavers for use with t %package daemon Group: Graphical Desktop/Look 'n' feel/Screensavers Summary: Daemon with configuration tool for controlling screen savers -Requires: %{name} = %{version}-%{release} %description daemon Daemon with configuration tool for controlling screen savers. @@ -83,13 +85,12 @@ Daemon with configuration tool for controlling screen savers. %build %configure \ -%ifarch x86_64 - --libexecdir=/usr/libexec \ -%endif --with-gl \ --without-motif \ --with-pam \ --without-kerberos \ + --with-login-manager \ + --with-systemd \ --with-configdir=%{_sysconfdir}/xscreensaver/ \ --with-x-app-defaults=%{_sysconfdir}/X11/app-defaults/ @@ -129,12 +130,15 @@ chmod -R a+r,u+w,og-w %{buildroot} install -D -m0644 driver/xscreensaver.pam %{buildroot}%{_sysconfdir}/pam.d/xscreensaver +install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop + %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} rm -f filelist-main filelist-gl %files daemon %defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/xscreensaver.desktop %config(noreplace) %{_sysconfdir}/pam.d/xscreensaver %attr(4755,root,root) %{_bindir}/xscreensaver %{_bindir}/xscreensaver-command @@ -144,12 +148,13 @@ rm -f filelist-main filelist-gl %{_bindir}/xscreensaver-getimage-video %{_bindir}/xscreensaver-text %{_mandir}/man1/xscreensaver.* -%{_mandir}/man1/xscreensaver-command.* -%{_mandir}/man1/xscreensaver-demo.* -%{_mandir}/man1/xscreensaver-getimage.* -%{_mandir}/man1/xscreensaver-getimage-file.* -%{_mandir}/man1/xscreensaver-getimage-video.* -%{_mandir}/man1/xscreensaver-text.* +%{_mandir}/man1/xscreensaver-command.1* +%{_mandir}/man1/xscreensaver-demo.1* +%{_mandir}/man1/xscreensaver-getimage.1* +%{_mandir}/man1/xscreensaver-getimage-file.1* +%{_mandir}/man1/xscreensaver-getimage-video.1* +%{_mandir}/man1/xscreensaver-systemd.1* +%{_mandir}/man1/xscreensaver-text.1* %dir %{_datadir}/xscreensaver %{_datadir}/xscreensaver/glade %{_datadir}/pixmaps/* @@ -164,6 +169,9 @@ rm -f filelist-main filelist-gl %defattr(-,root,root) %changelog +* Sat Jul 06 2019 Silvan Calarco 5.43-1mamba +- update to 5.43 + * Thu Aug 23 2018 Automatic Build System 5.40-1mamba - automatic version update by autodist