From 2f9aed644fc28f5bece6ab1711a9fca7362aeceb Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Thu, 31 Jan 2013 17:53:28 -0800 Subject: Initial commit --- packaging/iftop.changes | 7 +++++++ packaging/iftop.spec | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 packaging/iftop.changes create mode 100644 packaging/iftop.spec (limited to 'packaging') 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 dd997e7 +- Update configure.in script to work with ncurses libs in Tizen +- Initial submission to Tizen + +* Thu Sep 27 2012 Geoffroy Van Cutsem 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}.* -- cgit v1.2.3