Name: xscreensaver Version: 5.35 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: Aleph0 Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz URL: http://www.jwz.org/xscreensaver/ License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglade-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libGLU-devel BuildRequires: libgtk-devel BuildRequires: libICE-devel BuildRequires: libjpeg-devel BuildRequires: libpango-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXinerama-devel BuildRequires: libxml2-devel BuildRequires: libXmu-devel BuildRequires: libXpm-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXt-devel BuildRequires: libXxf86misc-devel BuildRequires: libXxf86vm-devel BuildRequires: pam-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: bc BuildRequires: gettext-devel BuildRequires: xorg-proto-devel BuildRequires: pkgconfig BuildRequires: libpng-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root # Warning: The "pkg-config" program produces errors. This often causes # detection of the various GTK libraries to malfunction. # The errors are: # # > Package xp was not found in the pkg-config search path. # > Perhaps you should add the directory containing `xp.pc' # > to the PKG_CONFIG_PATH environment variable # > Package 'xp', required by 'Xaw', not found %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} %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 Requires: %{name} = %{version}-%{release} %description daemon Daemon with configuration tool for controlling screen savers. %prep %setup -q %build %configure \ %ifarch x86_64 --libexecdir=/usr/libexec \ %endif --with-gl \ --without-motif \ --with-pam \ --without-kerberos \ --with-configdir=%{_sysconfdir}/xscreensaver/ \ --with-x-app-defaults=%{_sysconfdir}/X11/app-defaults/ # --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 %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} rm -f filelist-main filelist-gl %files daemon %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/pam.d/xscreensaver %attr(4755,root,root) %{_bindir}/xscreensaver %{_bindir}/xscreensaver-command %{_bindir}/xscreensaver-demo %{_bindir}/xscreensaver-getimage %{_bindir}/xscreensaver-getimage-file %{_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.* %dir %{_datadir}/xscreensaver %{_datadir}/xscreensaver/glade %{_datadir}/pixmaps/* %{_datadir}/applications/xscreensaver-properties.desktop %config %{_sysconfdir}/X11/app-defaults/XScreenSaver %doc README* %files -f filelist-main %defattr(-,root,root) %files -f filelist-gl gl %defattr(-,root,root) %changelog * 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 * Tue Feb 05 2004 Davide Madrisan 4.14-1qilnx - first build