%define pkgver %(echo %{version}|sed 's,[.],,g') Name: critter Version: 1.6a Release: %mkrel 6 Summary: A chess engine License: freeware Group: Games/Boards URL: http://www.vlasak.biz/critter/ # download from http://www.vlasak.biz/critter/ Source0: %{name}_%{version}_linux.zip ExclusiveArch: %{ix86} x86_64 %description Critter is the top chess UCI engine from Slovakia. Originally Critter was developed in Delphi, but Delphi has not still 64bit compiler. That is why the program from version 0.42 was rewritten to C++ using a BitBoard technology. Such concept gives possibility to reach top performance. Gaviota table bases are used. Richard thinks GTB is a better choice for developers than Nalimov, because it has a more liberal license. %prep %setup -q -c %build %install %ifarch x86_64 install -p -D -m0755 critter-16a-64bit %{buildroot}%{_gamesbindir}/%{name} %else install -p -D -m0755 critter-16a-32bit %{buildroot}%{_gamesbindir}/%{name} %endif mkdir -p %{buildroot}%{_gamesdatadir}/%{name} # the opening book install -p -D -m0644 book.cbk %{buildroot}%{_gamesdatadir}/%{name} %files %{_gamesbindir}/%{name} %{_gamesdatadir}/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.6a-6.mga5 + Revision: 742824 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.6a-5.mga5.nonfree + Revision: 678586 - Mageia 5 Mass Rebuild * Thu Oct 31 2013 tmb <tmb> 1.6a-4.mga4.nonfree + Revision: 548347 - Mageia 4 rebuild * Fri Jan 11 2013 umeabot <umeabot> 1.6a-3.mga3.nonfree + Revision: 348298 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Dec 01 2012 kamil <kamil> 1.6a-2.mga3.nonfree + Revision: 324387 - rebuild for Mga3 Beta1 * Thu Jul 26 2012 kamil <kamil> 1.6a-1.mga3.nonfree + Revision: 274654 - imported package critter