2007-08-14 04:36:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package libmicro (Version 0.4.0)
|
|
|
|
#
|
2008-03-17 17:04:41 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-08-14 04:36:11 +02:00
|
|
|
# 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
|
|
|
|
|
2008-03-17 17:04:41 +01:00
|
|
|
|
2007-08-14 04:36:11 +02:00
|
|
|
Name: libmicro
|
2008-03-17 17:04:41 +01:00
|
|
|
License: Other uncritical OpenSource License
|
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
|
2008-03-17 17:04:41 +01:00
|
|
|
Release: 37
|
2007-08-14 04:36:11 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2008-03-17 17:04:41 +01:00
|
|
|
Patch0: find_binary.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
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
2008-03-17 17:04:41 +01:00
|
|
|
%patch0 -p1
|
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
|
2007-08-14 04:36:11 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/lib/libMicro
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%changelog
|
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
|