- Update to version 3.1+git.20150122:
* - Initial package for version 3.1 OBS-URL: https://build.opensuse.org/package/show/benchmark/fhourstones?expand=0&rev=2
This commit is contained in:
parent
bd20019c9f
commit
8b828cd8e5
3
fhourstones-3.1+git.20150122.tar.xz
Normal file
3
fhourstones-3.1+git.20150122.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8108d136e878a67be4d82b9bd027e1cc12a6fae851e0dc528786860619019af4
|
||||
size 11296
|
11
fhourstones.changes
Normal file
11
fhourstones.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 14 09:20:20 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to version 3.1+git.20150122:
|
||||
*
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 14 09:02:29 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Initial package for version 3.1
|
||||
|
60
fhourstones.spec
Normal file
60
fhourstones.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package Fhourstones
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX 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/
|
||||
#
|
||||
|
||||
|
||||
Name: fhourstones
|
||||
Version: 3.1+git.20150122
|
||||
Release: 0
|
||||
Summary: The Fhourstones Benchmark
|
||||
License: BSD-2-Clause
|
||||
Group: System/Benchmark
|
||||
Url: https://tromp.github.io/c4/fhour.html
|
||||
Source: https://tromp.github.io/c4/%{name}.tar.gz
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This integer benchmark solves positions in the game of connect-4, as played
|
||||
on a vertical 7x6 board.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}
|
||||
|
||||
%build
|
||||
sed -i "s|-O3|%{optflags}|g" Makefile
|
||||
make %{?_smp_mflags} all
|
||||
echo '#!$/bin/sh' >> %{name}
|
||||
echo 'libexecdir=${_libdir}/%{name}' >> %{name}
|
||||
echo 'datadir=${DATADIR}' >> %{name}
|
||||
echo 'exec $${libdir}/SearchGame < $${datadir}/inputs' >> %{name}
|
||||
|
||||
%install
|
||||
install -D -p -m 0755 %{name} \
|
||||
%{buildroot}%{_bindir}/%{name}
|
||||
install -D -p -m 0755 SearchGame \
|
||||
%{buildroot}%{_libdir}/%{name}/SearchGame
|
||||
install -D -p -m 0644 inputs \
|
||||
%{builrdoot}%{_datadir}/%{name}/inputs
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENCE
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/%{name}/SearchGame
|
||||
%{_datadir}/%{name}/inputs
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user