Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
bonnie
bonnie.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bonnie.spec of Package bonnie
# # spec file for package bonnie (Version 1.4) # # Copyright (c) 2009 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: bonnie Url: http://www.garloff.de/kurt/linux/bonnie/ License: GPL v2 or later Group: System/Benchmark AutoReqProv: on Summary: File System Benchmark Version: 1.4 Release: 476 Source0: %{name}-%{version}.tar.bz2 Source1: ctcstools.tar.bz2 Patch0: bonnie-1.4.dif #Patch: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: linux-kernel-headers - fails on SLES-10-SP2 BuildRequires: kernel-source %description Bonnie is a popular performance benchmark that targets various aspects of Unix file systems. Authors: -------- Tim Bray <tbray@textuality.com> Kurt Garloff <garloff@suse.de> %package ctcs2-glue License: GPL v2 or later Summary: File System Benchmark Group: System/Benchmark Requires: bonnie ctcs2 >= 0.1.1 #BuildArchitectures: noarch %description ctcs2-glue Bonnie is a popular performance benchmark that targets various aspects of Unix file systems. Authors: -------- Tim Bray <tbray@textuality.com> Kurt Garloff <garloff@suse.de> %prep %setup -n bonnie -a1 %patch0 -p1 %build make CC=gcc CFLAGS="$RPM_OPT_FLAGS" %install make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} cd ctcstools mkdir -p $RPM_BUILD_ROOT/usr/share/qa/bonnie/tcf mkdir -p $RPM_BUILD_ROOT/usr/share/qa/tcf mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tools install -m 744 do_bonnie $RPM_BUILD_ROOT/usr/share/qa/bonnie/ install -m 644 *.tcf $RPM_BUILD_ROOT/usr/share/qa/bonnie/tcf/ for A in *.tcf; do ln -s ../../../../usr/share/qa/bonnie/tcf/$A $RPM_BUILD_ROOT/usr/share/qa/tcf/; done install -m 744 bonnie-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools/ %files %defattr(-, root, root) %doc bonnie.doc README /usr/bin/bonnie %{_mandir}/man1/bonnie.1.gz %files ctcs2-glue %defattr(-, root, root) /usr/share/qa /usr/lib/ctcs2 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor