Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37553519
en ru br
ALT Linux repositórios
S:0.9.4-alt2_19

Group :: Jogos/Outros
RPM: lsnipes

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Summary: A text-mode maze game
Name: lsnipes
Version: 0.9.4
Release: alt2_19
License: GPLv2+
Group: Games/Other
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: libncurses++-devel libncurses-devel libncursesw-devel libtic-devel libtinfo-devel
Source44: import.info

%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

# as-needed

sed -i -e 's,${LIBS} ${OBJS},${OBJS} ${LIBS},' Makefile

%build
%{__make} RPM_CFLAGS="%{optflags}"

%install
%{__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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009