]> git.pld-linux.org Git - packages/Sjeng-Free.git/blob - Sjeng-Free.spec
- release 3 (rebuild with gdbm 1.15)
[packages/Sjeng-Free.git] / Sjeng-Free.spec
1 Summary:        Chess program that plays many variants
2 Summary(pl.UTF-8):      Program szachowy grający w wiele wariantów
3 Name:           Sjeng-Free
4 Version:        11.2
5 Release:        3
6 License:        GPL v2+
7 Group:          Applications/Games
8 Source0:        http://www.sjeng.org/ftp/%{name}-%{version}.tar.gz
9 # Source0-md5:  6561e740b7af703c16701304697d2870
10 Source1:        %{name}.6
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)
21
22 %description
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.
29
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.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 cp %{SOURCE2} README.PLD
44
45 %{__perl} -pi -e 's/\r//g' BUGS ChangeLog README THANKS
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
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
66
67 %clean
68 rm -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
74 %attr(755,root,root) %{_bindir}/sjeng
75 %dir %{_datadir}/sjeng
76 %{_datadir}/sjeng/*.opn
77 %{_mandir}/man6/sjeng.6*
This page took 0.045885 seconds and 3 git commands to generate.