Name: nonstd-any-lite-devel %define altname any-lite Version: 0.4.0 Release: 1%{?dist} Summary: A single-file header-only version of a C++17-like any, a type-safe container for single values of any type for C++98, 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 Patch0: any-lite-c++98.patch BuildArch: noarch BuildRequires: cmake BuildRequires: gcc-c++ %description any lite is a single-file header-only library to represent a type-safe container for single values of any type. The library aims to provide a C++17-like any for use with C++98 and later. If available, std::any is used. %prep %autosetup -p1 -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.4.0-1 - Initial version of the package