[packages/tcpreplay] - new

adamg adamg at pld-linux.org
Thu Mar 14 06:25:29 CET 2019


commit d64377576af7920cd372b522e1b03f6df7f50360
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Thu Mar 14 06:25:17 2019 +0100

    - new

 tcpreplay.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/tcpreplay.spec b/tcpreplay.spec
new file mode 100644
index 0000000..f5b9d89
--- /dev/null
+++ b/tcpreplay.spec
@@ -0,0 +1,49 @@
+Summary:	Replay captured network traffic
+Name:		tcpreplay
+Version:	4.3.2
+Release:	1
+License:	GPL v3
+Group:		Applications/Networking
+Source0:	https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	084d6162a01a0be2cd61624f010002a0
+URL:		http://tcpreplay.appneta.com/
+BuildRequires:	libdnet-devel
+BuildRequires:	libpcap-devel >= 0.8.0
+BuildRequires:	tcpdump
+Requires:	/usr/sbin/tcpdump
+
+%description
+Tcpreplay is a tool to replay captured network traffic. Currently,
+tcpreplay supports pcap (tcpdump) and snoop capture formats. Also
+included, is tcpprep a tool to pre-process capture files to allow
+increased performance under certain conditions as well as capinfo
+which provides basic information about capture files.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/{CHANGELOG,CREDIT,HACKING,INSTALL,LICENSE,TODO}
+%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/*
+
+%changelog
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tcpreplay.git/commitdiff/d64377576af7920cd372b522e1b03f6df7f50360



More information about the pld-cvs-commit mailing list