## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 37; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Summary: A text-mode maze game Name: lsnipes Version: 0.9.4 Release: %autorelease License: GPLv2+ Source: http://www.ugcs.caltech.edu/~boultonj/snipes/%{name}-%{version}.tgz URL: http://www.ugcs.caltech.edu/~boultonj/snipes.html Patch1: lsnipes-adapt-CFLAGS-LIBS.patch # Man page update about levels from Debian package Patch2: lsnipes-man-levels-doc.patch BuildRequires: gcc BuildRequires: ncurses-devel BuildRequires: make %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 %files %doc README TODO COPYING CHANGELOG %{_bindir}/snipes %{_mandir}/man6/snipes.6* %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.9.4-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.9.4-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.9.4-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.9.4-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.9.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.9.4-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.9.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.9.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.9.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.9.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.9.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.9.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Hans Ulrich Niedermann - 0.9.4-16 - remove useless %%defattr for clarity * Thu Feb 04 2016 Fedora Release Engineering - 0.9.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.9.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.9.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.9.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.9.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.9.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.9.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.9.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Nov 23 2009 Hans Ulrich Niedermann - 0.9.4-6 - disable X11 build to pass the font audit * Sat Jul 25 2009 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.9.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * 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.