%define name tcptrack %define version 1.0.0 %define release 1 %define prefix /usr Summary: A packet sniffer which displays TCP information like the 'top' command Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Utilities/Network Source: %{name}-%{version}.tar.gz URL: http://www.rhythm.cx/~steve/devel/tcptrack BuildRoot: %{_tmppath}/%{name}-buildroot %description tcptrack is a sniffer which displays information about TCP connections it sees on a network interface. It passively watches for connections on the network interface, keeps track of their state and displays a list of connections in a manner similar to the unix 'top' command. It displays source and destination addresses and ports, connection state, idle time, and bandwidth usage. %prep %setup -q %build ./configure --prefix=%{prefix} make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %{prefix}/bin/tcptrack %{prefix}/share/man/man1/tcptrack.1.gz %doc AUTHORS COPYING ChangeLog README INSTALL %changelog * Sun Nov 23 2003 Steve Benson - Initial release