forked from WinterMute/prboom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prboom.spec.in
47 lines (38 loc) · 1.15 KB
/
prboom.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
%define doomname @PACKAGE@
Name: %{doomname}
Summary: Doom - classic 3D shoot-em-up game
Version: @VERSION@
Release: 1
Source: ftp://prdownloads.sourceforge.net/prboom/@PACKAGE@-@VERSION@.tar.gz
URL: http://prboom.sourceforge.net/
Group: Amusements/Games
BuildRoot: /var/tmp/%{doomname}-buildroot
License: GPL
Packager: Colin Phipps <cph@moria.org.uk>
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
%{_mandir}/man5
%{_mandir}/man6
%docdir %{_docdir}
%{_docdir}
/usr/games
%{_datadir}/games/doom/prboom.wad