--- /dev/null
+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