]>
Commit | Line | Data |
---|---|---|
a919d513 | 1 | Name: crafty_tablebase |
2 | Requires: crafty | |
3 | Version: 2.0 | |
4 | Summary: Tablebases for Crafty. | |
5 | Release: 3 | |
6 | ExcludeArch: axp | |
7 | License: GPL | |
8 | Group: Applications/Games | |
9 | Icon: xchess.gif | |
10 | Source0: ftp://ftp.cis.uab.edu/pub/hyatt/TB/four/kbnk.nbb.emd | |
11 | Source1: ftp://ftp.cis.uab.edu/pub/hyatt/TB/four/kbnk.nbw.emd | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Selected endgame tablebases for Crafty. | |
16 | ||
17 | %prep | |
18 | echo Nothing to do for prep. | |
19 | ||
20 | %build | |
21 | echo Nothing to do for build. | |
22 | ||
23 | %clean | |
24 | rm -rf $RPM_BUILD_ROOT | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
29 | install -m 0444 ${RPM_SOURCE_DIR}/kbnk.nbb.emd $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
30 | install -m 0444 ${RPM_SOURCE_DIR}/kbnk.nbw.emd $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
31 | ||
32 | %files | |
33 | %defattr(644,root,root,755) | |
34 | %dir %{_prefix}/lib/games/crafty/TB | |
35 | %{_prefix}/lib/games/crafty/TB/kbnk.nbb.emd | |
36 | %{_prefix}/lib/games/crafty/TB/kbnk.nbw.emd |