]> git.pld-linux.org Git - packages/tcpreplay.git/blob - tcpreplay.spec
- up to 4.3.4
[packages/tcpreplay.git] / tcpreplay.spec
1 Summary:        Replay captured network traffic
2 Name:           tcpreplay
3 Version:        4.3.4
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:  d11673863c88a1f4607a9a8761c8e6e8
9 Patch0:         x32.patch
10 URL:            http://tcpreplay.appneta.com/
11 BuildRequires:  libdnet-devel
12 BuildRequires:  libpcap-devel >= 0.8.0
13 BuildRequires:  tcpdump
14 Requires:       /usr/bin/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
25 %patch0 -p1
26
27 %build
28 %{__libtoolize}
29 %{__aclocal} -I m4 -I libopts/m4
30 %{__autoconf}
31 %{__autoheader}
32 %{__automake}
33 %configure
34
35 %{__make} V=1
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
This page took 0.069249 seconds and 4 git commands to generate.