Sisyphus repositório
Última atualização: 6 agosto 2020 | SRPMs: 17673 | Visitas: 19003320
en ru br
ALT Linux repositórios
S:4.8j-alt1.qa1

Group :: Jogos/Boards
RPM: fairymax

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: fairymax
Version: 4.8j
Release: alt1.qa1

Summary: Fairy-Max, a sub-2KB (source) micro-Max Chess program
License: Public domain
Group: Games/Boards

Url: http://home.hccnet.nl/h.g.muller/
Source0: %url/fmax4_8w.c
Source1: %url/fmax.ini
Source2: %name.6
Packager: Michael Shigorin <mike at altlinux.org>

%define inidir %_gamesdatadir/%name

%description
Fairymax is a program that plays chess and chess variants.
It uses the xboard/winboard chess-engine protocol to communicate.
Apart from 'regular' chess (also known as the Mad-Queen variant),
it can play Capablanca chess, gothic chess, knightmate, cylinder
chess, berolina chess, superchess and courier chess.

%prep
#mkdir -p $RPM_BUILD_DIR
sed 's,fmax.ini",%inidir/&,' < %SOURCE0 > %name.c

%build
%make CFLAGS="%optflags" %name

%install
install -pDm755 %name %buildroot%_bindir/%name
install -pDm644 %SOURCE1 %buildroot%_gamesdatadir/%name/fmax.ini
install -pDm644 %SOURCE2 %buildroot%_man6dir/%name.6

%files
%_bindir/*
%_gamesdatadir/%name/
%_man6dir/*

# TODO:

# - zip seems to also contain some docs
# - consider -DSHATRANJ

%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