aboutsummaryrefslogtreecommitdiffstats
path: root/grv.spec
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-26 07:14:20 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-03-26 07:14:20 +0000
commit94b695f1942cf6de41ee5833d6e65fd6086bc2b0 (patch)
tree8ea9037e3fe37f03662c66c460caf206b17e2786 /grv.spec
parent773f6879ba39fb0890ffa0efbad0489a73cb797e (diff)
downloadgrv-94b695f1942cf6de41ee5833d6e65fd6086bc2b0.tar.gz
grv-94b695f1942cf6de41ee5833d6e65fd6086bc2b0.tar.xz
grv-94b695f1942cf6de41ee5833d6e65fd6086bc2b0.zip
Add RPM spec file
Diffstat (limited to 'grv.spec')
-rw-r--r--grv.spec40
1 files changed, 40 insertions, 0 deletions
diff --git a/grv.spec b/grv.spec
new file mode 100644
index 0000000..40717e3
--- /dev/null
+++ b/grv.spec
@@ -0,0 +1,40 @@
+Summary: "Gršvning" - a port of an old game with sucky graphics
+Name: grv
+Version: 2003
+Release: 1
+Group: Games
+Copyright: BSD
+Packager: H. Peter Anvin <hpa@zytor.com>
+URL: ftp://ftp.zytor.com/pub/hpa/
+Source: grv2003.tar.gz
+Buildroot: /tmp/grv-root
+BuildRequires: SDL-devel
+
+%changelog
+* Wed Mar 26 2003 H. Peter Anvin <hpa@zytor.com>
+ - Initial version
+
+%description
+"Gršvning" is an old game originally developed in BASIC on an original
+IBM PC with CGA graphics. Because CGA graphics was almost unusable,
+the game was written for text mode. This is a straight port of the
+"spirit" of the latest version of the BASIC code, with support for
+an Internet high score server.
+
+%prep
+%setup -n grv
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+
+%build
+make
+
+%install
+install -m 755 grv $RPM_BUILD_ROOT/%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc README
+%attr(755,root,root) %{_bindir}/grv