Name: libmodule Version: 5.0.1 Release: 2%{?dist} Summary: C simple and elegant implementation of an actor library License: MIT URL: https://github.com/FedeDP/libmodule Source0: https://github.com/FedeDP/libmodule/archive/refs/tags/5.0.1.tar.gz BuildRequires: cmake BuildRequires: g++ %global debug_package %{nil} %description C simple and elegant implementation of an actor library. %prep %setup %build mkdir -p build cd build cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=%{_lib} -DCMAKE_BUILD_TYPE="Release" .. make %install cd build %make_install %files %license LICENSE %doc README.md %{_includedir}/module %{_libdir}/libmodule* %{_datadir}/pkgconfig/libmodule* %changelog * Fri Feb 3 2023 James Reed - 5.0.1-2 - Require g++ to resolve copr build error - Use lib macro * Fri Feb 3 2023 James Reed - 5.0.1-1 - Initial package