%global debug_package %{nil} Name: glaze Version: 5.2.1 Release: %autorelease Summary: In memory, JSON and interface library for modern C++ License: MIT URL: https://github.com/stephenberry/glaze Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ %description %{summary}. %prep %autosetup -p1 %build %cmake -Dglaze_DEVELOPER_MODE:BOOL=OFF -Dglaze_INSTALL_CMAKEDIR=%{_datadir}/cmake/%{name} %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_datadir}/cmake/%{name}/ %{_includedir}/%{name}/ %changelog %autochangelog