summaryrefslogtreecommitdiff
path: root/simple-snake.spec
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-12-24 09:11:46 -0800
committerLouie Shprung <lshprung@scu.edu>2022-12-24 09:11:46 -0800
commit2a11c862ddce9fb0b44ae74e84befb372b502935 (patch)
tree676b220c575bdddf714cc7f349257e31adf6659d /simple-snake.spec
parentfefdaea916c5fd4aa55437d7db181f0a57ac002c (diff)
Improved README detail and added instructions for building rpm
Diffstat (limited to 'simple-snake.spec')
-rw-r--r--simple-snake.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/simple-snake.spec b/simple-snake.spec
new file mode 100644
index 0000000..38b18e0
--- /dev/null
+++ b/simple-snake.spec
@@ -0,0 +1,37 @@
+Name: simple-snake
+Version: 0.1
+Release: 1%{?dist}
+Summary: simple ncurses snake game
+License: Unlicense
+URL: https://github.com/lshprung/simple-snake
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: gcc make ncurses-devel
+Requires: ncurses
+
+%description
+ncurses snake game where the only boundaries are
+the terminal window.
+
+%prep
+%autosetup
+
+
+%build
+%configure
+%make_build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+
+%files
+%{_bindir}/%{name}
+%{_docdir}/%{name}/README
+
+
+%changelog
+* Sat Dec 24 2022 builder
+-