History update, version bump and new license.
[wumpus.git] / wumpus.spec
1 Summary: faithful transcription of the 1974 Atari Wumpus game
2 Name: wumpus
3 Version: 1.4
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
11 %description
12 WUMPUS is a bit of retrocomputing nostalgia.  It is an *exact* clone, even
13 down to the godawful user interface, of an ancient classic game.  This version
14 fixes two minor bugs in my original 1992 USENET posting of the source.  
15 Superhack is a structurally similar game with a different premise.
16
17 %prep
18 %setup -q
19
20 %build
21 make
22 make wumpus.6
23
24 %install
25 [ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
26 mkdir -p "$RPM_BUILD_ROOT"/usr/bin
27 mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man6/
28 cp wumpus superhack "$RPM_BUILD_ROOT"/usr/bin
29 cp wumpus.6 "$RPM_BUILD_ROOT"/usr/share/man/man6/
30
31 %clean
32 [ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
33
34 %files
35 %defattr(-,root,root,-)
36 %doc README
37 %{_bindir}/wumpus
38 %{_bindir}/superhack
39 %{_mandir}/man6/wumpus.6*
40
41 %changelog
42 * Thu Oct 21 2010 Eric S. Raymond <esr@snark.thyrsus.com> 1.4
43 - Ported to modern C.
44 - License changed to BSD.
45
46 * Sun Dec 28 2003 Sean Reifschneider <jafo-rpms@tummy.com> 1.3
47 - Changing the .spec file so that it installs under a build-root.
48 - Changes so that the RPM can be built as a non-root user.
49
50 * Sun Dec 28 2003 Eric S. Raymond <esr@snark.thyrsus.com> 
51 - Initial build.
52
53