Accepting request 130974 from home:chenxiaolong:SABnzbd
Update to latest version and include internal headers as some packages need them to compile properly. OBS-URL: https://build.opensuse.org/request/show/130974 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
7c38534d5c
commit
0268ddae8b
12
tbb.spec
12
tbb.spec
@@ -17,12 +17,12 @@
|
||||
|
||||
Name: tbb
|
||||
BuildRequires: gcc-c++
|
||||
%define sourcedir tbb30_20110704oss
|
||||
%define sourcedir tbb40_20120613oss
|
||||
Url: http://threadingbuildingblocks.org/
|
||||
License: GPL v2 only
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 30_20110704
|
||||
Release: 1.45
|
||||
Version: 40_20120613
|
||||
Release: 1
|
||||
Summary: Threading Building Blocks (TBB)
|
||||
Source0: %{sourcedir}_src.tgz
|
||||
Patch0: optflags.patch
|
||||
@@ -104,11 +104,13 @@ gmake OPTFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/%{name}/machine
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/%{name}/internal
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/%{name}
|
||||
# sic!
|
||||
install $RPM_BUILD_DIR/%{sourcedir}/include/tbb/*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}
|
||||
install $RPM_BUILD_DIR/%{sourcedir}/include/tbb/machine/linux*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}/machine
|
||||
install $RPM_BUILD_DIR/%{sourcedir}/include/tbb/internal/*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}/internal
|
||||
install $RPM_BUILD_DIR/%{sourcedir}/build/linux*release/*.so.2 $RPM_BUILD_ROOT/%{_libdir}
|
||||
pushd $RPM_BUILD_ROOT/%{_libdir}
|
||||
ln -s libtbb.so.2 libtbb.so
|
||||
@@ -139,9 +141,11 @@ popd
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/tbb
|
||||
%attr(755,root,root) %{_includedir}/tbb/machine
|
||||
%attr(755,root,root) %dir %{_includedir}/tbb/machine
|
||||
%attr(755,root,root) %dir %{_includedir}/tbb/internal
|
||||
%attr(644,root,root) %{_includedir}/tbb/*.h
|
||||
%attr(644,root,root) %{_includedir}/tbb/machine/*.h
|
||||
%attr(644,root,root) %{_includedir}/tbb/internal/*.h
|
||||
%{_libdir}/libtbb.so
|
||||
%{_libdir}/libtbbmalloc.so
|
||||
|
||||
|
Reference in New Issue
Block a user