%define name fireflies %define version 2.06 %define release 4mdk Summary: Colourful OpenGL screensaver Name: %{name} Version: %{version} Release: %{release} Source0: http://somewhere.fscked.org/fireflies/%{name}-%{version}.tar.bz2 #gw from http://www.jwz.org/xscreensaver/vroot.h Patch: fireflies-2.06-vroot.patch.bz2 URL: http://somewhere.fscked.org/fireflies/ License: GPL Group: Graphical desktop/Other BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libMesaglut-devel BuildRequires: SDL-devel BuildRequires: XFree86-devel Requires: xscreensaver >= 4.12 %description Fireflies is an OpenGL screensaver for Linux (using xscreensaver) and Windows. It also works as a standalone program, which allows you to move and rotate the camera. Swarms of bugs fly around the screen leaving colorful translucent trails that get blown around by the wind. %prep %setup -q %patch -p1 %build export LDFLAGS=-L%_prefix/X11R6/lib ./configure --prefix=%_prefix --libdir=%_libdir %make CXX="g++ $LDFLAGS -DHAVE_GLX" %install rm -rf $RPM_BUILD_ROOT install -d %buildroot%_prefix/X11R6/lib/xscreensaver install -d %buildroot%_datadir/control-center/screensavers/ install -m 755 src/%name %buildroot%_prefix/X11R6/lib/xscreensaver %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README ChangeLog %_prefix/X11R6/lib/xscreensaver/%name %changelog * Thu Dec 16 2004 Götz Waschk <waschk@linux-mandrake.com> 2.06-4mdk - update vroot.h to fix bug 12702 * Fri Jun 4 2004 Götz Waschk <waschk@linux-mandrake.com> 2.06-3mdk - fix buildrequires - source URL - new g++ * Fri Aug 15 2003 Götz Waschk <waschk@linux-mandrake.com> 2.06-2mdk - requires latest xscreensaver package - remove the xml file merged into xscreensaver * Tue Jun 24 2003 Götz Waschk <waschk@linux-mandrake.com> 2.06-1mdk - new version - enable fullscreen mode * Thu Apr 17 2003 Götz Waschk <waschk@linux-mandrake.com> 2.03-1mdk - new version * Tue Mar 11 2003 Götz Waschk <waschk@linux-mandrake.com> 2.02-2mdk - fix buildrequires * Mon Mar 10 2003 Götz Waschk <waschk@linux-mandrake.com> 2.02-1mdk - fix build - new version * Mon Feb 24 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0-1mdk - initial package