]> thyrsus.com Git - bluemoon.git/commitdiff
Create control file, remove spec file.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 23 Nov 2012 07:37:35 +0000 (02:37 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 23 Nov 2012 07:37:35 +0000 (02:37 -0500)
Makefile
NEWS [new file with mode: 0644]
bluemoon.spec [deleted file]

index 8e8a7641dc713c4a4319f5cb0c322c062f477c6d..b0d03f28053e453589603dd004131046244b444e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 # Makefile for bluemoon, the Blue Moon solitaire game
 
-VERS=$(shell sed <bluemoon.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=2.11
 
-SOURCES = README COPYING Makefile bluemoon.c bluemoon.xml *.spec bluemoon.png
+SOURCES = README COPYING NEWS Makefile control bluemoon.c bluemoon.xml bluemoon.png
 CFLAGS=-O
 
 bluemoon: bluemoon.c
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..ce9adfe
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,17 @@
+               bluemoon project news
+
+2.11: 2012-11-23
+  Minor packaging fixes.
+
+2.10: 2010-10-19 
+  Change license to BSD. Polish code to full ANSI with prototypes.
+
+2.9: 2004-01-11 
+  RPM spec file cleanup, new distribution machinery based on shipper.
+
+2.8: 2003-12-29 
+  Source RPMs no longer require --define myversion.
+
+2.7: 2003-12-24 
+  Fixed build machinery to use rpmbuild.
+
diff --git a/bluemoon.spec b/bluemoon.spec
deleted file mode 100644 (file)
index 925ec6f..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-Name: bluemoon
-Summary: Blue Moon solitaire (curses interface)
-Version: 2.10
-Release: 1
-URL: http://www.catb.org/~esr/bluemoon/
-Source0: %{name}-%{version}.tar.gz
-License: GPL
-Group: Games
-BuildRoot: %{_tmppath}/%{name}-root
-#Destinations: freshmeat
-#Project-Tags: card, solitaire, game
-#Freshmeat-Name: bluemoon-game
-#Logo: bluemoon.png
-
-%description
-   This 52-card solitaire starts with  the entire deck shuffled and dealt
-out in four rows.  The aces are then moved to the left end of the layout,
-making 4 initial free spaces.  You may move to a space only the card that
-matches the left neighbor in suit, and is one greater in rank.  Kings are
-high, so no cards may be placed to their right (they create dead spaces).
-  When no moves can be made,  cards still out of sequence are  reshuffled
-and dealt face up after the ends of the partial sequences, leaving a card
-space after each sequence, so that each row looks like a partial sequence
-followed by a space, followed by enough cards to make a row of 14.
-  A moment's reflection will show that this game cannot take more than 13
-deals. A good score is 1-3 deals, 4-7 is average, 8 or more is poor.
-
-%prep
-%setup -q
-
-%build
-make %{?_smp_mflags} bluemoon bluemoon.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 bluemoon "$RPM_BUILD_ROOT"%{_bindir}
-cp bluemoon.6 "$RPM_BUILD_ROOT"%{_mandir}/man6/
-
-%clean
-[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
-%files
-%defattr(-,root,root,-)
-%{_mandir}/man6/bluemoon.6*
-%{_bindir}/bluemoon
-%doc README COPYING
-
-%changelog
-* Tue Oct 19 2010 Eric S. Raymond <esr@snark.thyrsus.com> 2.10-1
-  Change license to BSD. Polish code to full ANSI with prototypes.
-
-* Sun Jan 11 2004 Eric S. Raymond <esr@snark.thyrsus.com> 2.9-1
-- RPM spec file cleanup, new distribution machinery based on shipper.
-
-* Mon Dec 29 2003 Eric S. Raymond <esr@snark.thyrsus.com> 2.8-1
-- Source RPMs no longer require --define myversion.
-
-* Wed Dec 24 2003 Eric S. Raymond <esr@snark.thyrsus.com> 2.7-1
-- Fixed build machinery to use rpmbuild.
-