summaryrefslogtreecommitdiffstats
path: root/rteval-loads.spec
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2009-11-05 16:31:09 -0600
committerClark Williams <williams@redhat.com>2009-11-05 16:31:09 -0600
commitb8c09229bc2b1cf12baa8e9bd79994bbb7b10eb9 (patch)
treec738a6f18bad9d745304ccab5b49516445f87f92 /rteval-loads.spec
parent888a32d9e5f0d3339b59863eeeeb9bca2d188449 (diff)
downloadrteval-b8c09229bc2b1cf12baa8e9bd79994bbb7b10eb9.tar.gz
rteval-b8c09229bc2b1cf12baa8e9bd79994bbb7b10eb9.tar.xz
rteval-b8c09229bc2b1cf12baa8e9bd79994bbb7b10eb9.zip
split rteval into two separate packages
split split the current rteval rpm logic into two specfiles: rteval.spec - python and xml stuff rteval-loads.spec - tarballs for loads modified Makefile to deal with this and to add rpmlint target Signed-off-by: Clark Williams <williams@redhat.com> CC: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'rteval-loads.spec')
-rw-r--r--rteval-loads.spec46
1 files changed, 46 insertions, 0 deletions
diff --git a/rteval-loads.spec b/rteval-loads.spec
new file mode 100644
index 0000000..6bd3590
--- /dev/null
+++ b/rteval-loads.spec
@@ -0,0 +1,46 @@
+Name: rteval-loads
+Version: 1.0
+Release: 1%{?dist}
+Summary: Source files for rteval loads
+Group: Development/Tools
+License: GPLv2
+URL: http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rteval.git
+Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.1.tar.bz2
+Source1: hackbench.tar.bz2
+Source2: dbench-4.0.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: rteval >= 1.10
+Requires: gcc binutils make
+Obsoletes: rteval-kcompile >= 1.0
+Obsoletes: rteval-hackbench >= 1.0
+BuildArch: noarch
+
+%description
+This package provides source code for system loads used by the rteval package
+
+%prep
+
+%build
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+mkdir -p ${RPM_BUILD_ROOT}
+mkdir -p ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
+install -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
+install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
+install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root,-)
+%dir %{_datadir}/rteval/loadsource
+%{_datadir}/rteval/loadsource/*
+%doc
+
+%changelog
+* Thu Nov 5 2009 Clark Williams <williams@redhat.com> - 1.0-1
+- initial packaging effort