Projects
Games
stockfish18
stockfish18.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stockfish18.spec of Package stockfish18
# spec file for package stockfish18 (Version 1.8.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Summary: A very strong, UCI compatible Chess engine Name: stockfish18 Version: 1.8.0 Release: 0 License: GPL-2.0 Group: Amusements/Games/Board/Chess URL: http://www.stockfishchess.com/ Source: %{name}-%{version}.tar.bz2 Source1: x%{name} Source2: %{name}.sh Source3: %{name}-polyglot.sh Source4: %{name}.ini Source5: Book.bin.bz2 Source100: %{name}.changes Patch1: stockfish-no-build-date.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildRequires: gcc-c++ dos2unix AutoReqProv: on Recommends: polyglot xboard %description Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a complete chess program, but requires some UCI compatible GUI (like XBoard with PolyGlot, eboard, José, Arena, Sigma Chess, Shredder, Chess Partner, or Fritz) in order to be used comfortably. Read the documentation for your GUI of choice for information about how to use Stockfish with your GUI. This version of Stockfish supports up to 8 CPUs, but has not been tested thoroughly with more than 2. The program tries to detect the number of CPUs on your computer and set the number of search threads accordingly, but please be aware that the detection is not always correct. It is therefore recommended to inspect the value of the "Threads" UCI parameter, and to make sure it equals the number of CPU cores on your computer. If you are using more than four threads, it is recommended to raise the value of "Minimum Split Depth" UCI parameter to 6. Authors: -------- Marco Costalba <mcostalba@gmail.com> Tord Romstad Joona Kiiski Salvo Spitaleri (opening book "Book.bin") %prep %setup -q %patch1 -p1 dos2unix Readme.txt dos2unix src/COPYING chmod 0644 src/COPYING %build pushd src/ # use Book.bin as default book with UCI sed -i 's/book\.bin/Book\.bin/g' ucioption.cpp %ifarch x86_64 make ARCH=x86-64-modern build %endif %ifarch %ix86 make ARCH=x86-32 build %endif popd %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} install -m 755 src/stockfish $RPM_BUILD_ROOT%{_bindir}/%{name}.bin install -m 644 *.jpg $RPM_BUILD_ROOT%{_datadir}/%{name}/ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/x%{name} install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name} install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name}-polyglot install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/ bzcat %{SOURCE5} > $RPM_BUILD_ROOT%{_datadir}/%{name}/Book.bin %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc src/COPYING Readme.txt %{_bindir}/*%{name}* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.