]> thyrsus.com Git - ski.git/commitdiff
Update packaging.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 24 Nov 2010 12:51:23 +0000 (07:51 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 24 Nov 2010 12:51:23 +0000 (07:51 -0500)
Makefile
NEWS [new file with mode: 0644]
control [new file with mode: 0644]
ski.spec [deleted file]

index a1e210c3894522c14b718bd0b90922cd41963291..365b909983ccf6178d90d3dca7a52ec34a38e20c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,9 @@
 #
 # makefile for `ski'
 #
-# Note: There is also a version variable in ski itself.
-VERS=$(shell sed <ski.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=$(shell sed <ski -n -e '/version=\(.*\)/s//\1/p')
 
-SOURCES = README COPYING ski ski.xml ski.6 Makefile ski.spec
+SOURCES = README COPYING NEWS ski ski.xml ski.6 Makefile control ski.png
 
 all: ski.6
 
@@ -22,6 +21,9 @@ pychecker:
        @-pychecker --only --limit 50 ski.py
        @rm -f ski.py*
 
+version:
+       @echo $(VERS)
+
 ski-$(VERS).tar.gz: $(SOURCES)
        @ls $(SOURCES) | sed s:^:ski-$(VERS)/: >MANIFEST
        @(cd ..; ln -s ski ski-$(VERS))
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..8729068
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,23 @@
+* Wed Nov 24 2010 Eric S. Raymond <esr@snark.thyrsus.com> 6.7
+- Fix a minor bug revealed by pychecker.
+
+* Wed Oct 20 2010 Eric S. Raymond <esr@snark.thyrsus.com> 6.6
+- License changed to BSD.
+- Documentation fixes.
+
+* Mon Jan 12 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.5
+- 6.4 introduced a bug into the ? and ! commands, now fixed.
+
+* Sun Jan 11 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.4
+- Game commands now accept numeric repeat prefixes.
+
+* Sat Jan  3 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.3
+- Fix bug introduced to teleport command in 6.2.
+
+* Tue Dec 31 2003 Eric S. Raymond <esr@snark.thyrsus.com> 6.2
+- Emit reset on keyboard interrupt, just in case user bails out in the
+  middle af a row refresh.  Fix bug in ! command interpretation.
+  Terrain key is now colorized.
+
+* Tue Dec 30 2003 Eric S. Raymond <esr@snark.thyrsus.com> 6.1
+- Python reimplementation of the original C game.
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..7504457
--- /dev/null
+++ b/control
@@ -0,0 +1,21 @@
+# This is not a real Debian control file, though the syntax is compatible
+# It's project metadata for the shipper tool
+
+Package: ski
+
+Description: a hotdogging game, evade the deadly Yeti on your jet-powered skis
+ Imagine you are skiing down an infinite slope, facing such hazards as
+ trees, ice, bare ground, and the man-eating Yeti!  Unfortunately,
+ you have put your jet-powered skis on backwards, so you can't see
+ ahead where you are going; only behind where you have been.  However,
+ you can turn to either side, jump or hop through the air, teleport
+ through hyperspace, launch nuclear ICBMs, and cast spells to call the
+ Fire Demon.  And since the hazards occur in patches, you can
+ skillfully outmaneuver them.  A fun and very silly game that proves
+ you don't need fancy graphical user interfaces to have a good time.
+
+Homepage: http://www.catb.org/~esr/ski
+
+XBS-Logo: ski.png
+
+XBS-Project-Tag-List: games
diff --git a/ski.spec b/ski.spec
deleted file mode 100644 (file)
index f4c3723..0000000
--- a/ski.spec
+++ /dev/null
@@ -1,72 +0,0 @@
-Name: ski
-Version: 6.7
-Release: 1
-URL: http://www.catb.org/~esr/ski/
-Source0: %{name}-%{version}.tar.gz
-License: BSD
-Group: Games
-Summary: a hotdogging game, evade the deadly Yeti on your jet-powered skis
-BuildRoot: %{_tmppath}/%{name}-root
-BuildArch: noarch
-#Keywords: game, solitaire
-#Logo: ski.png
-
-%description
-Imagine you are skiing down an infinite slope, facing such hazards as
-trees, ice, bare ground, and the man-eating Yeti!  Unfortunately,
-you have put your jet-powered skis on backwards, so you can't see
-ahead where you are going; only behind where you have been.  However,
-you can turn to either side, jump or hop through the air, teleport
-through hyperspace, launch nuclear ICBMs, and cast spells to call the
-Fire Demon.  And since the hazards occur in patches, you can
-skillfully outmaneuver them.  A fun and very silly game that proves
-you don't need fancy graphical user interfaces to have a good time.
-
-%prep 
-%setup -q
-
-%build
-make %{?_smp_mflags} ski.6
-
-%install
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-mkdir -p "$RPM_BUILD_ROOT"%{_bindir}
-mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man6/
-cp ski "$RPM_BUILD_ROOT"%{_bindir}
-cp ski.6 "$RPM_BUILD_ROOT"%{_mandir}/man6/
-
-%clean
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-
-%files
-%doc README COPYING
-%defattr(-,root,root,-)
-%{_mandir}/man6/ski.6*
-%{_bindir}/ski
-
-%changelog
-* Wed Nov 24 2010 Eric S. Raymond <esr@snark.thyrsus.com> 6.7-1
-- Fix a minor bug revealed by pychecker.
-
-* Wed Oct 20 2010 Eric S. Raymond <esr@snark.thyrsus.com> 6.6-1
-- License changed to BSD.
-- Documentation fixes.
-
-* Mon Jan 12 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.5-1
-- 6.4 introduced a bug into the ? and ! commands, now fixed.
-
-* Sun Jan 11 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.4-1
-- Game commands now accept numeric repeat prefixes.
-
-* Sat Jan  3 2004 Eric S. Raymond <esr@snark.thyrsus.com> 6.3-1
-- Fix bug introduced to teleport command in 6.2.
-
-* Tue Dec 31 2003 Eric S. Raymond <esr@snark.thyrsus.com> 6.2
-- Emit reset on keyboard interrupt, just in case user bails out in the
-  middle af a row refresh.  Fix bug in ! command interpretation.
-  Terrain key is now colorized.
-
-* Tue Dec 30 2003 Eric S. Raymond <esr@snark.thyrsus.com> 6.1
-- Python reimplementation of the original C game.
-
-