File libmicro-devel.spec of Package libmicro-devel

#
# spec file for package libmicro-devel (Version 0.4.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libmicro-devel
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:        74
Source0:        %{name}-%{version}.tar.bz2
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 
#%patch

%build
#  	make 

%install
	mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro
	mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro/src
#	mkdir -p $RPM_BUILD_ROOT/usr/lib/libMicro/bin
#cp bin/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
#cp bin-*/* $RPM_BUILD_ROOT/usr/lib/libMicro/bin
cp *.c *.sh $RPM_BUILD_ROOT/usr/lib/libMicro/src
cp Makefile* $RPM_BUILD_ROOT/usr/lib/libMicro/src
cp README $RPM_BUILD_ROOT/usr/lib/libMicro
#	install -m 755 runtests.sh $RPM_BUILD_ROOT/usr/lib/libMicro	
	install -m 644 README $RPM_BUILD_ROOT/usr/lib/libMicro

%files
%defattr(-,root,root)
/usr/lib/libMicro
%doc README

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Fri Jul 13 2007 pkirsch@suse.de
- initial package
openSUSE Build Service is sponsored by