Summary: A set of X Window System screensavers. Name: xscreensaver Version: 4.16 Release: 3 Epoch: 1 License: BSD Group: Amusements/Graphics URL: http://www.jwz.org/xscreensaver/ Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz Source3: xscreensaver-fortune-standin Patch1: xscreensaver-4.06-rh.patch Patch2: xscreensaver-4.16-fixup-pam.patch Patch3: xscreensaver-4.16-use-htmlview.patch Patch4: xscreensaver-4.16-sanitize-gl-snake.patch #Patch20: xscreensaver-4.05-gtk-lock.patch #Patch21: xscreensaver-rh-imcjk.patch BuildPrereq: bc, pam-devel, XFree86-devel BuildPrereq: gtk2-devel libglade2-devel Requires: /etc/pam.d/system-auth, xloadimage, htmlview Obsoletes: xscreensaver-gl Buildroot: %{_tmppath}/xscreensaver-root %define stand_in_path %{_prefix}/X11R6/lib/xscreensaver/fortune %description The xscreensaver package contains a variety of screensavers for your mind-numbing, ambition-eroding, time-wasting, hypnotized viewing pleasure. %prep %setup -q %patch1 -p1 -b .rh %patch2 -p1 %patch3 -p1 %patch4 -p1 # This has some issues currently. #%patch20 -p1 -b .gtklock #%patch21 -p1 -b .cjkim %build cp /usr/share/libtool/config.{sub,guess} . autoconf CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" ./configure \ --prefix=%{_prefix}/X11R6 \ --without-motif --with-pam --with-gl --with-gtk2 \ --without-gnome \ --with-fortune=%{stand_in_path} # Change the default. If the fortune app isn't installed at compile-time, # xscreensaver defaults to /usr/games/fortune anyway, which screws us unless # xscreensaver is already installed, so force it. awk '/^#define FORTUNE_PROGRAM/ {print "#define FORTUNE_PROGRAM \"%{stand_in_path}\""; next} {print}' config.h > config.h.stand_in && cat config.h.stand_in > config.h make %install rm -rf $RPM_BUILD_ROOT export KDEDIR=%{_prefix} make install_prefix=$RPM_BUILD_ROOT \ KDEDIR=/usr \ GNOME_BINDIR=%{_prefix}/bin \ GNOME_DATADIR=%{_prefix}/share \ datadir=/usr/share \ install || : desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets \ --add-only-show-in GNOME \ --add-category X-Red-Hat-Base \ $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets/* # Install our stand-in for fortune in the right place, taking care to # error out if a module exists with the same name. We do this because # fortune is going away. The contents of the stand-in script can be modified # to call fortune if you still have it installed after an upgrade, or it # can be overridden from the configuration dialogs or using X resources. test -e $RPM_BUILD_ROOT/%{stand_in_path} && exit 1 || : install -m 755 $RPM_SOURCE_DIR/xscreensaver-fortune-standin \ $RPM_BUILD_ROOT/%{stand_in_path} mkdir -p $RPM_BUILD_ROOT/etc/pam.d install -m 644 driver/xscreensaver.pam \ $RPM_BUILD_ROOT/etc/pam.d/xscreensaver # Doesn't appear to be needed anymore #mkdir -p $RPM_BUILD_ROOT%{_prefix}/X11R6/share/locale #mv $RPM_BUILD_ROOT%{_prefix}/share/locale/* \ # $RPM_BUILD_ROOT%{_prefix}/X11R6/share/locale %find_lang %{name} rm -rf $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/control-center/capplets/screensaver-properties.desktop \ %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc README README.debugging %config(missingok) /etc/pam.d/xscreensaver %attr(0755,root,root) %{_prefix}/X11R6/bin/xscreensaver %{_bindir}/* %{_prefix}/X11R6/bin/xscreensaver-* %config %{_prefix}/X11R6/lib/X11/app-defaults/XScreenSaver %{_prefix}/X11R6/man/man1/*.* %{_prefix}/X11R6/lib/xscreensaver #%{_prefix}/X11R6/libexec/xscreensaver %{_datadir}/control-center/screensavers %{_datadir}/control-center/Desktop/* %{_datadir}/control-center-2.0/capplets/* %{_datadir}/xscreensaver %{_datadir}/pixmaps/* %changelog * Fri Aug 6 2004 Ray Strode 4.16-3 - change titles of questionably named shape formations (fixes bug 129335). * Wed Jun 23 2004 Ray Strode 4.16-2 - use htmlview for browsing help. * Mon Jun 21 2004 Ray Strode 4.16-1 - update to 4.16. Use desktop-file-install for desktop file. * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed May 5 2004 Bill Nottingham 4.14-5 - config tweaks * Wed Mar 31 2004 Karsten Hopp 4.14-4 - fix fortune stand-in (#115369) * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Oct 27 2003 Bill Nottingham 1:4.14-1 - update to 4.14 * Tue Oct 7 2003 Bill Nottingham 1:4.13-1 - take out flag-with-logo, don't require redhat-logos (#106046) - update to 4.13 * Wed Aug 27 2003 Bill Nottingham 1:4.12-1 - update to 4.12 (fixes #101920) - re-add BSOD to the random list * Tue Jun 24 2003 Bill Nottingham 1:4.11-1 - update to 4.11 * Fri Jun 13 2003 Bill Nottingham 1:4.10-3 - fix some 64-bit arches (#97359) * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed May 28 2003 Bill Nottingham 1:4.10-1 - update to 4.10 * Thu Mar 20 2003 Bill Nottingham 1:4.09-1 - update to 4.09, now with bouncing cows * Mon Feb 10 2003 Bill Nottingham 1:4.07-2 - oops, xloadimage *is* needed (#83676) * Thu Feb 6 2003 Bill Nottingham 1:4.07-1 - update to 4.07, fixes #76276, #75574 * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Nov 29 2002 Tim Powers 1:4.06-4 - call autoconf instead of autoconf-2.53 * Mon Nov 11 2002 Bill Nottingham 4.06-3 - put glade tweaks back in - switch pam package to not specify directories, to work on multilib arches * Fri Nov 8 2002 Nalin Dahyabhai 4.06-1 - add a BuildPrereq on bc, which configure requires - replace use of fortune with an innocuous-and-editable stand-in script in %{stand_in_path} - define FORTUNE_PROGRAM at compile-time to force apps to use what's specified even if it doesn't happen to be installed at compile-time * Sun Sep 2 2002 Bill Nottingham 4.05-6 - fix typo (#73246) * Wed Aug 28 2002 Bill Nottingham 4.05-5 - revert to non-gtk unlock dialog - fix translations * Mon Aug 12 2002 Bill Nottingham 4.05-4 - twiddle titlebar (#67844) - fix extraneous text (#70975) - tweak desktop entry (#69502) * Fri Aug 9 2002 Yu Shao 4.05-3 - use GTK_IM_MODULE=gtk-im-context-simple in lock widget - to avoid CJK IM weirdness (#70655, #68216) - xscreensaver-rh-imcjk.patch * Wed Jul 17 2002 Elliot Lee 4.05-2 - Add fortune-mod to buildprereq to make beehive happy - Fix find_lang usage - install translations properly by specifying datadir * Tue Jun 11 2002 Bill Nottingham 4.05-1 - update to 4.05 - use gtk2 lock widget () - some Red Hat-ifications - fix critical (#63916) * Mon Jun 10 2002 Bill Nottingham 4.04-2 - remove no longer needed xloadimage dependency * Mon Jun 3 2002 Bill Nottingham 4.04-1 - update to 4.04, gtk2 property dialog is now mainline * Thu May 16 2002 Bill Nottingham 4.03-1 - update to 4.03 - use gtk2 properties dialog * Thu Mar 14 2002 Bill Nottingham 4.01-2 - don't show screensavers that aren't available * Sun Feb 24 2002 Bill Nottingham - update to 4.01 * Mon Feb 11 2002 Bill Nottingham - update to 4.00 * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Aug 23 2001 Bill Nottingham - fix segfault on ia64 (#52336) * Thu Aug 9 2001 Bill Nottingham - never mind, back to 3.33 (wheeee) - hack window-id back in for the time being - disable memlimit so GL works * Mon Jul 23 2001 Bill Nottingham - oops, back to 3.32 for now - remove optflags override (oops) - add pam-devel buildprereq * Mon Jul 16 2001 Bill Nottingham - update to 3.33, fix broken last build - fix build weirdness on some package sets (#48905) - don't document non-existent options for forest (#49139) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Tue May 22 2001 Havoc Pennington - putting in tree for David * Tue May 22 2001 David Sainty - added DPMS options to command line help * Sun Apr 22 2001 Bill Nottingham - update to 3.32 - add patch to specify DPMS settings on the command line * Wed Apr 11 2001 Bill Nottingham - update to 3.31 * Wed Apr 4 2001 Bill Nottingham - fix extrusion exclusion (#34742) * Tue Apr 3 2001 Bill Nottingham - disable GL screensavers by default (bleah) * Mon Feb 19 2001 Bill Nottingham - update to 3.29 (#27437) * Tue Jan 23 2001 Bill Nottingham - update to 3.27 * Fri Dec 01 2000 Bill Nottingham - rebuild because of broken fileutils * Fri Nov 10 2000 Bill Nottingham - 3.26 * Fri Aug 11 2000 Jonathan Blandford - Up Epoch and release * Wed Jul 26 2000 Bill Nottingham - hey, vidmode works again * Fri Jul 21 2000 Bill Nottingham - update to 3.25 * Thu Jul 13 2000 Prospector - automatic rebuild * Sat Jun 17 2000 Bill Nottingham - xscreensaver.kss is not a %%config file. * Sun Jun 11 2000 Bill Nottingham - tweak kss module (#11872) * Thu Jun 1 2000 Nalin Dahyabhai - modify PAM configuration to use system-auth * Thu May 18 2000 Preston Brown - added Red Hat screensaver (waving flag has logo now). * Fri May 5 2000 Bill Nottingham - tweaks for ia64 * Mon Apr 10 2000 Bill Nottingham - turn off xf86vidmode ext, so that binaries built against XFree86 4.0 work on 3.x servers * Wed Apr 5 2000 Bill Nottingham - turn off gnome support for now * Mon Apr 3 2000 Bill Nottingham - update to 3.24 * Wed Feb 09 2000 Preston Brown - wmconfig entry gone. * Mon Jan 31 2000 Bill Nottingham - update to 3.23 * Fri Jan 14 2000 Bill Nottingham - rebuild to fix GL depdencies * Tue Dec 14 1999 Bill Nottingham - everyone in GL - single package again * Fri Dec 10 1999 Bill Nottingham - update to 3.22 - turn off xf86vmode on alpha * Tue Dec 7 1999 Bill Nottingham - mmm... hardware accelerated GL on i386. :) :) * Mon Nov 22 1999 Bill Nottingham - 3.21 - use shm on alpha, let's see what breaks * Tue Nov 16 1999 Bill Nottingham - update to 3.20 * Wed Nov 3 1999 Bill Nottingham - update to 3.19 * Thu Oct 14 1999 Bill Nottingham - update to 3.18 * Sat Sep 25 1999 Bill Nottingham - add a '-oneshot' single time lock option. * Mon Sep 20 1999 Bill Nottingham - take webcollage out of random list (for people who pay for bandwidth) * Fri Sep 10 1999 Bill Nottingham - patch webcollage to use xloadimage - in the random list, run petri with -size 2 to save memory - extend RPM silliness to man pages, too. * Mon Jul 19 1999 Bill Nottingham - update to 3.17 - add a little RPM silliness to package GL stuff if it's built * Thu Jun 24 1999 Bill Nottingham - update to 3.16 * Mon May 10 1999 Bill Nottingham - update to 3.12 * Tue May 4 1999 Bill Nottingham - remove security problem introduced earlier * Wed Apr 28 1999 Bill Nottingham - update to 3.10 * Thu Apr 15 1999 Bill Nottingham - kill setuid the Right Way(tm) * Mon Apr 12 1999 Bill Nottingham - fix xflame on alpha * Mon Apr 12 1999 Preston Brown - upgrade to 3.09, fixes vmware interaction problems. * Mon Apr 5 1999 Bill Nottingham - remove setuid bit. Really. I mean it. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Fri Mar 19 1999 Bill Nottingham - kill setuid, since pam works OK * Tue Mar 16 1999 Bill Nottingham - update to 3.08 * Wed Feb 24 1999 Bill Nottingham - wmconfig returns, and no one is safe... * Tue Feb 23 1999 Bill Nottingham - remove bsod from random list because it's confusing people???? *sigh* * Tue Jan 12 1999 Cristian Gafton - call libtoolize to get it to compile cleanely on the arm * Tue Jan 5 1999 Bill Nottingham - update to 3.07 * Mon Nov 23 1998 Bill Nottingham - update to 3.06 * Tue Nov 17 1998 Bill Nottingham - update to 3.04 * Thu Nov 12 1998 Bill Nottingham - update to 3.02 - PAMify * Tue Oct 13 1998 Cristian Gafton - take out Noseguy module b/c of possible TMv - install modules in /usr/X11R6/lib/xscreensaver - don't compile support for xshm on the alpha - properly buildrooted - updated to version 2.34 * Fri Aug 7 1998 Bill Nottingham - update to 2.27 * Wed Jun 10 1998 Prospector System - translations modified for de * Mon Jun 08 1998 Erik Troan - added fix for argv0 buffer overflow * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Sat Apr 11 1998 Donnie Barnes - updated from 2.10 to 2.16 - added buildroot * Wed Oct 25 1997 Marc Ewing - wmconfig * Thu Oct 23 1997 Marc Ewing - new version, configure * Fri Aug 22 1997 Erik Troan - built against glibc