517b063933
- bonnie-fix-o_direct.diff: Don't use O_DIRECT for character input, as newer kernels don't allow this. - Update to bonnie-1.6: * Use 16 threads by default * Smaller 4k reads (seeking) * Larger blocks in intelligent read/write * Smaller I/O size for char in/out * More digits for formatting. OBS-URL: https://build.opensuse.org/request/show/667059 OBS-URL: https://build.opensuse.org/package/show/benchmark/bonnie?expand=0&rev=6
51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package bonnie
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX 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: bonnie
|
|
Version: 1.6
|
|
Release: 0
|
|
Summary: File System Benchmark
|
|
License: GPL-2.0-or-later
|
|
Group: System/Benchmark
|
|
Url: https://code.google.com/p/bonnie-64/
|
|
Source0: https://fossies.org/linux/privat/old/%{name}-%{version}.tar.bz2
|
|
Patch0: bonnie-fix-o_direct.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Bonnie is a popular performance benchmark that targets various aspects
|
|
of Unix file systems.
|
|
|
|
%prep
|
|
%setup -q -n %{name}
|
|
%patch0 -p0
|
|
|
|
%build
|
|
make SYSFLAGS="%{optflags}" %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc bonnie.doc README
|
|
%{_bindir}/bonnie
|
|
%{_mandir}/man1/bonnie.1%{ext_man}
|
|
|
|
%changelog
|