Template a web page.
[wumpus.git] / wumpus.spec
1 Summary: faithful transcription of the 1974 Atari Wumpus game
2 Name: wumpus
3 Version: 1.5
4 Release: 1
5 License: BSD
6 Group: Games
7 URL: http://www.catb.org/~esr/wumpus/
8 Source0: %{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-root
10 #Destinations: freecode
11 #HTML-Target: index.html
12
13 %description
14 WUMPUS is a bit of retrocomputing nostalgia.  It is an *exact* clone, even
15 down to the godawful user interface, of an ancient classic game.  This version
16 fixes two minor bugs in my original 1992 USENET posting of the source.  
17 Superhack is a structurally similar game with a different premise.
18
19 %prep
20 %setup -q
21
22 %build
23 make
24 make wumpus.6
25
26 %install
27 [ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
28 mkdir -p "$RPM_BUILD_ROOT"/usr/bin
29 mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man6/
30 cp wumpus superhack "$RPM_BUILD_ROOT"/usr/bin
31 cp wumpus.6 "$RPM_BUILD_ROOT"/usr/share/man/man6/
32
33 %clean
34 [ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
35
36 %files
37 %defattr(-,root,root,-)
38 %doc README
39 %{_bindir}/wumpus
40 %{_bindir}/superhack
41 %{_mandir}/man6/wumpus.6*
42
43 %changelog
44 * Thu Jun 05 2014 Eric S. Raymond <esr@snark.thyrsus.com> 1.5
45 - Fixed a minor bug in the superhack startlet check.
46
47 * Thu Oct 21 2010 Eric S. Raymond <esr@snark.thyrsus.com> 1.4
48 - Ported to modern C.
49 - License changed to BSD.
50
51 * Sun Dec 28 2003 Sean Reifschneider <jafo-rpms@tummy.com> 1.3
52 - Changing the .spec file so that it installs under a build-root.
53 - Changes so that the RPM can be built as a non-root user.
54
55 * Sun Dec 28 2003 Eric S. Raymond <esr@snark.thyrsus.com> 
56 - Initial build.
57
58