News update.
[wumpus.git] / wumpus.spec
index 3f82a9a1cac673909c9c8b107193e13078f0546b..4a10554e4c7fe02519a29b99ee5b3f35d873274d 100644 (file)
@@ -1,12 +1,13 @@
 Summary: faithful transcription of the 1974 Atari Wumpus game
 Name: wumpus
-Version: %{myversion}
+Version: 1.4
 Release: 1
-License: GPL
+License: BSD
 Group: Games
 URL: http://www.catb.org/~esr/wumpus/
 Source0: %{name}-%{version}.tar.gz
-%undefine __check_files
+BuildRoot: %{_tmppath}/%{name}-root
+#Destinations: freshmeat
 
 %description
 WUMPUS is a bit of retrocomputing nostalgia.  It is an *exact* clone, even
@@ -19,18 +20,37 @@ Superhack is a structurally similar game with a different premise.
 
 %build
 make
+make wumpus.6
 
 %install
-make install
+[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
+mkdir -p "$RPM_BUILD_ROOT"/usr/bin
+mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man6/
+cp wumpus superhack "$RPM_BUILD_ROOT"/usr/bin
+cp wumpus.6 "$RPM_BUILD_ROOT"/usr/share/man/man6/
+
+%clean
+[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
 
 %files
 %defattr(-,root,root,-)
 %doc README
-/usr/bin/wumpus
-/usr/bin/superhack
-/usr/share/man/man6/wumpus.6
+%{_bindir}/wumpus
+%{_bindir}/superhack
+%{_mandir}/man6/wumpus.6*
 
 %changelog
+* Thu Jun 05 2014 Eric S. Raymond <esr@snark.thyrsus.com> 1.5
+- Fixed a minor bug in the superhack startlet check.
+
+* Thu Oct 21 2010 Eric S. Raymond <esr@snark.thyrsus.com> 1.4
+- Ported to modern C.
+- License changed to BSD.
+
+* Sun Dec 28 2003 Sean Reifschneider <jafo-rpms@tummy.com> 1.3
+- Changing the .spec file so that it installs under a build-root.
+- Changes so that the RPM can be built as a non-root user.
+
 * Sun Dec 28 2003 Eric S. Raymond <esr@snark.thyrsus.com> 
 - Initial build.