Name: nonstd-ring-span-lite-devel %define altname ring-span-lite Version: 0.6.0 Release: 1%{?dist} Summary: A circular buffer view for C++98 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 ring-span lite is a single-file header-only library to represent a circular buffer view on a container. The library aims to provide a C++yy-like ring_span for use with C++98 and later. Its initial code is inspired on the reference implementation by Arthur O'Dwyer. It is my intention to let the interface of this ring_span follow the unfolding standard one. %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.6.0-1 - Initial version of the package