%global debug_package %{nil} Name: unordered_dense Version: 5.2.0 Release: 1%{?dist} Summary: Fast & densely stored hashmap and hashset for C++17 and later License: MIT URL: https://github.com/martinus/unordered_dense Source0: https://github.com/martinus/unordered_dense/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: cmake-rpm-macros BuildRequires: gcc-c++ # For tests. Currently these don't seem to work as doctest is vendored # BuildRequires: doctest-devel %description Ankerl's unordered_dense provides fast & densely stored hashmap and hashset containers for C++17 and later. The classes `ankerl::unordered_dense::map` and `ankerl::unordered_dense::set` are drop-in replacements for `std::unordered_map` and `std::unordered_set` with significantly better performance characteristics. Features include: - Excellent iteration speed with contiguous memory layout - Fast insertion and lookup operations - Low memory usage - Full support for std::allocators - Customizable storage types via template parameters %package devel Summary: Development files for unordered_dense Provides: %{name}-static = %{version}-%{release} %description devel Header files for developing applications with unordered_dense. This header-only library provides high-performance hash map and hash set implementations that can be used as drop-in replacements for std::unordered_map and std::unordered_set. %prep %autosetup -p1 %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DANKERL_ENABLE_MODULES=TRUE \ -DANKERL_ENABLE_EXAMPLE=FALSE %cmake_build %install %cmake_install # Unsure what to do with this # %check %files devel %license LICENSE %doc README.md CONTRIBUTING.md %{_includedir}/ankerl/ %{_libdir}/cmake/%{name}/ %changelog * Sat Oct 03 2026 Alexander Oberlaender - 5.2.0-1 - Initial Fedora spec for the unordered_dense header-only library, a required dependency of valhalla.