]> git.pld-linux.org Git - packages/Sjeng-Free.git/blob - Sjeng-Free.spec
- unbzip2ped patches, cleanup
[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:        1
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:  automake
16 BuildRequires:  gdbm-devel
17 BuildRequires:  perl-base
18 Provides:       chess_backend
19 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Sjeng is a chess program that plays normal chess and many variants
23 like crazyhouse, bughouse, suicide (aka giveaway or anti-chess) and
24 losers. It can also play variants which have the same rules as normal
25 chess, but a different starting position. It uses the XBoard/WinBoard
26 interface by Tim Mann, so it can be used with xboard or eboard. It is
27 also capable of playing on Internet chess servers.
28
29 %description -l pl.UTF-8
30 Sjeng to program szachowy grający w zwykłe szachy, a także wiele
31 wariantów, takich jak crazyhouse, kloc (bughouse), antyszachy (znane
32 także jako szybka szpila; ang. suicide chess, giveaway, anti-chess,
33 loser's chess). Potrafi także grać w warianty z normalnymi regułami,
34 ale inną pozycją początkową. Wykorzystuje interfejs XBoard/WinBoard
35 Tima Manna, więc może być używany wraz z xboard lub eboard. Potrafi
36 także grać z wykorzystaniem internetowych serwerów szachowych.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42 cp %{SOURCE2} README.debian
43
44 # (Abel) supress annoying rpmlint warning message
45 %{__perl} -pi -e 's/\r//g' [[:upper:]][[:upper:]]* ChangeLog
46
47 %build
48 autoreconf --force --install
49 %configure
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 install sjeng.rc $RPM_BUILD_ROOT%{_sysconfdir}
61 install books/*.opn $RPM_BUILD_ROOT%{_datadir}/sjeng
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man6/sjeng.6
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS BUGS ChangeLog NEWS README* THANKS tests/*.epd
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sjeng.rc
71 %attr(755,root,root) %{_bindir}/sjeng
72 %dir %{_datadir}/sjeng
73 %{_datadir}/sjeng/*.opn
74 %{_mandir}/man6/*.6*
This page took 0.047287 seconds and 3 git commands to generate.