Summary: A text-mode maze game Name: lsnipes Version: 0.9.4 Release: 3%{?dist} License: GPLv2+ Group: Amusements/Games Source: http://www.ugcs.caltech.edu/~boultonj/snipes/%{name}-%{version}.tgz URL: http://www.ugcs.caltech.edu/~boultonj/snipes.html Patch1: lsnipes-Use-additional-CFLAGS-if-set.patch # Man page update about levels from Debian package Patch2: lsnipes-man-levels-doc.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) # TODO: # - Is the X11 version useful at all? # - ... BuildRequires: ncurses-devel BuildRequires: libX11-devel %description Linux Snipes is a reimplementation of an old text-mode DOS game. You are in a maze with a number of enemies (the "snipes") and a few "hives" which create more of the enemies. Your job is to kill the snipes and their hives before they get the best of you. 26 "option levels" let you change characteristics of the game such as whether or not diagonal shots bounce off the walls. 10 levels of difficulty (only partially implemented) let you build your skills gradually. %prep %setup -q %patch1 -p1 -b .cflags %patch2 -p1 -b .man-levels %build %{__make} RPM_CFLAGS="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -p -m 0755 -d %{buildroot}%{_bindir} %{__install} -p -m 0755 snipes %{buildroot}%{_bindir}/snipes %{__install} -p -m 0755 -d %{buildroot}%{_mandir}/man6 %{__install} -p -m 0644 snipes.6 %{buildroot}%{_mandir}/man6/snipes.6 %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc README TODO COPYING CHANGELOG %{_bindir}/snipes %{_mandir}/man6/snipes.6* %changelog * Sun May 04 2008 Hans Ulrich Niedermann - 0.9.4-3 - Fix typo in Source: file URL * Sat May 03 2008 Hans Ulrich Niedermann - 0.9.4-2 - Man page update about levels from Debian package * Tue Feb 26 2008 Hans Ulrich Niedermann - 0.9.4-1 - Adapted upstream year 2000 spec file for Fedora.