1%define doomname @PACKAGE@
2
3Name: %{doomname}
4Summary: Doom - classic 3D shoot-em-up game
5Version: @VERSION@
6Release: 1
7Source: ftp://prdownloads.sourceforge.net/prboom/@PACKAGE@-@VERSION@.tar.gz
8URL: http://prboom.sourceforge.net/
9Group: Amusements/Games
10BuildRoot: /var/tmp/%{doomname}-buildroot
11License: GPL
12Packager: Colin Phipps <cph@moria.org.uk>
13Prefix: %{_prefix}
14Autoreq: 0
15Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0, libm.so.6, libc.so.6
16
17%description
18Doom is the classic 3D shoot-em-up game. It must have been one of the best
19selling games ever; it totally outclassed any  3D world games that preceded
20it, with amazing speed, flexibility, and outstanding gameplay. The specs to
21the game were released, and thousands of extra levels were written by fans of
22the game; even today new levels are written for Doom faster then any one person
23could play them.
24
25%prep
26rm -rf $RPM_BUILD_ROOT
27
28%setup -q
29
30%build
31%configure --disable-cpu-opt
32make
33
34%install
35make %{?buildroot:DESTDIR=%{buildroot}} install
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%{_mandir}/man5
42%{_mandir}/man6
43%docdir %{_docdir}
44%{_docdir}
45/usr/games
46%{_datadir}/games/doom/prboom.wad
47
48