public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tsl-sparse-map] epel10: Initial Fedora package
@ 2026-09-17  8:14 Michel Alexandre Salim
  0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-09-17  8:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/tsl-sparse-map
            Branch : epel10
            Commit : 21e0dbb00caad9736ee68d9079d1b250ad5e5643
            Author : Michel Alexandre Salim <salimma@fedoraproject.org>
            Date   : 2021-12-16T10:39:56-08:00
            Stats  : +59/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/tsl-sparse-map/c/21e0dbb00caad9736ee68d9079d1b250ad5e5643?branch=epel10

            Log:
            Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5f70113
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/sparse-map-0.6.2.tar.gz

diff --git a/sources b/sources
new file mode 100644
index 0000000..4083e4c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sparse-map-0.6.2.tar.gz) = b547409ce3f3a7925302b3939c684ca8d46fac54cc01258d59af220711fb36457ebb677bfa8687d0b010025e80394bb63bb15e9b095fd8d7d9f471e284766032

diff --git a/tsl-sparse-map.spec b/tsl-sparse-map.spec
new file mode 100644
index 0000000..988f43b
--- /dev/null
+++ b/tsl-sparse-map.spec
@@ -0,0 +1,57 @@
+%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
+# Directory shared with other libraries by the same author, e.g. robin-map
+%dir %{_includedir}/tsl
+%{_includedir}/tsl/sparse_*.h
+%{_datadir}/cmake/%{name}
+
+%changelog
+%autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17  8:14 [rpms/tsl-sparse-map] epel10: Initial Fedora package Michel Alexandre Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox