Clean up Stockfish RPM spec

This commit is contained in:
Ryan Cavicchioni 2021-09-12 19:12:46 -05:00
parent df7e4bcc31
commit 89b2b86509
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -4,15 +4,15 @@
Name: stockfish Name: stockfish
Version: 14 Version: 14
Release: 1%{?dist} Release: 0%{?dist}
Source0: https://github.com/official-%{srcname}/%{name}/archive/sf_%{version}/%{srcname}-sf_%{version}.tar.gz Source0: https://github.com/official-%{name}/%{srcname}/archive/sf_%{version}.tar.gz#/%{srcname}-sf_%{version}.tar.gz
Summary: Powerful open source chess engine Summary: Powerful open source chess engine
License: GPLv3+ License: GPLv3+
URL: http://%{name}chess.org URL: http://%{name}chess.org
BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
BuildRequires: xz
%description %description
Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a
@ -28,7 +28,9 @@ information about how to use Stockfish with your GUI.
%build %build
cd src cd src
make build ARCH=x86-64-modern %ifarch x86_64
make %{?_smp_mflags} build ARCH=x86-64
%endif
%install %install
cd src cd src
@ -38,3 +40,5 @@ make PREFIX=%{buildroot}%{_prefix} install
%license Copying.txt %license Copying.txt
%doc AUTHORS README.md %doc AUTHORS README.md
%{_bindir}/%{name} %{_bindir}/%{name}
%changelog