Compare commits
7 Commits
21fca90bed
...
master
Author | SHA1 | Date | |
---|---|---|---|
24a179f184
|
|||
66b2d5755b
|
|||
f348f80d13
|
|||
ba7d75d3e4
|
|||
89b2b86509
|
|||
df7e4bcc31
|
|||
3ebc554a23
|
56
SPECS/scid_vs_pc.spec
Normal file
56
SPECS/scid_vs_pc.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
Name: scid_vs_pc
|
||||||
|
Version: 4.23
|
||||||
|
Release: 0%{?dist}
|
||||||
|
Summary: scid_vs_pc
|
||||||
|
License: GPL
|
||||||
|
Source0: https://downloads.sourceforge.net/project/scidvspc/source/%{name}-%{version}.tgz
|
||||||
|
Source1: scid_vs_pc.desktop
|
||||||
|
|
||||||
|
BuildRequires: tcl-devel
|
||||||
|
BuildRequires: tk-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%description
|
||||||
|
Shane's Chess Information Database is a powerful Chess Toolkit, with which one
|
||||||
|
can create huge databases, run chess engines, and play casual games against the
|
||||||
|
computer or online with the Free Internet Chess Server. It was originally
|
||||||
|
written by Shane Hudson , and has received strong contribution from Pascal
|
||||||
|
Georges and others.
|
||||||
|
|
||||||
|
# find a better way
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure BINDIR=%{_bindir} SHAREDIR=%{_datadir}/scid
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
||||||
|
%{__install} images/logo.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/scid-vs-pc.png
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||||
|
%{SOURCE1}
|
||||||
|
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/fruit
|
||||||
|
%{_bindir}/pgnscid
|
||||||
|
%{_bindir}/phalanx
|
||||||
|
%{_bindir}/sc_remote
|
||||||
|
%{_bindir}/scid
|
||||||
|
%{_bindir}/scidlet
|
||||||
|
%{_bindir}/scidpgn
|
||||||
|
%{_bindir}/scidt
|
||||||
|
%{_bindir}/scmerge
|
||||||
|
%{_bindir}/tcscid
|
||||||
|
%{_bindir}/tkscid
|
||||||
|
%{_datadir}/scid
|
||||||
|
%{_datadir}/icons/*/*/apps/*.png
|
||||||
|
%{_datadir}/applications/scid_vs_pc.desktop
|
44
SPECS/stockfish.spec
Normal file
44
SPECS/stockfish.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
%global srcname Stockfish
|
||||||
|
|
||||||
|
%global _vpath_srcdir src
|
||||||
|
|
||||||
|
Name: stockfish
|
||||||
|
Version: 15
|
||||||
|
Release: 0%{?dist}
|
||||||
|
Source0: https://github.com/official-%{name}/%{srcname}/archive/sf_%{version}.tar.gz#/%{srcname}-sf_%{version}.tar.gz
|
||||||
|
Summary: Powerful open source chess engine
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://%{name}chess.org
|
||||||
|
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: xz
|
||||||
|
|
||||||
|
%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, 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.
|
||||||
|
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{srcname}-sf_%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd src
|
||||||
|
%ifarch x86_64
|
||||||
|
make %{?_smp_mflags} build ARCH=x86-64
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
cd src
|
||||||
|
make PREFIX=%{buildroot}%{_prefix} install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license Copying.txt
|
||||||
|
%doc AUTHORS README.md
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user