Name: glaze Version: 7.0.2 Release: 1%{?dist} Summary: Extremely fast, in memory, JSON and reflection library for modern C++. License: MIT URL: https://github.com/stephenberry/glaze Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ %description One of the fastest JSON libraries in the world. Glaze reads and writes from object memory, simplifying interfaces and offering incredible performance. %package devel Summary: Development files for %{name} BuildArch: noarch Provides: %{name}-static = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -Dglaze_BUILD_EXAMPLES=OFF \ -Dglaze_DEVELOPER_MODE=OFF %cmake_build %install %cmake_install %files devel %license LICENSE %doc README.md %{_includedir}/glaze/ %{_datadir}/glaze/ %changelog %autochangelog