1 Summary: Bandwidth monitor - display bandwidth usage on all interfaces
2 Summary(pl): Bandwidth monitor - wy¶wietlanie obci±¿enia na interfejsach
7 Group: Networking/Utilities
8 Source0: http://www.gropp.org/%{name}-%{version}.tar.gz
9 # Source0-md5: 4fc0839ae212bc0b805fc4adeb55a3ac
10 URL: http://www.gropp.org/
11 BuildRequires: libstatgrab-devel
12 BuildRequires: ncurses-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Bandwidth Monitor NG is a small and simple console-based bandwidth
17 monitor for Linux, BSD, and Mac OS X, or other systems with either
18 /proc/net/dev, netstat (Linux and BSD), getifaddrs, sysctl, or
19 libstatgrab. You can choose whether to show all interfaces or only
20 those interfaces that are up. Output is possible as plain console,
21 curses, CSV, or HTML. Unlimited interfaces are supported and will be
22 added dynamically while running.
30 CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
35 install bwm-ng $RPM_BUILD_ROOT%{_bindir}
36 install bwm-ng.conf-example $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/*