2007-08-14 04:36:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package libmicro (Version 0.4.0)
|
|
|
|
#
|
2009-06-19 01:00:53 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-08-14 04:36:11 +02:00
|
|
|
#
|
2009-06-19 01:00:53 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-17 17:04:41 +01:00
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
Name: libmicro
|
2009-06-19 01:00:53 +02:00
|
|
|
License: Other uncritical OpenSource License; CDDL
|
2007-08-14 04:36:11 +02:00
|
|
|
Group: System/Benchmark
|
|
|
|
Requires: kernel-source gcc make
|
2008-03-17 17:04:41 +01:00
|
|
|
AutoReqProv: on
|
2007-08-14 04:36:11 +02:00
|
|
|
Summary: kernel test suite, micro benchmark
|
2008-03-17 17:04:41 +01:00
|
|
|
Url: http://www.opensolaris.org/os/project/libmicro/
|
2007-08-14 04:36:11 +02:00
|
|
|
Version: 0.4.0
|
2009-06-19 01:00:53 +02:00
|
|
|
Release: 80
|
2007-08-14 04:36:11 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2008-07-08 21:44:30 +02:00
|
|
|
Source1: ctcstools-%{version}.tar.bz2
|
2008-03-17 17:04:41 +01:00
|
|
|
Patch0: find_binary.patch
|
2008-05-28 16:26:23 +02:00
|
|
|
Patch1: removed_undefined_warning.patch
|
2007-08-14 04:36:11 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
LibMicro is intended to measure the performance of various system and
|
|
|
|
library calls. LibMicro was developed by Bart Smaalders and Phil
|
|
|
|
Harman.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Various people from OpenSolaris community
|
|
|
|
|
2008-07-08 21:44:30 +02:00
|
|
|
%package ctcs-glue
|
2009-06-19 01:00:53 +02:00
|
|
|
License: Other uncritical OpenSource License; CDDL
|
2008-07-08 21:44:30 +02:00
|
|
|
Summary: The let-libmicro-be-run-via-ctcs glue
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
AutoReqProv: on
|
|
|
|
Requires: ctcs2 >= 0.1.6
|
|
|
|
Requires: libmicro = %{version}
|
|
|
|
|
|
|
|
%description ctcs-glue
|
|
|
|
This package contains the glue for integrating libmicro into the ctcs
|
|
|
|
testing framework.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Patrick Kirsch <pkirsch@suse.de>
|
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
%prep
|
2008-07-08 21:44:30 +02:00
|
|
|
%setup -a1
|
2008-03-17 17:04:41 +01:00
|
|
|
%patch0 -p1
|
2008-05-28 16:26:23 +02:00
|
|
|
%patch1
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2008-03-17 17:04:41 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro/bin
|
|
|
|
install -m 644 README $RPM_BUILD_ROOT/usr/lib/libMicro
|
2007-08-14 04:36:11 +02:00
|
|
|
cp bin/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
|
|
|
|
cp bin-*/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
|
2008-03-17 17:04:41 +01:00
|
|
|
install -m 755 *.sh $RPM_BUILD_ROOT/usr/lib/libMicro/bin
|
|
|
|
#the sequence is important!
|
|
|
|
#install -m 755 runtests.sh $RPM_BUILD_ROOT/usr/lib/libMicro
|
2008-07-08 21:44:30 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
|
|
|
|
cp ctcstools/libmicro-run $RPM_BUILD_ROOT/usr/lib/ctcs2/tools
|
|
|
|
cp ctcstools/libmicro.tcf $RPM_BUILD_ROOT/usr/lib/ctcs2/tcf
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/lib/libMicro
|
|
|
|
%doc README
|
|
|
|
|
2008-07-08 21:44:30 +02:00
|
|
|
%files ctcs-glue
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/lib/ctcs2
|
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%changelog
|
2008-07-08 21:44:30 +02:00
|
|
|
* Fri Jul 04 2008 pkirsch@suse.de
|
|
|
|
- added libmicro-ctcs-glue package, now the tcf is packaged and
|
|
|
|
can be run from the SUT without the need of NIS
|
2008-05-28 16:26:23 +02:00
|
|
|
* Wed May 28 2008 pkirsch@suse.de
|
|
|
|
- removed warning for bnc#394556,
|
|
|
|
thanks to David Binderman
|
2008-03-17 17:04:41 +01:00
|
|
|
* Mon Mar 17 2008 yxu@suse.de
|
|
|
|
- retrieve the essential test executing file: bench.sh
|
|
|
|
- clarify the path for binary in bench.sh
|
|
|
|
* Fri Jul 13 2007 pkirsch@suse.de
|
2007-08-14 04:36:11 +02:00
|
|
|
- initial package
|