mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-10 07:12:01 +00:00
- Added a RPM spec file from Paul Jenner.
This commit is contained in:
parent
3eb6a3f91a
commit
8efa11c6ca
3 changed files with 48 additions and 0 deletions
|
@ -3,5 +3,6 @@
|
|||
SUBDIRS = src data
|
||||
|
||||
EXTRA_DIST = quake2.dsp quake2.dsw quake2.mak \
|
||||
quake2.spec \
|
||||
HACKING NEWS THANKS TODO \
|
||||
baseq2 bsd docs irix null rhapsody solaris win32
|
||||
|
|
|
@ -531,6 +531,7 @@ AC_CONFIG_FILES([
|
|||
data/Makefile
|
||||
data/pixmaps/Makefile
|
||||
data/baseq2/Makefile
|
||||
quake2.spec
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
||||
|
|
46
quake2.spec.in
Normal file
46
quake2.spec.in
Normal file
|
@ -0,0 +1,46 @@
|
|||
Name: @PACKAGE@
|
||||
Summary: Quake2 - classic first person shooter
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
Source: http://osdn.dl.sourceforge.net/sourceforge/quake/@PACKAGE@-@VERSION@.tar.gz
|
||||
URL: http://www.quakeforge.net/
|
||||
Group: Amusements/Games
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-buildroot
|
||||
Copyright: GPL
|
||||
Packager: Paul Jenner <psj.home@ntlworld.com>
|
||||
Prefix: %{_prefix}
|
||||
|
||||
%description
|
||||
Quake2 is the classic first person shooter from id Software. The source was
|
||||
recently released under the GPL.
|
||||
|
||||
%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 prefix=$RPM_BUILD_ROOT/%{prefix}
|
||||
|
||||
%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
|
||||
* Mon Dec 23 2002 Paul Jenner <psj.home@ntlworld.com>
|
||||
- Initial spec file
|
||||
|
Loading…
Reference in a new issue