diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-15 16:49:10 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-15 16:49:10 -0800 |
commit | fac2aadf328bb81b1c08c6940d5d32d3ec7f9985 (patch) | |
tree | 6a7b5769b246ab9dd49cb152e0dc337876c67491 | |
parent | f45de213c606ea8959106b9637131ee52d7c1e24 (diff) | |
download | specs-fac2aadf328bb81b1c08c6940d5d32d3ec7f9985.tar.gz specs-fac2aadf328bb81b1c08c6940d5d32d3ec7f9985.tar.xz specs-fac2aadf328bb81b1c08c6940d5d32d3ec7f9985.zip |
dcavalca's tsl-sparse-map
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | meta/libs/tsl-sparse-map.spec | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/libs/tsl-sparse-map.spec b/meta/libs/tsl-sparse-map.spec new file mode 100644 index 0000000..5135a88 --- /dev/null +++ b/meta/libs/tsl-sparse-map.spec @@ -0,0 +1,55 @@ +%global debug_package %{nil} + +%global srcname sparse-map + +%global _description %{expand: +The sparse-map library is a C++ implementation of a memory efficient hash map +and hash set. It uses open-addressing with sparse quadratic probing. The goal +of the library is to be the most memory efficient possible, even at low load +factor, while keeping reasonable performances.} + +Name: tsl-%{srcname} +Version: 0.6.2 +Release: %autorelease +Summary: C++ implementation of a memory efficient hash map and hash set + +License: MIT +URL: https://github.com/Tessil/%{srcname} +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc-c++ + +BuildRequires: boost-devel + +%description %{_description} + +%package devel +Summary: %{summary} + +%description devel %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%check +pushd tests +%cmake +%cmake_build +./%{_vpath_builddir}/tsl_sparse_map_tests + +%files devel +%license LICENSE +%doc README.md +%{_includedir}/tsl +%{_datadir}/cmake/%{name} + +%changelog +%autochangelog |