1 Summary: iftop - display bandwidth usage on an interface by host
5 Source: http://www.ex-parrot.com/~pdw/iftop/%{name}-%{version}.tar.gz
6 URL: http://www.ex-parrot.com/~pdw/iftop/
7 Group: Network/Monitoring
8 Packager: Richard Lucassen <spamtrap@lucassen.org>
10 BuildRoot: /var/tmp/%{name}-%{version}-root
14 iftop listens to network traffic on a named interface, or
15 on the first interface it can find which looks like an
16 external interface if none is specified, and displays a
17 table of current bandwidth usage by pairs of hosts. iftop
18 must be run with sufficient permissions to monitor all
19 network traffic on the interface; see pcap(3) for more
20 information, but on most systems this means that it must
28 CPPFLAGS=-I/usr/include/pcap
29 ./configure --prefix="%{_prefix}" --mandir="%{_mandir}"
33 rm -rf "$RPM_BUILD_ROOT"
34 mkdir -p $RPM_BUILD_ROOT%{_bindir}
35 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
36 install -s -m 755 iftop $RPM_BUILD_ROOT%{_bindir}
37 install iftop.8 $RPM_BUILD_ROOT%{_mandir}/man8
41 rm -rf $RPM_BUILD_ROOT
45 %doc AUTHORS COPYING ChangeLog NEWS README TODO
47 %doc %{_mandir}/man*/*
50 * Fri Oct 17 2003 Richard Lucassen <spamtrap@lucassen.org>
51 - src.rpm can be rebuilt by a normal user now
52 * Fri Aug 30 2002 Iain Lea <iain@bricbrac.de>
53 - Updated build for Red Hat 7.3 version
54 * Sat Apr 13 2002 Riku Meskanen <mesrik@cc.jyu.fi>
55 - Initial build for Red Hat 7.2 version