]>
Commit | Line | Data |
---|---|---|
d6437757 AG |
1 | Summary: Replay captured network traffic |
2 | Name: tcpreplay | |
3 | Version: 4.3.2 | |
4 | Release: 1 | |
5 | License: GPL v3 | |
6 | Group: Applications/Networking | |
7 | Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 084d6162a01a0be2cd61624f010002a0 | |
9 | URL: http://tcpreplay.appneta.com/ | |
10 | BuildRequires: libdnet-devel | |
11 | BuildRequires: libpcap-devel >= 0.8.0 | |
12 | BuildRequires: tcpdump | |
13 | Requires: /usr/sbin/tcpdump | |
14 | ||
15 | %description | |
16 | Tcpreplay is a tool to replay captured network traffic. Currently, | |
17 | tcpreplay supports pcap (tcpdump) and snoop capture formats. Also | |
18 | included, is tcpprep a tool to pre-process capture files to allow | |
19 | increased performance under certain conditions as well as capinfo | |
20 | which provides basic information about capture files. | |
21 | ||
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
26 | %{__libtoolize} | |
27 | %{__aclocal} | |
28 | %{__autoconf} | |
29 | %{__autoheader} | |
30 | %{__automake} | |
31 | %configure | |
32 | ||
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc docs/{CHANGELOG,CREDIT,HACKING,INSTALL,LICENSE,TODO} | |
46 | %{_mandir}/man1/* | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | ||
49 | %changelog |