Группа :: Игры/Аркады
Пакет: nibbles
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Revision: 1.13 $, $Date: 2002/02/15 22:40:04 $
Summary: NCurses based nibbles game
Name: nibbles
Version: 0.0.4
Release: alt2
License: GPLv2
Group: Games/Arcade
Source0: http://www.earth.li/projectpurple/files/%name-v%version.tar.gz
Patch0: %name-Makefile.patch
Patch1: %name-window.patch
Patch2: %name-score.patch
Url: http://www.earth.li/projectpurple/progs/nibbles.html
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Wed Dec 16 2009
BuildRequires: libncurses-devel
%description
Nibbles is a remake of the classic Snake/Nibbles game in ncurses. I am
sure that better nibbles games exist, but I thought that I'd write an
ncurses one to learn how.
%prep
%setup -n %name-v%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
make DATADIR=%_datadir CFLAGS="$CFLAGS -fcommon"
%install
install -d %buildroot{%_bindir,%_datadir/games,/var/games}
install nibbles %buildroot%_bindir
touch %buildroot/var/games/nibbles.score
cp -a nibbles.levels %buildroot%_datadir/games
%files
%defattr(644,root,root,755)
%attr(2711,root,games) %_bindir/nibbles
%attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/nibbles.score
%_datadir/games/nibbles.levels
%doc README TODO HISTORY CREDITS example.nibblerc
%changelog
…
Полный changelog можно просмотреть здесь
Summary: NCurses based nibbles game
Name: nibbles
Version: 0.0.4
Release: alt2
License: GPLv2
Group: Games/Arcade
Source0: http://www.earth.li/projectpurple/files/%name-v%version.tar.gz
Patch0: %name-Makefile.patch
Patch1: %name-window.patch
Patch2: %name-score.patch
Url: http://www.earth.li/projectpurple/progs/nibbles.html
Packager: Fr. Br. George <george at altlinux.ru>
# Automatically added by buildreq on Wed Dec 16 2009
BuildRequires: libncurses-devel
%description
Nibbles is a remake of the classic Snake/Nibbles game in ncurses. I am
sure that better nibbles games exist, but I thought that I'd write an
ncurses one to learn how.
%prep
%setup -n %name-v%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
make DATADIR=%_datadir CFLAGS="$CFLAGS -fcommon"
%install
install -d %buildroot{%_bindir,%_datadir/games,/var/games}
install nibbles %buildroot%_bindir
touch %buildroot/var/games/nibbles.score
cp -a nibbles.levels %buildroot%_datadir/games
%files
%defattr(644,root,root,755)
%attr(2711,root,games) %_bindir/nibbles
%attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/nibbles.score
%_datadir/games/nibbles.levels
%doc README TODO HISTORY CREDITS example.nibblerc
%changelog
…
Полный changelog можно просмотреть здесь