File tbb.spec of Package tbb

# norootforbuild

BuildRequires:  gcc-c++
Name:		tbb
Version:	2.0
Release:	0
Summary:	Threaded Building Blocks
License:	GPLv2
Group:		Development
URL:		http://threadingbuildingblocks.org/
Source:		http://threadingbuildingblocks.org/uploads/76/94/2.0/tbb20_20080122oss_src.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
OSLO, the Open Secure Loader, is a boot loader which uses the _skinit_
instruction for authenticated booting.

With around 1000 lines of code and a binary which is in the order
of 4k auditing, bugfixing and in the end trusting OSLO should be
possible.

%prep
%setup -n tbb20_20080122oss_src

%build
gmake

%install
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/%{name}
pushd build
for dir in `ls -d linux_*`;do
  pushd $dir
  install *.so $RPM_BUILD_ROOT/%{_libdir}/%{name}
  popd
done
popd
%post
# any setup goes here...

%files
%defattr(0755,root,root,0755)
%{_libdir}/%{name}/*
%doc COPYING CHANGES index.html

%changelog -n tbb

openSUSE Build Service is sponsored by