File kernel-coverage.spec of Package kernel-coverage
#
# spec file for package kernel-coverage (Version 0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kernel-coverage
License: GPL v2 only
Group: Development/Tools/Other
Requires: kernel-source gcc make
AutoReqProv: on
Summary: kernel coverage imageing, galaxy poster
Url: http://test.kernel.org/autotest
Version: 0.1
Release: 1
Source0: kernel-coverage-0.1.tar.bz2
Source1: lcov-1.4.tar.bz2
#Patch0: set_dir_abuild.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Creating the linux kernel coverage galaxy poster.
Authors:
--------
This archive was originally (c) Paul `Rusty' Russell, and placed under the
GPL. Also (c) Christian Reiniger, Michael Marineau, and other contributors.
%prep
%setup -a1
#%patch0
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/kernel-coverage
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/etc
cp -a * $RPM_BUILD_ROOT/usr/lib/kernel-coverage
find $RPM_BUILD_ROOT/usr/lib/kernel-coverage -name "*orig" -exec rm {} \;
cd lcov-1.4
PREFIX=$RPM_BUILD_ROOT make install
chmod -x $RPM_BUILD_ROOT/usr/share/man/man1/gendesc.1
chmod -x $RPM_BUILD_ROOT/usr/share/man/man1/genhtml.1
chmod -x $RPM_BUILD_ROOT/usr/share/man/man1/geninfo.1
chmod -x $RPM_BUILD_ROOT/usr/share/man/man1/genpng.1
chmod -x $RPM_BUILD_ROOT/usr/share/man/man1/lcov.1
chmod -x $RPM_BUILD_ROOT/usr/share/man/man5/lcovrc.5
cd ..
%files
%defattr(-,root,root)
/usr/lib/kernel-coverage
/etc/lcovrc
/usr/bin/gendesc
/usr/bin/genhtml
/usr/bin/geninfo
/usr/bin/genpng
/usr/bin/lcov
%doc %{_mandir}/man?/*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jan 07 2008 pkirsch@suse.de
- updated to svn 1110 version, corrected patches
- addded new tcf (for ctcs2) sysbench, barriertest, btreplay,
dacapo, kvmtest, raisetest
* Fri Oct 12 2007 pkirsch@suse.de
- corrected disktest.py to use diskfree for used diskspace
* Fri Sep 14 2007 pkirsch@suse.de
- enabled posgresql testsuite
* Tue Sep 11 2007 pkirsch@suse.de
- corrected kernelbuild and sparse testcases to run with
SUSE
* Tue Sep 11 2007 pkirsch@suse.de
- set all working directorys to /abuild
* Mon Aug 27 2007 pkirsch@suse.de
- correct max run time of tests to 1d
* Fri Jul 13 2007 pkirsch@suse.de
- initial package