Name: nonstd-jthread-lite-devel %define altname jthread-lite Version: 0.1.0 Release: 1%{?dist} Summary: C++20's jthread for C++11 and later License: BSL-1.0 URL: https://github.com/martinmoene/%{altname} Source0: https://github.com/martinmoene/%{altname}/archive/refs/tags/v%{version}.tar.gz#/%{altname}-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ %description jthread lite is a single-file header-only library to provide C++20's class jthread for use with C++11 and later. If available, the standard library is used, unless configured otherwise. %prep %autosetup -n %{altname}-%{version} %build %cmake %cmake_build %install %cmake_install %check %ctest %files %{_includedir}/nonstd/*.hpp %{_libdir}/cmake/*/*.cmake %changelog * Fri Jul 15 2022 Jean Pierre Cimalando - 0.1.0-1 - Initial version of the package