diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-26 16:39:41 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-26 16:39:41 -0800 |
commit | 3c96ed0470de1ba72af52923a8b5f464b63d8d74 (patch) | |
tree | 0d49f8909ef8439bba0bb51d65ebc70bf52654cb | |
parent | 2eeefd58e9b06483db0a766de2fa45ff527f2e8d (diff) | |
download | specs-3c96ed0470de1ba72af52923a8b5f464b63d8d74.tar.gz specs-3c96ed0470de1ba72af52923a8b5f464b63d8d74.tar.xz specs-3c96ed0470de1ba72af52923a8b5f464b63d8d74.zip |
- dispenso
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | meta/dispenso.spec | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/meta/dispenso.spec b/meta/dispenso.spec deleted file mode 100644 index c288a85..0000000 --- a/meta/dispenso.spec +++ /dev/null @@ -1,90 +0,0 @@ -# need to sort out tests -# - patch to use system gtest needs to be made toggle-able -%bcond_without check - -Name: dispenso -Version: 1.0.0 -Release: %{autorelease} -Summary: A library for working with sets of tasks in parallel - -License: MIT -URL: https://github.com/facebookincubator/dispenso -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -# allow Dispenso to be installed and fix its version -Patch0: %{url}/commit/d00e7402ffcc780df11024f8d2285c153b7635b1.patch#/%{name}-1.0.0-add-install.patch -Patch1: %{name}-1.0.0-use-system-gtest.patch - -BuildRequires: cmake -BuildRequires: gcc-c++ -%if %{with check} -BuildRequires: gmock-devel -BuildRequires: gtest-devel -%endif - -%global _description %{expand: -Dispenso is a library for working with sets of tasks in parallel. It provides -mechanisms for thread pools, task sets, parallel for loops, futures, pipelines, -and more. Dispenso is a well-tested C++14 library designed to have minimal -dependencies (some dependencies are required for the tests and benchmarks), and -designed to be clean with compiler sanitizers (ASAN, TSAN). Dispenso is -currently being used in dozens of projects and hundreds of C++ files at Meta -(formerly Facebook). Dispenso also aims to avoid major disruption at every -release. Releases will be made such that major versions are created when a -backward incompatibility is introduced, and minor versions are created when -substantial features have been added or bugs have been fixed, and the aim would -be to only very rarely bump major versions. That should make the project -suitable for use from main branch, or if you need a harder requirement, you can -base code on a specific version.} - -%description %{_description} - - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -# Requires: cmake-filesystem - -%description devel %{_description} - -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. - - -%prep -%autosetup -p1 - - -%build -%cmake \ -%if %{with check} - -DDISPENSO_BUILD_TESTS=ON \ -%else - %{nil} -%endif - -%cmake_build - - -%install -%cmake_install - - -%if %{with check} -%check -%ctest -%endif - - -%files -%license LICENSE -%{_libdir}/*.so.* - -%files devel -%doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md -%{_includedir}/* -%{_libdir}/*.so -%{_libdir}/cmake/Dispenso-%{version} - - -%changelog -%autochangelog |