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