Name: quake2
Summary: improved version of id Software's classic Quake II engine
Version: 0.2.1
Release: 3
Group: Amusements/Games
Copyright: GPL
Vendor: The QuakeForge Project
URL: http://www.quakeforge.net/
Packager: Paul Jenner <psj.home@ntlworld.com>
Source: http://osdn.dl.sourceforge.net/sourceforge/quake/quake2-0.2.1.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-buildroot
Prefix: %{_prefix}

%description
Quake II is the classic first person shooter from id Software.  This package
contains only the game binaries, you will need to either install the
commercial data from the Quake II CD-ROM, or install some free data files
(which are available from id Software's FTP site).  This game currently
supports software rendering with X11, SDL or SVGAlib, and hardware accelerated
rendering with OpenGL (directly or with SDL).

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \
--disable-opt --disable-asm
make

%install
make install-strip DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc HACKING NEWS THANKS TODO AUTHORS README COPYING
%{prefix}/bin/*
%{prefix}/lib/quake2/*
%{prefix}/lib/quake2/baseq2/*
%{prefix}/lib/quake2/ctf/*
%{prefix}/share/quake2/*
%{prefix}/share/quake2/baseq2/*

%changelog
* Tue Dec 24 2002 Jamie Wilkinson <jaq@quakeforge.net>
- Updated description and summary.

* Mon Dec 23 2002 Paul Jenner <psj.home@ntlworld.com>
- Fixed install path using DESTDIR

* Mon Dec 23 2002 Paul Jenner <psj.home@ntlworld.com>
- Initial spec file
