-
Notifications
You must be signed in to change notification settings - Fork 0
/
twilight.spec.in
55 lines (46 loc) · 1.49 KB
/
twilight.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%define name @PACKAGE@
%define version @VERSION@
%define release 1
Name: %{name}
Version: %{version}
Release: %{release}
Vendor: The Twilight Project
Packager: The Twilight Project <[email protected]>
URL: http://twilight.sf.net/
Source: %{name}-%{version}.tar.gz
Group: Amusements/Games
Copyright: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: SDL >= 1.2.0
BuildPrereq: SDL-devel >= 1.2.0
Summary: First person 3D game - classic version
%description
Project Twilight is a game project based on the Quake(R) engine source
code using OpenGL. It is greatly enhanced over Id Software's original,
but is in no way supported by Id Software, Inc.
This package contains the classic version Project Twilight, which is
fully compatible with Id software's last official versions of Quake(R)
and QuakeWorld(R).
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
make
%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.BSD NEWS README THANKS TODO
%{_prefix}/bin/twilight-nq
%{_prefix}/bin/twilight-qw
%{_prefix}/bin/twilight-qwsv
%changelog
* Tue Oct 2 2001 Mathieu Olivier <[email protected]>
- Changed summary and description to the ones used in the Debian package.
- Doc: added TODO, removed ChangeLog and INSTALL
- BuildRoot now uses "_tmppath"
* Thu Sep 13 2001 Mathieu Olivier <[email protected]>
- Creation