Summary: Superior chess program by Bob Hyatt for Unix systems
Summary(pl): Jeden z lepszych programów szachowych dla uniksów autorstwa Boba Hyatta
Name: crafty
-Version: 18.9
-Release: 2
+Version: 18.15
+Release: 1
License: GPL
Group: Applications/Games
Source0: ftp://ftp.cis.uab.edu/pub/hyatt/v18/%{name}-%{version}.tar.gz
-# Source0-md5: 4cae4e95fb86421c6626baefadbff18f
+# Source0-md5: e98774ac9b515bb5487c1789f5e6af4c
Source1: ftp://ftp.cis.uab.edu/pub/hyatt/%{name}.faq
# NoSource1-md5: f744727e291b6dec7e7c69bb3586b6dd
Source2: ftp://ftp.cis.uab.edu/pub/hyatt/read.me
# NoSource4-md5: 5fd73027a1de1674763562e1987197ba
Source5: ftp://ftp.cis.uab.edu/pub/hyatt/doc/%{name}.doc.ps
# Source5-md5: 6cef69aa2f9ea1ceb74b6c14edc8291f
+Source6: %{name}.desktop
+Source7: xchess.png
Patch0: %{name}-paths.patch
Patch1: %{name}-Makefile.patch
Icon: xchess.gif
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/games/crafty}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/games/crafty,%{_desktopdir},%{_pixmapsdir}}
install crafty $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}
#install books.bin $RPM_BUILD_ROOT%{_libdir}/games/crafty
#install -d %{_libdir}/games/crafty
#install books.bin %{_libdir}/games/crafty/books.bin
%attr(755,root,root) %{_bindir}/crafty
%dir %{_libdir}/games/crafty
#%{_libdir}/games/crafty/books.bin
+%{_desktopdir}/*
+%{_pixmapsdir}/*