-
Notifications
You must be signed in to change notification settings - Fork 1
/
bonnie++.spec
46 lines (38 loc) · 1007 Bytes
/
bonnie++.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary: A program for benchmarking hard drives and filesystems
Name: bonnie++
Version: 1.04
Release: 1
Copyright: GPL
Group: Utilities/Benchmarking
URL: http://www.coker.com.au/bonnie++
Source: http://www.coker.com.au/bonnie++/bonnie++-%{version}.tgz
BuildRoot: /tmp/%{name}-buildroot
Prefixes: %{_prefix} %{_datadir}
Requires: glibc >= 2.1
Requires: perl >= 5.0
BuildRequires: glibc-devel >= 2.1
%description
Bonnie++ is a benchmark suite that is aimed at performing a number of simple
tests of hard drive and file system performance.
%prep
%setup -q
%build
./configure --prefix=$RPM_BUILD_ROOT%{_prefix} --mandir=$RPM_BUILD_ROOT%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc changelog.txt readme.html
%{_prefix}/sbin/bonnie++
%{_prefix}/sbin/zcav
%{_prefix}/bin/bon_csv2html
%{_prefix}/bin/bon_csv2txt
%{_mandir}/man1/*
%{_mandir}/man8/*
%changelog
* Wed Sep 06 2000 Rob Latham <[email protected]>
- first packaging