diff options
author | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 17:53:28 -0800 |
---|---|---|
committer | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 17:53:28 -0800 |
commit | 2f9aed644fc28f5bece6ab1711a9fca7362aeceb (patch) | |
tree | ccd6c62f1adf3255ed0b2095feab505e4611374e /packaging | |
download | iftop-2.0alpha.tar.gz iftop-2.0alpha.tar.bz2 iftop-2.0alpha.zip |
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/iftop.changes | 7 | ||||
-rw-r--r-- | packaging/iftop.spec | 36 |
2 files changed, 43 insertions, 0 deletions
diff --git a/packaging/iftop.changes b/packaging/iftop.changes new file mode 100644 index 0000000..7c0a463 --- /dev/null +++ b/packaging/iftop.changes @@ -0,0 +1,7 @@ +* Thu Sep 27 2012 Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> dd997e7 +- Update configure.in script to work with ncurses libs in Tizen +- Initial submission to Tizen + +* Thu Sep 27 2012 Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> 369dcc2 +- Initial submission to Tizen + diff --git a/packaging/iftop.spec b/packaging/iftop.spec new file mode 100644 index 0000000..97a1ccf --- /dev/null +++ b/packaging/iftop.spec @@ -0,0 +1,36 @@ +Summary: Command line tool that displays bandwidth usage on an interface +Name: iftop +Version: 1.0pre2 +Release: 1 +License: GPLv2+ +Group: Applications/Internet +URL: http://www.ex-parrot.com/~pdw/%{name}/ +Source: http://www.ex-parrot.com/~pdw/%{name}/download/%{name}-%{version}.tar.gz +BuildRequires: ncurses-devel +BuildRequires: 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?". + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +%{_sbindir}/%{name} +%{_mandir}/man8/%{name}.* |