- Update to version 10

OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=13
This commit is contained in:
Michael Vetter 2018-11-30 09:50:41 +00:00 committed by Git OBS Bridge
parent 950d64461e
commit 5dd9725f36
4 changed files with 19 additions and 14 deletions

3
stockfish-10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c19c5377daa6f92d798849a1295441d987d25a1b9ae44256e19907ee10c63dd3
size 142617

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0f33765376b381868d13cc8bfd4e1fa51040074b7ab388cc93b613dd88f67c4
size 140413

View File

@ -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

View File

@ -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}