quake2forge/quake2.spec.in

57 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: @PACKAGE@
Summary: improved version of id Software's classic Quake II engine
Version: @VERSION@
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/@PACKAGE@-@VERSION@.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