raphgro pushed to stockfish (f22). "7-0.3.20150506git2e86d1f"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sat May 9 00:28:33 UTC 2015
From e692ebab810eac11ece0a2ebe6bb10875b3d9410 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg at smart.ms>
Date: Fri, 8 May 2015 23:36:20 +0200
Subject: 7-0.3.20150506git2e86d1f
diff --git a/.gitignore b/.gitignore
index eb486df..8faa795 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,7 @@
/stockfish-1e6d21d.tar.gz
/stockfish-cb2111f.tar.gz
+/stockfish-2e86d1febc163e076320a6a21060fc5a1c7c0dff.tar.gz
+/stockfish-interface.txt
+/stockfish.6
+/stockfish-polyglot.ini
+/Stockfish-CMakeLists.txt
diff --git a/sources b/sources
index 113959d..6e6eca0 100644
--- a/sources
+++ b/sources
@@ -1 +1,5 @@
-c69285b8814ed5671c73b8ac86f096f7 stockfish-cb2111f.tar.gz
+9aa3f97bd5497e3db42cd1a0a4257ac9 stockfish-2e86d1febc163e076320a6a21060fc5a1c7c0dff.tar.gz
+abfb20be46a69ead36e6ccff425ca0fa stockfish-interface.txt
+f7a43e9d1d4aad9f33affd4f69215295 stockfish.6
+5845ef7f0549190e12384f6f7e2dabe3 stockfish-polyglot.ini
+ed817fdad1d87c4f9471209d6017bd23 Stockfish-CMakeLists.txt
diff --git a/stockfish.spec b/stockfish.spec
index c785d97..4c95ebe 100644
--- a/stockfish.spec
+++ b/stockfish.spec
@@ -1,32 +1,27 @@
%global project Stockfish
-#global owner mcostalba
%global owner official-stockfish
# release betterly from latest commits to be fastest
-%global commit cb2111f0b62afec5fd977e1dd4ca5843bd006956
-%global commitdate 20150302
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
+%global commit 2e86d1febc163e076320a6a21060fc5a1c7c0dff
+%global commitdate 20150506
Name: stockfish
Version: 7
-Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.3.%{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/%{owner}/%{project}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
-Source1: https://raw.githubusercontent.com/official-%{name}/%{project}/master/AUTHORS#/%{name}-AUTHORS
+URL: http://stockfishchess.org
+Source0: https://github.com/%{owner}/%{project}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
# steal some documentation from ubuntu
-Source2: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/engineinterface.txt-20091204230329-yljoyxocuxhxg1ot-78/engine-interface.txt#/%{name}-interface.txt
-Source3: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/%{name}.6-20091204230329-yljoyxocuxhxg1ot-76/%{name}.6
+Source10: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/engineinterface.txt-20091204230329-yljoyxocuxhxg1ot-78/engine-interface.txt#/%{name}-interface.txt
+Source11: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/%{name}.6-20091204230329-yljoyxocuxhxg1ot-76/%{name}.6
# polyglot support
-Source4: https://raw.githubusercontent.com/mpurland/%{name}/master/polyglot.ini#/%{name}-polyglot.ini
+Source20: https://raw.githubusercontent.com/mpurland/%{name}/master/polyglot.ini#/%{name}-polyglot.ini
# FIXME cmake, https://github.com/official-stockfish/Stockfish/issues/272
-Source10: %{project}-CMakeLists.txt
+Source30: %{project}-CMakeLists.txt
BuildRequires: cmake
@@ -43,18 +38,17 @@ information about how to use Stockfish with your GUI.
%prep
%setup -qn%{project}-%{commit}
-cp -p %{SOURCE1} AUTHORS
-cp -p %{SOURCE2} %{SOURCE3} .
-# use cmake with Fedora compiler flags
-rm src/Makefile
-cp -p %{SOURCE10} src/CMakeLists.txt
+cp -p %{SOURCE10} %{SOURCE11} .
# W: wrong-file-end-of-line-encoding
sed -i 's,\r$,,' %{name}-interface.txt
# polyglot of installed binary and disable log
sed -e 's,\(EngineDir = \).*,\1%{_bindir},' \
-e 's,\(EngineCommand = \).*,\1%{name},' \
-e 's,\(LogFile = \).*,\1~/,' -e 's,\(LogFile = \).*,\1false,' \
- %{SOURCE4} >polyglot.ini
+ %{SOURCE20} >polyglot.ini
+# use cmake with Fedora compiler flags
+cp -p %{SOURCE30} src/CMakeLists.txt
+rm src/Makefile
%build
@@ -86,6 +80,9 @@ cp -p polyglot.ini %{buildroot}%{_sysconfdir}/%{name}
%changelog
+* Fri May 08 2015 Raphael Groner <projects.rg at smart.ms> - 7-0.3.20150506git2e86d1f
+- latest snapshot from upstream
+
* Sat May 02 2015 Kalev Lember <kalevlember at gmail.com> - 7-0.2.20150302gitcb2111f
- Rebuilt for GCC 5 C++11 ABI change
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/stockfish.git/commit/?h=f22&id=e692ebab810eac11ece0a2ebe6bb10875b3d9410
More information about the scm-commits
mailing list