diff --git a/stockfish.spec b/stockfish.spec index 8bcaca5..a8a14a8 100644 --- a/stockfish.spec +++ b/stockfish.spec @@ -1,16 +1,16 @@ -%global project Stockfish +%global srcname Stockfish # release well from latest commits to be fastest -%global commit aedebe35cfa38b543041bae97e91e8194738b202 -%global commitdate 20160118 +%global commit0 e1a7d135b2b1c6118ba514fa41c2104245bd1caf +%global date0 20160225 -Name: stockfish -Version: 7 -Release: 0.10.%{commitdate}git%(c=%{commit}; echo ${c:0:7})%{?dist} -Summary: Powerful open source chess engine -License: GPLv3+ -URL: http://stockfishchess.org -Source0: https://github.com/official-stockfish/%{project}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz +Name: stockfish +Version: 7 +Release: 0.11.%{date0}git%(c=%{commit0}; echo ${c:0:7})%{?dist} +Summary: Powerful open source chess engine +License: GPLv3+ +URL: http://stockfishchess.org +Source0: https://github.com/official-stockfish/%{srcname}/archive/%{commit0}.tar.gz#/%{name}-%{commit0}.tar.gz # steal some documentation from ubuntu Source10: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/engineinterface.txt-20091204230329-yljoyxocuxhxg1ot-78/engine-interface.txt#/%{name}-interface.txt @@ -20,7 +20,7 @@ Source11: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{na Source20: https://raw.githubusercontent.com/mpurland/%{name}/master/polyglot.ini#/%{name}-polyglot.ini # FIXME cmake, https://github.com/official-stockfish/Stockfish/issues/272 -Source30: %{project}-CMakeLists.txt +Source30: %{srcname}-CMakeLists.txt BuildRequires: cmake @@ -36,7 +36,7 @@ information about how to use Stockfish with your GUI. %prep -%setup -qn%{project}-%{commit} +%setup -qn%{srcname}-%{commit0} cp -p %{SOURCE10} %{SOURCE11} . # W: wrong-file-end-of-line-encoding sed -i 's,\r$,,' %{name}-interface.txt @@ -52,7 +52,7 @@ rm src/Makefile %build CXXFLAGS="%{optflags} -std=c++11" %cmake src -make %{?_smp_mflags} +%make_build %install @@ -79,7 +79,10 @@ cp -p polyglot.ini %{buildroot}%{_sysconfdir}/%{name} %changelog -* Wed Feb 03 2016 Raphael Groner - 7-0.10.20150118gitaedebe3 +* Sat Mar 05 2016 Raphael Groner - 7-0.11.20160225gite1a7d13 +- new upstream snapshot + +* Wed Feb 03 2016 Raphael Groner - 7-0.10.20160118gitaedebe3 - new upstream snapshot * Tue Dec 15 2015 Raphael Groner - 7-0.9.20151105git76ed0ab