Blob Blame History Raw
Name:           kcbench
Version:        0.2
Release:        1.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
* Mon Dec 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.2-2
- 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