Name: lager Version: 0.1.1 Release: 1%{?dist} Summary: C++ library to assist value-oriented design License: BSL-1.0 URL: https://github.com/arximboldi/zug Source0: https://github.com/arximboldi/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: fmt-devel BuildArch: noarch %description lager is a C++ library to assist value-oriented design by implementing the unidirectional data-flow architecture. It is heavily inspired by Elm and Redux, and enables composable designs by promoting the use of simple value types and testable application logic via pure functions. %package devel Summary: C++ library to assist value-oriented design %description devel lager is a C++ library to assist value-oriented design by implementing the unidirectional data-flow architecture. It is heavily inspired by Elm and Redux, and enables composable designs by promoting the use of simple value types and testable application logic via pure functions. %prep %autosetup -p1 sed -i 's#lib/cmake/Lager#%{_lib}/cmake/Lager#' CMakeLists.txt %build %cmake -Dlager_BUILD_EXAMPLES:BOOL=FALSE \ -Dlager_BUILD_DEBUGGER_EXAMPLES:BOOL=FALSE \ -Dlager_BUILD_DOCS:BOOL=FALSE %cmake_build %install %cmake_install %check %cmake_build -t check %files devel %license LICENSE %doc README.rst %{_includedir}/lager/ %{_libdir}/cmake/Lager/ %changelog * Tue Jan 02 2024 Than Ngo - 0.1.1-1 - initial rpm