Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37727916
en ru br
Репозитории ALT
S:6.2.9-alt1
5.1: 5.07-alt3
4.1: 5.07-alt2
4.0: 5.07-alt2
3.0: 5.07-alt1
www.altlinux.org/Changes

Группа :: Игры/Настольные
Пакет: chess

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: chess
Version: 5.07
Release: alt2

%define real_name gnu%name

Summary: The GNU chess program
License: GPL
Group: Games/Boards

Source: ftp://ftp.gnu.org/gnu/chess/%real_name-%version.tar
Source1: book_1.00.pgn
Patch: gnuchess-5.07-alt-gcc4.patch

Provides: %real_name = %version
Obsoletes: %real_name

# Automatically added by buildreq on Tue Mar 02 2004

BuildRequires: flex libncurses-devel libreadline-devel

%description
The gnuchess package contains the GNU chess program.  By default, GNUchess
uses a curses text-based interface.  Alternatively, GNUchess can be used
in conjunction with the xboard user interface and the X Window System for
a graphical chessboard.

You should install the gnuchess package if you would like to play chess on
your computer.  You'll also need to install the curses package.  If you'd
like to use a graphical interface with GNUchess, you'll also need to
install the xboard package and the X Window System.

%prep
%setup -q -n %real_name-%version
%patch -p1

%build
%configure
%make_build

#compile book

pushd src
./%real_name<<EOF
book add %SOURCE1
quit
EOF
popd

%install
mkdir -p $RPM_BUILD_ROOT%_bindir
cd src
%makeinstall
#install -pm755 gnuchessx $RPM_BUILD_ROOT%_bindir
install -d $RPM_BUILD_ROOT%_gamesdatadir/%real_name
install -pm644 book.dat $RPM_BUILD_ROOT%_gamesdatadir/%real_name

%files
%_bindir/*
%_datadir/games/%real_name

%changelog

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

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