Name: libtins Version: 4.3 Release: 1 Summary: High-level, multiplatform C++ network packet sniffing and crafting library License: BSD BuildRequires: gcc-c++, cmake, libpcap-devel, boost-devel Source: https://github.com/mfontanini/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz %description libtins is a high-level, multiplatform C++ network packet sniffing and crafting library. Its main purpose is to provide the C++ developer an easy, efficient, platform and endianess-independent way to create tools which need to send, receive and manipulate specially crafted packets. %package devel Requires: libtins Summary: libtins development package %description devel This package provides libtins headers for developers. %prep %setup -q %build # C++11 support was added in GCC 4.8.1: # https://www.gnu.org/software/gcc/projects/cxx-status.html#cxx11 ver=$(g++ -E -dM -o - -