-
Notifications
You must be signed in to change notification settings - Fork 0
/
prboom.spec
45 lines (36 loc) · 1.13 KB
/
prboom.spec
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
%define doomname prboom-plus
Name: %{doomname}
Summary: Doom - classic 3D shoot-em-up game
Version: 2.5.1.3
Release: 1
Source: ftp://prdownloads.sourceforge.net/prboom/prboom-plus-2.5.1.3.tar.gz
URL: http://prboom.sourceforge.net/
Group: Amusements/Games
BuildRoot: /var/tmp/%{doomname}-buildroot
License: GPL
Packager: Colin Phipps <[email protected]>
Prefix: %{_prefix}
Autoreq: 0
Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0, libm.so.6, libc.so.6
%description
Doom is the classic 3D shoot-em-up game. It must have been one of the best
selling games ever; it totally outclassed any 3D world games that preceded
it, with amazing speed, flexibility, and outstanding gameplay. The specs to
the game were released, and thousands of extra levels were written by fans of
the game; even today new levels are written for Doom faster then any one person
could play them.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
%configure --disable-cpu-opt
make
%install
make %{?buildroot:DESTDIR=%{buildroot}} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%docdir %{_docdir}
%{_docdir}
/usr/games
%{_datadir}/games/doom/%{doomname}.wad