]> git.pld-linux.org Git - packages/Sjeng-Free.git/blame - Sjeng-Free.spec
- release 3 (rebuild with gdbm 1.15)
[packages/Sjeng-Free.git] / Sjeng-Free.spec
CommitLineData
168fe1b7 1Summary: Chess program that plays many variants
3329c1d8 2Summary(pl.UTF-8): Program szachowy grający w wiele wariantów
168fe1b7
PG
3Name: Sjeng-Free
4Version: 11.2
8ec165c5 5Release: 3
116650b6 6License: GPL v2+
3329c1d8 7Group: Applications/Games
168fe1b7
PG
8Source0: http://www.sjeng.org/ftp/%{name}-%{version}.tar.gz
9# Source0-md5: 6561e740b7af703c16701304697d2870
10Source1: %{name}.6
11Source2: %{name}-README
3329c1d8
JB
12Patch0: %{name}-cleanup.patch
13Patch1: %{name}-FHS.patch
168fe1b7 14URL: http://sjeng.org/
116650b6 15BuildRequires: autoconf
168fe1b7
PG
16BuildRequires: automake
17BuildRequires: gdbm-devel
3329c1d8 18BuildRequires: perl-base
168fe1b7 19Provides: chess_backend
08ec1e9c 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
168fe1b7
PG
21
22%description
23Sjeng is a chess program that plays normal chess and many variants
24like crazyhouse, bughouse, suicide (aka giveaway or anti-chess) and
25losers. It can also play variants which have the same rules as normal
26chess, but a different starting position. It uses the XBoard/WinBoard
27interface by Tim Mann, so it can be used with xboard or eboard. It is
3329c1d8
JB
28also capable of playing on Internet chess servers.
29
30%description -l pl.UTF-8
31Sjeng to program szachowy grający w zwykłe szachy, a także wiele
32wariantów, takich jak crazyhouse, kloc (bughouse), antyszachy (znane
33także jako szybka szpila; ang. suicide chess, giveaway, anti-chess,
34loser's chess). Potrafi także grać w warianty z normalnymi regułami,
35ale inną pozycją początkową. Wykorzystuje interfejs XBoard/WinBoard
36Tima Manna, więc może być używany wraz z xboard lub eboard. Potrafi
37także grać z wykorzystaniem internetowych serwerów szachowych.
168fe1b7
PG
38
39%prep
40%setup -q
3329c1d8
JB
41%patch0 -p1
42%patch1 -p1
dd9924af 43cp %{SOURCE2} README.PLD
168fe1b7 44
116650b6 45%{__perl} -pi -e 's/\r//g' BUGS ChangeLog README THANKS
168fe1b7
PG
46
47%build
116650b6
JB
48%{__aclocal}
49%{__autoconf}
50%{__autoheader}
51%{__automake}
168fe1b7
PG
52%configure
53
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
3329c1d8 58install -d $RPM_BUILD_ROOT{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
168fe1b7
PG
59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
3329c1d8
JB
63install sjeng.rc $RPM_BUILD_ROOT%{_sysconfdir}
64install books/*.opn $RPM_BUILD_ROOT%{_datadir}/sjeng
65install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man6/sjeng.6
168fe1b7
PG
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
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
e2b5f057 74%attr(755,root,root) %{_bindir}/sjeng
168fe1b7
PG
75%dir %{_datadir}/sjeng
76%{_datadir}/sjeng/*.opn
8ec165c5 77%{_mandir}/man6/sjeng.6*
This page took 0.140019 seconds and 4 git commands to generate.