Name: iftop
Version: 0.17
Release: 2%{?dist}
Summary: Command line tool that displays bandwidth usage on an interface
Group: Applications/Internet
License: GPL
URL: http://www.ex-parrot.com/~pdw/iftop
Source0: http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
%if "%{fedora}" >= "6"
BuildRequires: libpcap-devel
%else
BuildRequires: libpcap
%endif
%description
iftop does for network usage what top(1) does for CPU usage. It listens to
network traffic on a named interface and displays a table of current bandwidth
usage by pairs of hosts. Handy for answering the question "why is our ADSL link
so slow?".
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_sbindir}/*
%{_mandir}/man8/*
%changelog
* Thu Jun 15 2006 Aurelien Bompard <gauret[AT]free.fr> 0.17-2
- buildrequire libpcap-devel from FC6 on
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.17-1
- version 0.17
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.16-7
- rebuild for fc5
* Sun Nov 13 2005 Aurelien Bompard <gauret[AT]free.fr> 0.16-6
- rebuild for libpcap
* Sat Oct 22 2005 Aurelien Bompard <gauret[AT]free.fr> 0.16-5
- rebuild and add disttag
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Fri Jun 04 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.16-0.fdr.3
- use make install
* Thu Jun 03 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.16-0.fdr.2
- remove useless BuildRequires: texinfo
* Sat May 22 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.16-0.fdr.1
- Initial RPM release.