Name: bonnie Url: http://www.garloff.de/kurt/linux/bonnie/ License: GPL v2 or later Group: System/Benchmark Summary: File System Benchmark Version: 1.5 Release: 1 Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build-root %description Bonnie is a popular performance benchmark that targets various aspects of Unix file systems. Authors: -------- Tim Bray Kurt Garloff %prep %setup -q -n %{name} %patch0 %build CC="xlc" make bsd %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp Bonnie ${RPM_BUILD_ROOT}%{_bindir} chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/* mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 cp %{name}.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 chmod 0644 ${RPM_BUILD_ROOT}%{_mandir}/man1/* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc bonnie.doc README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Sun Feb 05 2012 Michael Perzl - 1.5-1 - updated to version 1.5 * Wed Oct 05 2010 Michael Perzl - 1.4-1 - first version for AIX V5.1 and higher