%define snap 20040517 %define name tcpslice %define version 1.2a1 %define release 0.%{snap}.3mdk Summary: A tool for extracting portions of packet trace files Name: %{name} Version: %{version} Release: %{release} Group: Monitoring License: BSD URL: http://www.tcpdump.org Source0: tcpslice-%{snap}.tar.bz2 Patch0: tcpslice-pcap_header_fix.diff.bz2 Requires: tcpdump BuildRequires: libpcap-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description A tool for extracting portions of packet trace files generated using tcpdump's -w flag. %prep %setup -q -n %{name} %patch0 -p0 %build %configure2_5x %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} install -d %{buildroot}%{_sbindir} install -d %{buildroot}%{_mandir}/man1 install -m0755 tcpslice %{buildroot}%{_sbindir} install -m0644 tcpslice.1 %{buildroot}%{_mandir}/man1/tcpslice.1 %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES CREDITS INSTALL README %{_sbindir}/tcpslice %{_mandir}/man1/tcpslice.1* %changelog * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 1.2a1-0.20040517.3mdk - rebuilt against new libpcap-0.9.1 (aka. a "play safe" rebuild) * Fri Jun 03 2005 Oden Eriksson <oeriksson@mandriva.com> 1.2a1-0.20040517.2mdk - rebuild * Mon May 17 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.2a1-0.20040517.1mdk - initial package - added P0