update to 2019_U9 [release 2019_U9-1mamba;Wed Dec 11 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:20:59 +01:00
parent fc09de0913
commit 4d7ff13127

View File

@ -1,7 +1,7 @@
%define pkg_version %(echo %version | tr -d .) %define pkg_version %(echo %version | tr -d .)
Name: tbb Name: tbb
Version: 4.2_20140122 Version: 2019_U9
Release: 1mamba Release: 1mamba
Summary: The Threading Building Blocks library abstracts low-level threading details Summary: The Threading Building Blocks library abstracts low-level threading details
Group: Development/Tools Group: Development/Tools
@ -9,7 +9,8 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.threadingbuildingblocks.org/ URL: http://www.threadingbuildingblocks.org/
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{pkg_version}oss_src.tgz Source0: https://github.com/intel/tbb.git/%{version}/tbb-%{version}.tar.bz2
#Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{pkg_version}oss_src.tgz
Source1: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Getting_Started.pdf Source1: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Getting_Started.pdf
Source2: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Reference.pdf Source2: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Reference.pdf
Source3: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Tutorial.pdf Source3: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Tutorial.pdf
@ -18,6 +19,7 @@ Patch1: tbb-2.2-mfence.patch
License: GPL with exceptions License: GPL with exceptions
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -29,12 +31,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Threading Building Blocks (TBB) is a C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance. It uses common C++ templates and coding style to eliminate tedious threading implementation work. Threading Building Blocks (TBB) is a C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance. It uses common C++ templates and coding style to eliminate tedious threading implementation work.
TBB requires fewer lines of code to achieve parallelism than other threading models. The applications you write are portable across platforms. Since the library is also inherently scalable, no code maintenance is required as more processor cores become available. TBB requires fewer lines of code to achieve parallelism than other threading models. The applications you write are portable across platforms. Since the library is also inherently scalable, no code maintenance is required as more processor cores become available.
%package devel %package -n lib%{name}
Group: Development/Libraries Group: System/Libraries
Summary: The Threading Building Blocks C++ headers and shared development libraries Summary: The Threading Building Blocks C++ headers and shared development libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}
Obsoletes: %{name}
%description devel %description -n lib%{name}
Threading Building Blocks (TBB) is a C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance. It uses common C++ templates and coding style to eliminate tedious threading implementation work.
TBB requires fewer lines of code to achieve parallelism than other threading models. The applications you write are portable across platforms. Since the library is also inherently scalable, no code maintenance is required as more processor cores become available.
This package contains header files and shared object symlinks for the Threading Building Blocks (TBB) C++ libraries.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: The Threading Building Blocks C++ headers and shared development libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-devel
Obsoletes: %{name}-devel
%description -n lib%{name}-devel
The Threading Building Blocks library abstracts low-level threading details. The Threading Building Blocks library abstracts low-level threading details.
This package contains header files and shared object symlinks for the Threading Building Blocks (TBB) C++ libraries. This package contains header files and shared object symlinks for the Threading Building Blocks (TBB) C++ libraries.
@ -47,7 +63,7 @@ The Threading Building Blocks library abstracts low-level threading details.
This package contains the Threading Building Blocks (TBB) documentation. This package contains the Threading Building Blocks (TBB) documentation.
%prep %prep
%setup -q -n %{name}%{pkg_version}oss %setup -q
#%patch0 -p1 #%patch0 -p1
#%patch1 -p1 #%patch1 -p1
@ -80,18 +96,17 @@ popd
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig
%files %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtbb.so.2 %{_libdir}/libtbb.so.*
%{_libdir}/libtbbmalloc.so.2 %{_libdir}/libtbbmalloc.so.*
#%{_libdir}/libtbbmalloc_proxy.so.2 #%{_libdir}/libtbbmalloc_proxy.so.*
%doc doc/Release_Notes.txt %doc LICENSE
%doc CHANGES COPYING README
%files devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/tbb %dir %{_includedir}/tbb
%{_includedir}/tbb/*.h %{_includedir}/tbb/*.h
@ -102,12 +117,17 @@ popd
%{_libdir}/libtbb.so %{_libdir}/libtbb.so
%{_libdir}/libtbbmalloc.so %{_libdir}/libtbbmalloc.so
#%{_libdir}/libtbbmalloc_proxy.so #%{_libdir}/libtbbmalloc_proxy.so
%doc doc/Release_Notes.txt
%doc CHANGES README
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%doc Getting_Started.pdf Reference.pdf Tutorial.pdf %doc Getting_Started.pdf Reference.pdf Tutorial.pdf
%changelog %changelog
* Wed Dec 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019_U9-1mamba
- update to 2019_U9
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2_20140122-1mamba * Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2_20140122-1mamba
- update to 4.2_20140122 - update to 4.2_20140122