Name: kcbench
Version: 0.3
Release: 3.1
Summary: Kernel compile benchmark
Group: Applications/System
License: MIT
URL: http://fedoraproject.org/wiki/Packages/kcbench
Source0: kcbench
Source1: %{name}-README
Source2: %{name}-ChangeLog
Source3: %{name}-manpage
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# data we compile; no need for a specific version;
Requires: kcbench-datafiles
# needed for compiling a kernel:
Requires: make gcc binutils
# needed for kcbench
Requires: %{_bindir}/time %{_bindir}/bc
%description
Compiles a linux kernel to benchmark a system or test its stability.
%prep
%setup -q -c -T
echo "Nothing to prep"
%build
echo "Nothing to build"
%install
rm -rf ${RPM_BUILD_ROOT}
install -D -p -m 0755 %{SOURCE0} ${RPM_BUILD_ROOT}%{_bindir}/kcbench
install -D -p -m 0644 %{SOURCE1} ./README
install -D -p -m 0644 %{SOURCE2} ./ChangeLog
install -D -p -m 0644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_mandir}/man1/kcbench.1
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%doc README ChangeLog
%{_bindir}/kcbench
%{_mandir}/man1/*
%changelog
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Jan 10 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.3-1
- update kcbench to 0.3:
-- fix typo
-- improve some comments
* Mon Dec 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.2-1
- update to 0.2, which includes a ChangeLog and a manpage now
* Sat Oct 13 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.1-2
- require make gcc and binutils, needed for kernel compile
- require /usr/bin/{time,bc} for kcbench
- include a README file
* Mon Oct 01 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.1-1
- initial package