From 99be8eb0507deec6651da0f2454be4a8b8842651 Mon Sep 17 00:00:00 2001 From: badshah400 <> Date: Feb 15 2021 23:27:02 +0000 Subject: Update PTL to version 1.0.2 / rev 1 via SR 872015 https://build.opensuse.org/request/show/872015 by user badshah400 + dimstar_suse PTL is a multithread tasking library --- diff --git a/.files b/.files new file mode 100644 index 0000000..5f8b2b8 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..dfa2897 --- /dev/null +++ b/.meta @@ -0,0 +1,9 @@ + + Lightweight C++11 mutilthreading tasking system + Parallel Tasking Library (PTL) is a lightweight C++11 multithreading tasking +system featuring thread-pool, task-groups, and lock-free task queue. + + + + https://github.com/jrmadsen/PTL + diff --git a/.rev b/.rev new file mode 100644 index 0000000..42f01a2 --- /dev/null +++ b/.rev @@ -0,0 +1,11 @@ + + + 1041d3f723fd6e6a6616dfa7cdc80b2f + 1.0.2 + + dimstar_suse + PTL is a multithread tasking library + + 872015 + + diff --git a/PTL-1.0.2.tar.gz b/PTL-1.0.2.tar.gz new file mode 120000 index 0000000..ee00d18 --- /dev/null +++ b/PTL-1.0.2.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeigmbz6mnysnodv5bvce6flykkyiztn6xh4lniwno3qcd5lbwbpwoe \ No newline at end of file diff --git a/PTL.changes b/PTL.changes new file mode 100644 index 0000000..fab7568 --- /dev/null +++ b/PTL.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Sat Feb 13 18:51:57 UTC 2021 - Jan Engelhardt + +- Ensure neutrality of description; mention base thread library + used. + +------------------------------------------------------------------- +Sat Feb 13 12:57:52 UTC 2021 - Atri Bhattacharya + +- Initial package. diff --git a/PTL.spec b/PTL.spec new file mode 100644 index 0000000..0937f51 --- /dev/null +++ b/PTL.spec @@ -0,0 +1,82 @@ +# +# spec file for package PTL +# +# Copyright (c) 2021 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define sover 1 +%define libname libptl%{sover} +Name: PTL +Version: 1.0.2 +Release: 0 +Summary: C++11 mutilthreading tasking system +License: MIT +URL: https://github.com/jrmadsen/PTL +Source: https://github.com/jrmadsen/PTL/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: tbb-devel + +%description +Parallel Tasking Library (PTL) is a C++11 multithreading tasking +system on top of std::thread featuring thread pools, task groups, +and lock-free task queues. + +%package -n %{libname} +Summary: Parallel Tasking Library + +%description -n %{libname} +Parallel Tasking Library (PTL) is a C++11 multithreading tasking +system on top of std::thread featuring thread pools, task groups, +and lock-free task queues. + +This package provides the shared library for %{name}. + +%package -n ptl-devel +Summary: Headers for building with PTL +Requires: %{libname} = %{version} +Requires: tbb-devel + +%description -n ptl-devel +Parallel Tasking Library (PTL) is a C++11 multithreading tasking +system on top of std::thread featuring thread pools, task groups, +and lock-free task queues. + +This package provides the headers and sources for developing against %{name}. + +%prep +%autosetup -p1 + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n ptl-devel +%license LICENSE +%doc README.md +%{_includedir}/PTL/ +%{_libdir}/PTL/ +%{_libdir}/*.so + +%files -n %{libname} +%license LICENSE +%{_libdir}/*.so.* +%changelog