1 Summary: Chess program that plays many variants
2 Summary(pl.UTF-8): Program szachowy grający w wiele wariantów
7 Group: Applications/Games
8 Source0: http://www.sjeng.org/ftp/%{name}-%{version}.tar.gz
9 # Source0-md5: 6561e740b7af703c16701304697d2870
11 Source2: %{name}-README
12 Patch0: %{name}-cleanup.patch
13 Patch1: %{name}-FHS.patch
14 URL: http://sjeng.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gdbm-devel
18 BuildRequires: perl-base
19 Provides: chess_backend
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Sjeng is a chess program that plays normal chess and many variants
24 like crazyhouse, bughouse, suicide (aka giveaway or anti-chess) and
25 losers. It can also play variants which have the same rules as normal
26 chess, but a different starting position. It uses the XBoard/WinBoard
27 interface by Tim Mann, so it can be used with xboard or eboard. It is
28 also capable of playing on Internet chess servers.
30 %description -l pl.UTF-8
31 Sjeng to program szachowy grający w zwykłe szachy, a także wiele
32 wariantów, takich jak crazyhouse, kloc (bughouse), antyszachy (znane
33 także jako szybka szpila; ang. suicide chess, giveaway, anti-chess,
34 loser's chess). Potrafi także grać w warianty z normalnymi regułami,
35 ale inną pozycją początkową. Wykorzystuje interfejs XBoard/WinBoard
36 Tima Manna, więc może być używany wraz z xboard lub eboard. Potrafi
37 także grać z wykorzystaniem internetowych serwerów szachowych.
43 cp %{SOURCE2} README.PLD
45 %{__perl} -pi -e 's/\r//g' BUGS ChangeLog README THANKS
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
61 DESTDIR=$RPM_BUILD_ROOT
63 install sjeng.rc $RPM_BUILD_ROOT%{_sysconfdir}
64 install books/*.opn $RPM_BUILD_ROOT%{_datadir}/sjeng
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man6/sjeng.6
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc AUTHORS BUGS ChangeLog NEWS README* THANKS tests/*.epd
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sjeng.rc
74 %attr(755,root,root) %{_bindir}/sjeng
75 %dir %{_datadir}/sjeng
76 %{_datadir}/sjeng/*.opn
77 %{_mandir}/man6/sjeng.6*