Name: nonstd-observer-ptr-lite-devel %define altname observer-ptr-lite Version: 0.4.0 Release: 1%{?dist} Summary: observer_ptr<> for C++98 up 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 observer-ptr is an implementation of the world’s dumbest smart pointer for C++98 and higher. It takes no ownership responsibility for the object it observes or watches and is intended as a near drop-in replacement for raw pointer types. As a vocabulary type it indicates intended use, easing code reading. %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.4.0-1 - Initial version of the package