--- /dev/null
+ BSD LICENSE
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+Neither name of the this project nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$(CC) $(CFLAGS) superhack.c -o superhack
clean:
- rm -f wumpus wumpus.o superhack superhack.o TAGS
+ rm -f wumpus wumpus.o superhack superhack.o TAGS
+ rm *~ *.1 *.html *.tar.gz SHIPPER.*
TAGS:
etags wumpus.c
wumpus.6: wumpus.xml
xmlto man wumpus.xml
-SOURCES = README Makefile wumpus.c superhack.c wumpus.xml wumpus.spec
+wumpus.html: wumpus.xml
+ xmlto html-nochunks wumpus.xml
+
+SOURCES = README COPYING Makefile wumpus.c superhack.c wumpus.xml wumpus.spec
install: wumpus.6
cp wumpus superhack /usr/bin/
wumpus-$(VERS).tar.gz: $(SOURCES) wumpus.6
@ls $(SOURCES) wumpus.6 | sed s:^:wumpus-$(VERS)/: >MANIFEST
@(cd ..; ln -s wumpus wumpus-$(VERS))
- (cd ..; tar -czvf wumpus/wumpus-$(VERS).tar.gz `cat wumpus/MANIFEST`)
+ (cd ..; tar -czf wumpus/wumpus-$(VERS).tar.gz `cat wumpus/MANIFEST`)
@(cd ..; rm wumpus-$(VERS))
dist: wumpus-$(VERS).tar.gz
+release: wumpus-$(VERS).tar.gz wumpus.html
+ shipper -u -m -t; make clean
+++ /dev/null
-Begin3
-Title: wumpus
-Version: 1.4
-Entered-date: 09OCT96
-Description: Painfully exact recreation of an ancient, classic, BASIC
- computer game from 1972. Run it in an xterm for maximum
- ironic effect...
-Keywords: Wumpus, solitaire, game, retrocomputing, nostalgia
-Author: esr@snark.thyrsus.com (Eric S. Raymond)
-Maintained-by: esr@snark.thyrsus.com (Eric S. Raymond)
-Primary-site: locke.ccil.org /pub/esr
- 10K wumpus-1.3.tar.gz
-Platforms: All
-Copying-policy: BSD-like
-End
-
-
Summary: faithful transcription of the 1974 Atari Wumpus game
Name: wumpus
-Version: 1.3
+Version: 1.4
Release: 1
-License: GPL
+License: BSD
Group: Games
URL: http://www.catb.org/~esr/wumpus/
Source0: %{name}-%{version}.tar.gz
%{_mandir}/man6/wumpus.6*
%changelog
+* 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.