From 5dd9725f36ab816f34f8c5e4ac9577104875901eb3ece97ff23054a4370d6cd2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 30 Nov 2018 09:50:41 +0000 Subject: [PATCH] - Update to version 10 OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=13 --- stockfish-10.tar.gz | 3 +++ stockfish-9.tar.gz | 3 --- stockfish.changes | 5 +++++ stockfish.spec | 22 +++++++++++----------- 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 stockfish-10.tar.gz delete mode 100644 stockfish-9.tar.gz diff --git a/stockfish-10.tar.gz b/stockfish-10.tar.gz new file mode 100644 index 0000000..2596877 --- /dev/null +++ b/stockfish-10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c19c5377daa6f92d798849a1295441d987d25a1b9ae44256e19907ee10c63dd3 +size 142617 diff --git a/stockfish-9.tar.gz b/stockfish-9.tar.gz deleted file mode 100644 index 845552a..0000000 --- a/stockfish-9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d0f33765376b381868d13cc8bfd4e1fa51040074b7ab388cc93b613dd88f67c4 -size 140413 diff --git a/stockfish.changes b/stockfish.changes index 4e7b571..b4abe45 100644 --- a/stockfish.changes +++ b/stockfish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 30 09:46:12 UTC 2018 - mvetter@suse.com + +- Update to version 10 + ------------------------------------------------------------------- Mon Jul 16 14:24:48 UTC 2018 - msuchanek@suse.com diff --git a/stockfish.spec b/stockfish.spec index 00dda6a..a41f7d7 100644 --- a/stockfish.spec +++ b/stockfish.spec @@ -17,25 +17,25 @@ Name: stockfish -Version: 9 +Version: 10 Release: 0 Summary: Powerful open source chess engine License: GPL-3.0-or-later -Url: http://stockfishchess.org +URL: http://stockfishchess.org Source0: https://github.com/official-stockfish/Stockfish/archive/sf_%{version}.tar.gz#/%{name}-%{version}.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 Source11: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/%{name}.6-20091204230329-yljoyxocuxhxg1ot-76/%{name}.6 # If 'Version' is not set it will display the date as version number. We dont want __DATE__ and Version is set anyways. -Patch: date.patch +Patch0: date.patch BuildRequires: dos2unix BuildRequires: gcc-c++ -%ifarch %power64 -BuildRequires: gcc-c++-32bit -%endif Recommends: xboard Provides: chess_backend -ExclusiveArch: %power64 %ix86 x86_64 armv7l armv7hl armv7hnl +ExclusiveArch: %{power64} %{ix86} x86_64 armv7l armv7hl armv7hnl +%ifarch %{power64} +BuildRequires: gcc-c++-32bit +%endif %description Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a @@ -46,7 +46,7 @@ information about how to use Stockfish with your GUI. %prep %setup -q -n Stockfish-sf_%{version} -%patch -p1 +%patch0 -p1 cp -p %{SOURCE10} %{SOURCE11} . dos2unix %{name}-interface.txt dos2unix Copying.txt @@ -56,7 +56,7 @@ cd src %ifarch x86_64 make %{?_smp_mflags} build ARCH=x86-64 %else -%ifarch %power_64 +%ifarch %{power_64} make %{?_smp_mflags} build ARCH=ppc-64 %else %ifarch armv7l armv7hl armv7hnl @@ -75,8 +75,8 @@ mkdir -p %{buildroot}%{_mandir}/man6 cp -p %{name}.6 %{buildroot}%{_mandir}/man6 %files -%defattr(-,root,root) -%doc AUTHORS %{name}-interface.txt Readme.md Copying.txt +%license Copying.txt +%doc AUTHORS %{name}-interface.txt Readme.md %{_mandir}/man*/%{name}.* %{_bindir}/%{name}