--- /dev/null
+ README for Super Star Trek
+
+Save the Federation from the invading Klingons! Visit exotic planets and
+strip-mine them for dilithium! Encounter mysterious space thingies!
+This is the classic Super Star Trek game from the days of slow teletypes,
+reloaded.
+
+There is one binary, sst. On-line documentation goes to /usr/share/doc/sst.
+
+If you enjoy this, check out other ancient games in the Retrocomputing Museum
+at <http://www.catb.orgg/retro/>.
+
+ Eric S. Raymond
+ November 2004
CFILES= sst.c finish.c reports.c setup.c linux.c moving.c battle.c events.c ai.c planets.c
OFILES= $(CFILES:.c=.o)
HFILES=sst.h
-DOC = sst-doc.xml sst.xml TODO
+DOCS = README sst-doc.xml sst.xml TODO
# sst.doc and sst.6 are included so target system won't need xmlto
-SOURCES= $(CFILES) $(HFILES) $(DOC) sst.doc sst.6 makehelp.py makefile sst.spec
+SOURCES= $(CFILES) $(HFILES) $(DOCS) sst.doc sst.6 makehelp.py makefile sst.spec
all: sst sst.doc
--- /dev/null
+Name: sst
+Version: 2.0
+Release: 1
+URL: http://www.catb.org/~esr/sst/
+Source0: %{name}-%{version}.tar.gz
+License: GPL
+Group: Games
+Summary: Sst (screen mode)
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+Save the Federation from the invading Klingons! Visit exotic planets and
+strip-mine them for dilithium! Encounter mysterious space thingies!
+The classic Super Star Trek game from the days of slow teletypes, reloaded.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+%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 sst "$RPM_BUILD_ROOT"%{_bindir}
+cp sst.6 "$RPM_BUILD_ROOT"%{_mandir}/man6/
+mkdir -p "$RPM_BUILD_ROOT"%{_defaultdocdir}/sst/
+cp sst.doc "$RPM_BUILD_ROOT"%{_defaultdocdir}/sst/
+cp sst-doc.html "$RPM_BUILD_ROOT"%{_defaultdocdir}/sst/index.html
+
+%clean
+[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%doc README COPYING
+%defattr(-,root,root,-)
+%{_mandir}/man6/sst.6*
+%{_bindir}/sst
+%{_defaultdocdir}/sst/sst.doc
+%{_defaultdocdir}/sst/index.html
+
+%changelog