1 %global _hardened_build 1 2 3 Name: tcpflow 4 Version: @VERSION@ 5 Release: 0%{?dist} 6 License: GPLv3 7 Summary: Network traffic recorder 8 URL: https://github.com/simsong/tcpflow 9 Source0: http://digitalcorpora.org/downloads/%{name}/%{name}-%{version}.tar.gz 10 11 BuildRequires: boost-devel 12 #BuildRequires: bzip2-devel 13 BuildRequires: cairo-devel 14 BuildRequires: libpcap-devel 15 BuildRequires: openssl-devel 16 BuildRequires: zlib-devel 17 18 %description 19 tcpflow is a program that captures data transmitted as part of TCP 20 connections (flows), and stores the data in a way that is convenient 21 for protocol analysis or debugging. A program like 'tcpdump' shows a 22 summary of packets seen on the wire, but usually doesn't store the 23 data that's actually being transmitted. In contrast, tcpflow 24 reconstructs the actual data streams and stores each flow in a 25 separate file for later analysis. 26 27 %prep 28 %setup -q 29 30 %build 31 export CPPFLAGS="%{optflags}" 32 export LDFLAGS="%{__global_ldflags}" 33 %configure 34 make %{?_smp_mflags} 35 36 %install 37 make DESTDIR=%{buildroot} INSTALL='install -p' install 38 39 %check 40 #make check 41 42 %files 43 %doc AUTHORS COPYING ChangeLog NEWS README 44 %{_bindir}/tcpflow 45 %{_mandir}/man1/tcpflow.1* 46 47 %changelog 48 49 * Sun Jun 04 2017 O. Libre <olibre@Lmap.org> - 1.4.6-0 50 - Apply improvements from Fedora Packages repo https://src.fedoraproject.org/cgit/rpms/?q=tcpflow 51 52 * Sun Feb 26 2012 Simson Garfinkel <simsong@acm.org> - 1.2 53 - Rewrite for version 1.2 54 55 * Thu Apr 22 1999 Ross Golder <rossigee@bigfoot.com> - 0.12 56 - Wrote for version 0.12 57