bonnie++/bonnie++-1.0.spec

Name: bonnie++
Summary: Benchmark suite for hard drive and file system performance
Version: 1.03e
Release: 1
License: GPL
Group: Applications/System
URL: http://www.coker.com.au/bonnie++/
Description: Bonnie++ is a benchmark suite that is aimed at performing a number of simple tests of hard drive and file system performance. Then you can decide which test is important and decide how to compare different systems after running it. I have no plans to ever have it produce a single number, because I don't think that a single number can be useful when comparing such things.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Russell Coker <russell$coker,com,au>

Summary: Benchmark suite for hard drive and file system performance
Name: bonnie++
Version: 1.03e
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://www.coker.com.au/bonnie++/

Source: http://www.coker.com.au/bonnie++/bonnie++-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++

%description
Bonnie++ is a benchmark suite that is aimed at performing a number of
simple tests of hard drive and file system performance. Then you can
decide which test is important and decide how to compare different
systems after running it. I have no plans to ever have it produce a
single number, because I don't think that a single number can be useful
when comparing such things.

%prep
%setup

%{__perl} -pi.orig -e '
        s|\$\(eprefix\)/sbin|\$(sbindir)|;
        s|\$\(eprefix\)/bin|\$(bindir)|;
        s|\@mandir\@|\$(mandir)|;
    ' Makefile.in

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_mandir}/man8/
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc changelog.txt readme.html
%doc %{_mandir}/man1/bon_csv2html.1*
%doc %{_mandir}/man1/bon_csv2txt.1*
%doc %{_mandir}/man8/bonnie++.8*
%doc %{_mandir}/man8/zcav.8*
%{_bindir}/bon_csv2html
%{_bindir}/bon_csv2txt
%{_sbindir}/bonnie++
%{_sbindir}/zcav

%changelog
* Thu Dec 11 2008 Dag Wieers <dag@wieers.com> - 1.03e-1
- Updated to release 1.03e.

* Sat Nov 08 2008 Dag Wieers <dag@wieers.com> - 1.03d-1
- Updated to release 1.03d.

* Fri Apr 16 2004 Dag Wieers <dag@wieers.com> - 1.03-1.a
- Initial package. (using DAR)