%define dirver %(echo %version | cut -d. -f1-2) Name: xscreensaver Version: 6.09 Release: 1mamba Summary: A screen saver and locker for the X Window System Group: Graphical Desktop/Look 'n' feel/Screensavers Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.jwz.org/xscreensaver/ Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz Source1: xscreensaver-autostart License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXt-devel BuildRequires: libXxf86vm-devel BuildRequires: libat-spi2-core-devel BuildRequires: libavcodec-devel BuildRequires: libavformat-devel BuildRequires: libavutil-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libglu-devel BuildRequires: libglvnd-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libjpeg-devel BuildRequires: libpam-devel BuildRequires: libpango-devel BuildRequires: libperl BuildRequires: libswresample-devel BuildRequires: libswscale-devel BuildRequires: libsystemd-devel BuildRequires: libxcrypt-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: bc BuildRequires: gettext-devel BuildRequires: xorg-proto-devel BuildRequires: pkgconf BuildRequires: libpng-devel BuildRequires: libgdk-pixbuf-xlib-devel Requires: xscreensaver-daemon %description A modular screen saver and locker for the X Window System. Highly customizable: allows the use of any program that can draw on the root window as a display mode. More than 175 display modes are included in this package. See also the xscreensaver-gl package, which includes optional OpenGL display modes. %package gl 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. These screensavers require OpenGL or Mesa support. Install the xscreensaver-gl package if you need more screensavers for use with the X Window System and you have OpenGL or Mesa installed. %package daemon Group: Graphical Desktop/Look 'n' feel/Screensavers Summary: Daemon with configuration tool for controlling screen savers %description daemon Daemon with configuration tool for controlling screen savers. %debug_package %prep %setup -q -n %{name}-%{dirver} %build # configure macro fails due to --disable-dependency-tracking ./configure \ --host=%{_host} --build=%{_build} \ --prefix=%{_prefix} \ --exec-prefix=%{_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --with-gl \ --without-motif \ --with-pam \ --without-kerberos \ --with-login-manager \ --with-systemd \ --with-configdir=%{_sysconfdir}/xscreensaver/ # --with-image-directory=/opt/kde/share/wallpapers/ # --with-setuid-hacks %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall install_prefix=%{buildroot} #% find_lang %{name} # this function prints a list of things that get installed. # it does this by parsing the output of a dummy run of "make install". list_files() { make -s install_prefix=%{buildroot} INSTALL=true "$@" | sed -n -e 's@.* \(/[^ ]*\)$@\1@p' | sed -e "s@^%{buildroot}@@" \ -e "s@/[a-z][a-z]*/\.\./@/@" | sed -e 's@\(.*/man/.*\)@\1\*@' | sed -e 's@\(.*/app-defaults/\)@%config \1@' \ -e 's@\(.*/pam\.d/\)@%config(missingok) \1@' | sort } ( cd hacks/glx; list_files install ) > filelist-gl ( cd hacks; list_files install ) > filelist-main #cat %{name}.lang >> filelist-gl rm -f %{buildroot}%{_sysconfdir}/xscreensaver/README # make sure all files are readable by all, and writable only by owner 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}/X11/app-defaults/XScreenSaver %{_sysconfdir}/xdg/autostart/xscreensaver.desktop %config(noreplace) %{_sysconfdir}/pam.d/xscreensaver %{_bindir}/xscreensaver %{_bindir}/xscreensaver-* %{_libexecdir}/xscreensaver/xscreensaver-* %attr(4755,root,root) %{_libexecdir}/xscreensaver/xscreensaver-auth %{_datadir}/applications/xscreensaver-settings.desktop %{_datadir}/applications/xscreensaver.desktop %{_datadir}/X11/app-defaults/XScreenSaver %dir %{_datadir}/fonts/xscreensaver #%{_datadir}/fonts/xscreensaver/*.otf %{_datadir}/fonts/xscreensaver/*.ttf %dir %{_datadir}/xscreensaver %{_datadir}/xscreensaver/xscreensaver.service #%dir %{_datadir}/xscreensaver/ui #%{_datadir}/xscreensaver/ui/* %{_mandir}/man1/xscreensaver.* %{_mandir}/man1/xscreensaver-*.1* %{_mandir}/man6/xscreensaver-*.6* %{_datadir}/pixmaps/* #%{_datadir}/applications/xscreensaver-properties.desktop %doc README* %files -f filelist-main %defattr(-,root,root) %files -f filelist-gl gl %defattr(-,root,root) %changelog * Mon Jun 10 2024 Automatic Build System 6.09-1mamba - automatic version update by autodist * Wed Oct 11 2023 Automatic Build System 6.08-1mamba - automatic version update by autodist * Thu Aug 31 2023 Automatic Build System 6.07-1mamba - automatic version update by autodist * Mon Dec 12 2022 Automatic Build System 6.06-1mamba - automatic version update by autodist * Mon Sep 19 2022 Automatic Build System 6.05.1-1mamba - automatic version update by autodist * Wed Jun 08 2022 Automatic Build System 6.04-1mamba - automatic version update by autodist * Fri Apr 01 2022 Silvan Calarco 6.03-1mamba - update to 6.03 - install suid %{_libexecdir}/xscreensaver/xscreensaver-auth instaed of %{_bindir}/xscreensaver * Thu Oct 14 2021 Automatic Build System 6.02-1mamba - automatic version update by autodist * Tue Jul 13 2021 Silvan Calarco 6.01-1mamba - update to 6.01 * Sat Apr 03 2021 Automatic Build System 6.00-1mamba - automatic version update by autodist * Mon Mar 01 2021 Automatic Build System 5.45-1mamba - automatic version update by autodist * Sun Mar 29 2020 Automatic Build System 5.44-1mamba - automatic version update by autodist * 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 * Thu Apr 19 2018 Automatic Build System 5.39-1mamba - automatic version update by autodist * Wed Dec 27 2017 Automatic Build System 5.38-1mamba - automatic version update by autodist * Sun Aug 13 2017 Automatic Build System 5.37-1mamba - automatic version update by autodist * Sat Oct 15 2016 Automatic Build System 5.36-1mamba - automatic version update by autodist * Tue Jun 28 2016 Automatic Build System 5.35-1mamba - automatic version update by autodist * Wed Oct 28 2015 Automatic Build System 5.34-1mamba - automatic version update by autodist * Wed Jul 15 2015 Automatic Build System 5.33-1mamba - automatic version update by autodist * Tue Nov 25 2014 Automatic Build System 5.32-1mamba - automatic version update by autodist * Wed Sep 17 2014 Automatic Build System 5.30-1mamba - automatic version update by autodist * Mon Jun 09 2014 Automatic Build System 5.29-1mamba - automatic version update by autodist * Sun Jun 08 2014 Automatic Build System 5.28-1mamba - automatic version update by autodist * Thu Dec 12 2013 Automatic Build System 5.26-1mamba - automatic version update by autodist * Mon Nov 25 2013 Automatic Build System 5.23-1mamba - automatic version update by autodist * Mon Jul 22 2013 Automatic Build System 5.22-1mamba - automatic version update by autodist * Mon Mar 04 2013 Silvan Calarco 5.21-2mamba - move daemon and configuration tool to xscreensaver-daemon subpackage to avoid duplicating DE management * Thu Feb 07 2013 Automatic Build System 5.21-1mamba - automatic version update by autodist * Sun Dec 02 2012 Automatic Build System 5.20-1mamba - automatic version update by autodist * Sun Dec 11 2011 Silvan Calarco 5.15-1mamba - update to 5.15 - don't set kde wallpapers dir as image directory * Thu Jan 27 2011 Silvan Calarco 5.12-1mamba - update to 5.12 * Sat Jan 30 2010 Silvan Calarco 5.10-1mamba - update to 5.10 - added pam configuration file * Mon Oct 13 2008 Aleph0 5.07-1mamba - update to 5.07 * Tue Oct 23 2007 Aleph0 5.03-1mamba - update to 5.03 - xml files moved to %{_sysconfdir}/xscreensaver (configdir) - saver configuration moved to %{_sysconfdir}/X11/app-defaults * Wed May 09 2007 Aleph0 5.02-1mamba - update to 5.02 (fixes CVE-2007-1859) * Tue Jan 23 2007 Davide Madrisan 5.01-1qilnx - update to version 5.01 by autospec - added build requirements for xorg7 and libfontenc - using xorg7 default path for app-defaults files - disable kerberos support, use pam instead * Thu Feb 05 2004 Davide Madrisan 4.14-1qilnx - first build