Репозиторий Sisyphus
Последнее обновление: 25 мая 2020 | Пакетов: 17559 | Посещений: 18608445
en ru br
Репозитории ALT

Группа :: Игры/Прочее
Пакет: lsnipes

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin