File phoronix-test-suite_data.spec of Package phoronix-test-suite_data

#
# spec file for package phoronix-test-suite_data
#
# Copyright (c) 2015 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/
#


Name:           phoronix-test-suite_data
Version:        0.2
Release:        0
Summary:        Data for the comprehensive test and benchmarking platform
License:        GPL-3.0
Group:          System/Benchmark
Url:            http://www.phoronix-test-suite.com/
Source0:        %{name}-%{version}.tar.bz2
Source1:        suite-definition.xml
Source2:        pts_launch_batch
Source3:        suite-definition-light.xml
Requires:       phoronix-test-suite
Requires:       glibc-devel-static
Requires:       gcc gcc-c++
Requires:       hdparm
Requires:       libaio-devel
Requires:       java-1_8_0-openjdk
Requires:       libqt4-devel
Requires:       gmp-devel
Requires:       bc unzip zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%systemd_requires

%description
Data for the Phoronix Test Suite (download cache).
Provide a suse-basic-test-suite which contains:
aio-stress-1.1.1
bork-1.0.0
byte-1.2.0
cachebench-1.0.0
ffte-1.0.1
hdparm-read-1.0.0
hint-1.0.0
idle-1.1.0
idle-power-usage-1.0.0
java-scimark2-1.1.1
jgfxbat-1.1.0
network-loopback-1.0.1
noise-level-1.1.0
phpbench-1.1.0
postmark-1.1.0
pybench-1.0.0
sample-program-1.1.0
scimark2-1.2.0
stream-1.2.0
systemd-boot-kernel-1.0.1
systemd-boot-total-1.0.1
systemd-boot-userspace-1.0.1
systester-1.0.0
tiobench-1.2.0
tscp-1.2.0


%prep
%setup -q -n %{name}-%{version}

%build

%install
mkdir -p %{buildroot}%{_var}/lib/phoronix-test-suite/download-cache
mkdir -p %{buildroot}%{_var}/lib/phoronix-test-suite/test-suites/local/suse-basic-test-suite/
mkdir -p %{buildroot}%{_var}/lib/phoronix-test-suite/test-suites/local/suse-basic-test-suite-light/
mkdir -p %{buildroot}%{_bindir}
cp -va * %{buildroot}%{_var}/lib/phoronix-test-suite/download-cache/
cp -va %{SOURCE1} %{buildroot}%{_var}/lib/phoronix-test-suite/test-suites/local/suse-basic-test-suite/
cp -va %{SOURCE3} %{buildroot}%{_var}/lib/phoronix-test-suite/test-suites/local/suse-basic-test-suite-light/suite-definition.xml
cp -va %{SOURCE2} %{buildroot}%{_bindir}/

%files
%defattr(-,root,root)
%doc README
%{_var}/lib/*
%attr(0755,root,root) %{_bindir}/pts_launch_batch

%changelog
openSUSE Build Service is sponsored by