]> thyrsus.com Git - tetrix.git/commitdiff
Metadata update to work with new shipper convebtions.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 10:49:04 +0000 (06:49 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 5 Apr 2015 10:49:04 +0000 (06:49 -0400)
Makefile
NEWS [new file with mode: 0644]
README
control [new file with mode: 0644]
tetrix.spec [deleted file]

index 7c53ac7aaf243af504669991c7f4b0b1a25af9b0..51ff78d4b6fbd8c84595e613460e775114a2e5fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,10 @@
 #  - this will create a high score file in /usr/tmp, so doing it again
 #    later on will erase high scores for the machine.
 
-VERS=$(shell sed <tetrix.spec -n -e '/Version: \(.*\)/s//\1/p')
+VERS=2.3
 
+# Withoiut the last option, modern GCC throws a 'stack smashing detected'
+# error on startup that seems to be spurious
 CFLAGS=-O -DIBM -fno-stack-protector
 LFLAGS = -s
 OBJS= MoveR.o MoveL.o DrawP.o AdvanceP.o Rotate.o Colors.o tet.o
@@ -41,7 +43,7 @@ clean:
        rm -f tetrix *.o tetrix tetrix.6 tetrix-*.rpm tetrix-*.tar.gz *~
        rm -f tetrix.html MANIFEST
 
-SOURCES = README COPYING tetrix.xml Makefile tet.h $(OBJS:.o=.c) tetrix.spec
+SOURCES = README COPYING NEWS control tetrix.xml Makefile tet.h $(OBJS:.o=.c)
 
 tetrix-$(VERS).tar.gz: $(SOURCES) tetrix.6
        @ls $(SOURCES) tetrix.6 | sed s:^:tetrix-$(VERS)/: >MANIFEST
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..d645575
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,14 @@
+                       tetrix project news
+
+Repository head:
+  License changed to BSD.
+
+2.3: 2010-Oct-22
+  Polish code for modern C.
+  Choose a reasonable default for the intermove pause.
+
+2.2: 2003-Dec-29
+  RPMS can now be built by non-root users.
+
+2.1: 2002-08-01
+  Make the cursor invisible.
diff --git a/README b/README
index 71cea7be8a1901d1981a3e12be5231090c94b125..5be151be5ede61b4817a88e5aeec5d4cf0ed3ced 100644 (file)
--- a/README
+++ b/README
@@ -53,3 +53,9 @@ August 2002: It's very likely that nobody cares, but I'm reissuing this
 with XML documentation and modern packaging.
 
        Good bye again!                                 Eric S. Raymond
+
+April 2015: Now pretty much solely of historical interest, but
+even museum artifacts deserve polishing now and then.  See NEWS
+for a more detailed timeline.
+
+        Enjoy the history!                             Eric S. Raymond
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..97eac48
--- /dev/null
+++ b/control
@@ -0,0 +1,23 @@
+# This is not a real Debian control file, though the syntax is compatible.
+# It's project metadata for the shipper tool
+
+Package: tetrix
+
+Description: A UNIX-hosted, curses-based clone of Tetris.
+ Probably obsolete unless you can't use X for some reason, but of some
+ historical interest.
+
+#XBS-Destinations: freecode
+
+Homepage: http://www.catb.org/~esr/tetrix
+
+XBS-HTML-Target: index.html
+
+XBS-Repository-URL: http://thyrsus.com/gitweb/?p=tetrix.git
+
+XBS-Developer-Clone: git@thyrsus.com:tetrix
+
+XBS-Anonymous-Clone: git://thyrsus.com/repositories/tetrix.git
+
+XBS-VC-Tag-Template: %(version)s
+
diff --git a/tetrix.spec b/tetrix.spec
deleted file mode 100644 (file)
index 6a3f3e8..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-Name: tetrix
-Version: 2.3
-Release: 1
-URL: http://www.catb.org/~esr/tetrix/
-Source0: %{name}-%{version}.tar.gz
-License: BSD
-Group: Games
-Summary: Tetrix (screen mode)
-BuildRoot: %{_tmppath}/%{name}-root
-#Destinations: freshmeat
-
-%description
-A UNIX-hosted, curses-based clone of Tetris.  Probably obsolete
-unless you can't use X for some reason.
-
-%prep
-%setup -q
-
-%build
-make %{?_smp_mflags} tetrix tetrix.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 tetrix "$RPM_BUILD_ROOT"%{_bindir}
-cp tetrix.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/tetrix.6*
-%{_bindir}/tetrix
-
-%changelog
-* Fri Oct 22 2010 Eric S. Raymond <esr@snark.thyrsus.com> 2.3-1
-- Polish code for modern C.
-- Choose a reasonable default for the intermove pause.
-
-* Mon Dec 29 2003 Eric S. Raymond <esr@snark.thyrsus.com> 2.2-1
-- RPMS can now be built by non-root users.
-