SHA256
1
0
forked from pool/libmicro
libmicro/libmicro.spec

74 lines
1.8 KiB
RPMSpec

#
# spec file for package libmicro (Version 0.4.0)
#
# 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: libmicro
License: Other uncritical OpenSource License
Group: System/Benchmark
Requires: kernel-source gcc make
AutoReqProv: on
Summary: kernel test suite, micro benchmark
Url: http://www.opensolaris.org/os/project/libmicro/
Version: 0.4.0
Release: 52
Source0: %{name}-%{version}.tar.bz2
Patch0: find_binary.patch
Patch1: removed_undefined_warning.patch
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
%patch0 -p1
%patch1
%build
make
%install
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
cp bin/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
cp bin-*/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
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
%files
%defattr(-,root,root)
/usr/lib/libMicro
%doc README
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed May 28 2008 pkirsch@suse.de
- removed warning for bnc#394556,
thanks to David Binderman
* 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
- initial package