]>
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 | |
dbea8c80 | 10 | Source0: ftp://ftp.cis.uab.edu/pub/hyatt/TB/31/kbnk.nbb.emd |
db456c2e | 11 | # Source0-md5: 891e2e92ec49c72973a6456e71b02459 |
dbea8c80 | 12 | Source1: ftp://ftp.cis.uab.edu/pub/hyatt/TB/31/kbnk.nbw.emd |
db456c2e | 13 | # Source1-md5: 19d67aeba1329762a5a076917b5b7f61 |
a919d513 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | Selected endgame tablebases for Crafty. | |
18 | ||
19 | %prep | |
a919d513 | 20 | |
21 | %clean | |
22 | rm -rf $RPM_BUILD_ROOT | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
27 | install -m 0444 ${RPM_SOURCE_DIR}/kbnk.nbb.emd $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
28 | install -m 0444 ${RPM_SOURCE_DIR}/kbnk.nbw.emd $RPM_BUILD_ROOT%{_prefix}/lib/games/crafty/TB | |
29 | ||
30 | %files | |
31 | %defattr(644,root,root,755) | |
32 | %dir %{_prefix}/lib/games/crafty/TB | |
33 | %{_prefix}/lib/games/crafty/TB/kbnk.nbb.emd | |
34 | %{_prefix}/lib/games/crafty/TB/kbnk.nbw.emd |