File phoronix-test-suite-1.0.5.spec of Package phoronix-test-suite

#
# spec file for package phoronix-test-suite (Version 1.0.5)
#
# Copyright (c) 2008 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


Name:           phoronix-test-suite
License:        GPL v3 only
Group:          System/Benchmark
AutoReqProv:    on
Version:        1.0.5
Release:        2
Summary:        Comprehensive test and benchmarking platform
Url:            http://www.phoronix-test-suite.com/
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#BuildArchitectures: noarch
#ExclusiveArch: %ix86
#Authors:
#--------------
#	Phoronix

%description
The Phoronix Test Suite can be used for simply comparing your
computer's performance or internal quality assurance purposes under
Linux. Results from the Phoronix Test Suite are displayed in a results
viewer with optional support for uploading them to PTS Global. This
software is based upon the internal tools and extensive Linux
benchmarking work done by Phoronix since 2004, with input from tier-one
computer hardware vendors. The Phoronix Test Suite ships with over 50
tests and 20 suites.



Authors:
--------
    Various from phoronix.com, 
    CTCS2 integration Patrick Kirsch <pkirsch@suse.de>

%prep 
%setup

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite
mkdir -p $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/man/man1
mkdir -p $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/phoronix-test-suite
mkdir -p $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite
cp CHANGE-LOG $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite
cp COPYING $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite
cp AUTHORS $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite
cd documentation/
cp -r * $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite
cd ..
rm -rf $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/doc/phoronix-test-suite/man-pages
cp documentation/man-pages/*.1.gz $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/man/man1  
cp -r pts/ $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/phoronix-test-suite
rm -f $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/phoronix-test-suite/pts/etc/scripts/package-build-*
cp -r pts-core/ $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite/share/phoronix-test-suite
#if [ ! -d $RPM_BUILD_ROOT/usr/bin ];
#then
#	mkdir -p $RPM_BUILD_ROOT/usr/bin
#fi
#ln -sf  $RPM_BUILD_ROOT/usr/lib/unixbench/Run  $RPM_BUILD_ROOT/usr/bin/unixbench-run 

%clean
rm -rf $RPM_BUILD_ROOT/usr/lib/phoronix-test-suite
#rm -rf $RPM_BUILD_ROOT/usr/bin/unixbench-run

%files
%defattr(-,root,root)   
/usr/lib/phoronix-test-suite

%changelog
* Thu Sep 04 2008 kyu@suse.de
- initial release
openSUSE Build Service is sponsored by