# Header-only package %global debug_package %{nil} Name: frozen Version: 1.1.1 Release: 2%{?dist} Summary: A header-only, constexpr alternative to gperf for C++14 users License: Apache-2.0 URL: https://github.com/serge-sans-paille/frozen Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: includes.patch Patch1: 079f73cc5c6413127d47f325cbb34a607e2cb030.patch BuildRequires: gcc-c++ BuildRequires: cmake %description Header-only library that provides 0 cost initialization for immutable containers, fixed-size containers, and various algorithms. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Development files for %{name}. %prep %setup -q %patch -P 0 -p0 %patch -P 1 -p1 %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %check %ctest %install %cmake_install %files %license LICENSE %doc AUTHORS README.rst %files devel %doc examples/ %{_includedir}/frozen/ %{_datadir}/cmake/%{name}/ %changelog * Tue Jul 18 2023 Gwyn Ciesla - 1.1.1-2 - review fixes. * Mon Jul 17 2023 Gwyn Ciesla - 1.1.1-1 - Initial package.