Dominique Leuenberger 2016-11-21 13:26:28 +00:00 committed by Git OBS Bridge
commit ba0b69fa19
4 changed files with 25 additions and 10 deletions

View File

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

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

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Nov 20 14:52:27 UTC 2016 - rpm@fthiessen.de
- Fixed architecture detection in spec file.
-------------------------------------------------------------------
Fri Nov 4 15:56:52 UTC 2016 - mvetter@suse.com
- Update to version 8
-------------------------------------------------------------------
Mon Jun 13 10:20:17 UTC 2016 - psimons@suse.com

View File

@ -17,7 +17,7 @@
Name: stockfish
Version: 7
Version: 8
Release: 0
Summary: Powerful open source chess engine
License: GPL-3.0+
@ -32,7 +32,7 @@ BuildRequires: dos2unix
BuildRequires: gcc-c++
Recommends: xboard
Provides: chess_backend
ExclusiveArch: %ix86 x86_64 %arm %{power64}
ExclusiveArch: %power64 %ix86 x86_64 armv7l armv7hl armv7hnl
%description
Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a
@ -46,19 +46,24 @@ information about how to use Stockfish with your GUI.
%patch -p1
cp -p %{SOURCE10} %{SOURCE11} .
dos2unix %{name}-interface.txt
dos2unix Copying.txt
%build
cd src
%ifarch x86_64
make %{?_smp_mflags} build ARCH=x86-64
%else if %{power_64}
make %{?_smp_mflags} build ARCH=ppc-64
%else if armv7l armv7hl armv7hnl
make %{?_smp_mflags} build ARCH=armv7
#ix86
%else
%ifarch %power_64
make %{?_smp_mflags} build ARCH=ppc-64
%else
%ifarch armv7l armv7hl armv7hnl
make %{?_smp_mflags} build ARCH=armv7
%else
#ix86
make %{?_smp_mflags} build ARCH=general-32
%endif
%endif
%endif
%install
mkdir -p %{buildroot}%{_bindir}