]>
Commit | Line | Data |
---|---|---|
d6437757 AG |
1 | Summary: Replay captured network traffic |
2 | Name: tcpreplay | |
3 | Version: 4.3.2 | |
a1f285b9 | 4 | Release: 2 |
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 | |
8 | # Source0-md5: 084d6162a01a0be2cd61624f010002a0 | |
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 | |
14 | Requires: /usr/sbin/tcpdump | |
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} | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %{__autoheader} | |
32 | %{__automake} | |
33 | %configure | |
34 | ||
35 | %{__make} | |
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 |