File hackbench.spec of Package hackbench

#
# spec file for package hackbench (Version svn1649)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           hackbench
Url:            http://devresources.linux-foundation.org/craiger/hackbench/
License:        No license agreement found in package
Group:          System/Benchmark
AutoReqProv:    on
Summary:        Performance, overhead, and scalability benchmark for the Linux scheduler
Version:        svn1649
Release:        1
Source0:        %{name}-%{version}.tar.bz2
Patch0:         gcc-warning-fixes.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The hackbench test is a benchmark for measuring the performance,
overhead, and scalability of the Linux scheduler.



Authors:
--------
    Rusty Russell

%prep
%setup
%patch -p0

%build
gcc $RPM_OPT_FLAGS hackbench.c -o hackbench

%install
mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
install -m 755 hackbench ${RPM_BUILD_ROOT}/%{_bindir}
install -m 755 hackbench_run.sh ${RPM_BUILD_ROOT}/%{_bindir}
install -m 755 hackbench_plot.sh ${RPM_BUILD_ROOT}/%{_bindir}

%files
%defattr(-, root, root)
%doc README
%{_bindir}/hackbench
%{_bindir}/hackbench_run.sh
%{_bindir}/hackbench_plot.sh

%changelog
* Fri Feb 29 2008 dgollub@suse.de
- Updated to r1648:
  o added test description (README)
  o helper scripts to run hackbench test
  o plot script to plot test resutls
* Thu Feb 28 2008 dgollub@suse.de
- Initial checkin of hackbench (Version r1648 (SLERT SVN))
openSUSE Build Service is sponsored by