diff --git a/iftop-1.0pre4.tar.gz b/iftop-1.0pre4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7b1f43caf4ac509c138b52b1ad23baebc4956028 Binary files /dev/null and b/iftop-1.0pre4.tar.gz differ diff --git a/iftop.spec b/iftop.spec new file mode 100644 index 0000000000000000000000000000000000000000..840ae92507ff284faf9e3ff956963444f7a87c30 --- /dev/null +++ b/iftop.spec @@ -0,0 +1,46 @@ +Name: iftop +Version: 1.0pre4 +Release: 1 +Summary: display bandwidth usage on an interface +License: GPLv2 +URL: http://www.ex-parrot.com/~pdw/iftop/ +Source0: http://www.ex-parrot.com/~pdw/iftop/download/%{name}-%{version}.tar.gz + +BuildRequires: ncurses-devel libpcap-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?". + +%package_help + +%prep +%setup -q -n %{name}-%{version}/ + +%build +%configure +make + +%install +make install DESTDIR="%{buildroot}" + +%pre +%preun +%post +%postun + +%check + +%files +%license COPYING +%doc README +%{_sbindir}/%{name} + +%files help +%{_mandir}/man8/%{name}.8* + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +