Name: trantor Version: 1.5.25 Release: %autorelease Summary: a non-blocking I/O tcp network lib based on c++14/17 License: BSD-3-Clause URL: https://github.com/an-tao/trantor Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # Fix bytes order in the InetAddress class Patch0: https://github.com/an-tao/trantor/pull/390.patch # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(GTest) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 -C %build %cmake -DBUILD_TESTING=ON %cmake_build %install %cmake_install %check %ctest %files %license License %doc README.md %{_libdir}/libtrantor.so.1* %files devel %{_includedir}/trantor %{_libdir}/libtrantor.so %{_libdir}/cmake/Trantor/ %changelog %autochangelog