From e7fbc60f3a362651859bf663ed62da2cdd768066 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 24 Dec 2003 20:57:20 +0000 Subject: [PATCH] Name change. --- Makefile | 40 ++++++++++++++++++++-------------------- README | 7 +++---- bluemoon.spec | 8 ++++---- 3 files changed, 27 insertions(+), 28 deletions(-) diff --git a/Makefile b/Makefile index 348f44f..5bd5e3d 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,36 @@ -# Makefile for blue, the Blue Moon solitaire game +# Makefile for bluemoon, the Blue Moon solitaire game VERS=2.7 -SOURCES = READ.ME COPYING Makefile blue.c blue.xml *.spec +SOURCES = READ.ME COPYING Makefile bluemoon.c bluemoon.xml *.spec CFLAGS=-O -blue: blue.c - cc $(CFLAGS) -DRELEASE=\"$(VERS)\" blue.c -lncurses -o blue +bluemoon: bluemoon.c + cc $(CFLAGS) -DRELEASE=\"$(VERS)\" bluemoon.c -lncurses -o bluemoon -blue.6: blue.xml - xmlto man blue.xml +bluemoon.6: bluemoon.xml + xmlto man bluemoon.xml -blue-$(VERS).tar.gz: $(SOURCES) blue.6 - @ls $(SOURCES) blue.6 | sed s:^:blue-$(VERS)/: >MANIFEST - @(cd ..; ln -s blue blue-$(VERS)) - (cd ..; tar -czvf blue/blue-$(VERS).tar.gz `cat blue/MANIFEST`) - @(cd ..; rm blue-$(VERS)) +bluemoon-$(VERS).tar.gz: $(SOURCES) bluemoon.6 + @ls $(SOURCES) bluemoon.6 | sed s:^:bluemoon-$(VERS)/: >MANIFEST + @(cd ..; ln -s bluemoon bluemoon-$(VERS)) + (cd ..; tar -czvf bluemoon/bluemoon-$(VERS).tar.gz `cat bluemoon/MANIFEST`) + @(cd ..; rm bluemoon-$(VERS)) clean: - rm -f blue blue.tar blue*.gz blue*.rpm blue.6 *~ + rm -f bluemoon bluemoon.tar bluemoon*.gz bluemoon*.rpm bluemoon.6 *~ -install: blue.6 uninstall - cp blue /usr/bin - cp blue.6 /usr/share/man/man6/blue.6 +install: bluemoon.6 uninstall + cp bluemoon /usr/bin + cp bluemoon.6 /usr/share/man/man6/bluemoon.6 uninstall: - rm -f /usr/bin/blue /usr/share/man/man6/blue.6 + rm -f /usr/bin/bluemoon /usr/share/man/man6/bluemoon.6 -dist: blue-$(VERS).tar.gz +dist: bluemoon-$(VERS).tar.gz RPMROOT=/usr/src/redhat rpm: dist - rpmbuild --define 'myversion $(VERS)' -ta blue-$(VERS).tar.gz - cp $(RPMROOT)/RPMS/*/blue-$(VERS)*.rpm . - cp $(RPMROOT)/SRPMS/blue-$(VERS)*.src.rpm . + rpmbuild --define 'myversion $(VERS)' -ta bluemoon-$(VERS).tar.gz + cp $(RPMROOT)/RPMS/*/bluemoon-$(VERS)*.rpm . + cp $(RPMROOT)/SRPMS/bluemoon-$(VERS)*.src.rpm . diff --git a/README b/README index 0b9addf..2ef3f45 100644 --- a/README +++ b/README @@ -7,13 +7,12 @@ ncurses library distributed with Linux. READ.ME -- this file Makefile -- how to build it -blue.c -- my spiffy ncurses version -blue.xml -- DocBook RefEntry source of the manual page -blue.6 -- a brief manual page +bluemoon.c -- the code +bluemoon.xml -- DocBook RefEntry source of the manual page Changes since the initial release have been in the packaging. Please don't hack blue.6, enhance the XML masters instead. Eric S. Raymond esr@thyrsus.com - (WWW: http://www.tuxedo.org/~esr/) + (WWW: http://www.catb.org/~esr/) diff --git a/bluemoon.spec b/bluemoon.spec index 703c947..516823c 100644 --- a/bluemoon.spec +++ b/bluemoon.spec @@ -1,8 +1,8 @@ -Name: blue +Name: bluemoon Summary: Blue Moon solitaire (text mode) Version: %{myversion} Release: 1 -URL: http://www.tuxedo.org/~esr/blue/ +URL: http://www.tuxedo.org/~esr/bluemoon/ Source0: %{name}-%{version}.tar.gz License: GPL Group: Games @@ -34,6 +34,6 @@ make install - Fixed build machinery to use rpmbuild. %files -/usr/share/man/man6/blue.6 -/usr/bin/blue +/usr/share/man/man6/bluemoon.6 +/usr/bin/bluemoon %doc READ.ME COPYING -- 2.43.0