Blob Blame History Raw
Name:           kcbench-data
Version:        0.1
Release:        5
Summary:        Kernel sources to be used by kcbench

Group:          Applications/System
License:        GPLv2
URL:            http://fedoraproject.org/wiki/Packages/kcbench
Source1:        %{name}-README
Source25:       http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       kcbench
# Require the latest package, to avoid people installing this
# and wondering what it's about
Requires:       %{name}-2.6.25 = %{version}-%{release}

%description
Linux Kernel sources to be compiled by kcbench to benchmark system
performance or test system stability.


%package 2.6.25
Summary:        Kernel sources from 2.6.25 to be used by kcbench
Group:          Applications/System
Requires:       %{name} = %{version}-%{release}
Provides:       kcbench-datafiles = %{version}-%{release}
# needed for compiling a kernel:
Requires:       make gcc binutils

%description 2.6.25
Linux Kernel sources 2.6.25 to be compiled by kcbench to benchmark system
performance or test system 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 0644 %{SOURCE1} ./README
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}
tar -xjf %{SOURCE25} -C ${RPM_BUILD_ROOT}%{_datadir}/%{name} --exclude='linux-2.6.25/Documentation'


%clean
rm -rf ${RPM_BUILD_ROOT}


%files
%defattr(-,root,root,-)
%doc README
%dir %{_datadir}/%{name}/


%files 2.6.25
%defattr(-,root,root,-)
%{_datadir}/%{name}/linux-2.6.25


%changelog
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Apr 24 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.1-3
- Include 2.6.25 and drop 2.6.20, as the latter doesn't build with 2.6.25

* Sat Oct 13 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.1-2
- require make gcc and binutils, needed for kernel compile
- exclude Documentation/ dir from kernel-sources
- include a README file

* Mon Oct 01 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]org> - 0.1-1
- initial package