]> git.pld-linux.org Git - packages/Sjeng-Free.git/blame - Sjeng-Free.spec
- typo
[packages/Sjeng-Free.git] / Sjeng-Free.spec
CommitLineData
168fe1b7
PG
1Summary: Chess program that plays many variants
2Name: Sjeng-Free
3Version: 11.2
4Release: 1
5License: GPL v2
6Group: Applications/Games/Boards
7Source0: http://www.sjeng.org/ftp/%{name}-%{version}.tar.gz
8# Source0-md5: 6561e740b7af703c16701304697d2870
9Source1: %{name}.6
10Source2: %{name}-README
11Patch0: %{name}-cleanup.patch.bz2
12Patch1: %{name}-FHS.patch.bz2
13URL: http://sjeng.org/
14BuildRequires: automake
15BuildRequires: gdbm-devel
16Provides: chess_backend
17Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Sjeng is a chess program that plays normal chess and many variants
21like crazyhouse, bughouse, suicide (aka giveaway or anti-chess) and
22losers. It can also play variants which have the same rules as normal
23chess, but a different starting position. It uses the XBoard/WinBoard
24interface by Tim Mann, so it can be used with xboard or eboard. It is
25also capable of playing on internet chess servers.
26
27%prep
28%setup -q
29%patch0 -p1 -b .cleanup
30%patch1 -p1 -b .fhs
31cp %{SOURCE2} README.debian
32
33# (Abel) supress annoying rpmlint warning message
34%{__perl} -pi -e 's/\r//g' [[:upper:]][[:upper:]]* ChangeLog
35
36%build
37autoreconf --force --install
38%configure
39
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d ${RPM_BUILD_ROOT}{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49install sjeng.rc ${RPM_BUILD_ROOT}%{_sysconfdir}
50install books/*.opn ${RPM_BUILD_ROOT}%{_datadir}/sjeng
51install %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man6/sjeng.6
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc AUTHORS BUGS ChangeLog NEWS README* THANKS tests/*.epd
59%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sjeng.rc
e2b5f057 60%attr(755,root,root) %{_bindir}/sjeng
168fe1b7
PG
61%dir %{_datadir}/sjeng
62%{_datadir}/sjeng/*.opn
63%{_mandir}/man6/*.6*
This page took 0.136971 seconds and 4 git commands to generate.