diff --git a/.cvsignore b/.cvsignore index e69de29..ecd8a50 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +iftop-0.16.tar.gz diff --git a/iftop.spec b/iftop.spec new file mode 100644 index 0000000..336f478 --- /dev/null +++ b/iftop.spec @@ -0,0 +1,55 @@ +Name: iftop +Version: 0.16 +Release: 0.fdr.3.rh80 +Epoch: 0 +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.16.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libpcap, ncurses-devel + +%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 +* Fri Jun 04 2004 Aurelien Bompard 0:0.16-0.fdr.3 +- use make install + +* Thu Jun 03 2004 Aurelien Bompard 0:0.16-0.fdr.2 +- remove useless BuildRequires: texinfo + +* Sat May 22 2004 Aurelien Bompard 0:0.16-0.fdr.1 +- Initial RPM release. diff --git a/sources b/sources index e69de29..4da7f03 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e24a6b444858ab72afc414376d28b966 iftop-0.16.tar.gz