Name: rpclib Version: 2.2.1 Release: 1%{?dist} Summary: C++ msgpack-RPC library. License: MIT BuildRequires: cmake, make, (gcc-c++ or clang), fmt-devel msgpack-devel asio-devel URL: https://github.com/%{name}/%{name} Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: rpclib-2.2.1-f29.patch %description Modern, C++14 msgpack remote procedure call server and client library. %prep %setup -q %patch0 -p1 -E %build mkdir build cd build %cmake -DRPCLIB_INCLUDE_PREFIX=rpclib .. %make_build %install cd build %make_install %files %license LICENSE.md %{_libdir}/librpc.so %package devel Summary: Headers for %{name}. Requires: %{name} Recommends: msgpack-devel %description devel %{name} is a modern, C++14 msgpack remote procedure call server and client library. This %{name}-devel package contains the headers, cmake, and pkgconfig files for compiling against the library. %files devel %{_includedir}/rpclib %{_datarootdir}/cmake/rpclib %{_datarootdir}/pkgconfig/rpclib.pc %changelog * Sat Feb 9 2019 Benjamin Kay - 2.2.1-1 - First package of rpclib