Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c22e999c0d0535cb1069d18752aecedd > files > 3

bwm-ng-0.6-4.mga3.src.rpm


%define name	bwm-ng
%define version	0.6
%define rel	4

Summary:	Console-based live network and disk io bandwidth monitor
Name:		%{name}
Version:	%{version}
Release:	%mkrel %{rel}
URL:		http://gropp.org/?id=projects&sub=bwm-ng
Source:		http://gropp.org/bwm-ng/bwm-ng-%{version}.tar.gz
# fixes build, from upstream
Patch0:		bwm-ng-fmt+retvalues.patch
License:	GPLv2+
Group:		Monitoring
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	ncurses-devel
BuildRequires:	libstatgrab-devel

%description
Bandwidth Monitor NG is a small and simple console-based live
network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac
OS X and others.

Short list of features:
- supports /proc/net/dev, netstat, getifaddr, sysctl, kstat,
  /proc/diskstats, /proc/partitions, IOKit, devstat and libstatgrab
- unlimited number of interfaces/devices supported
- interfaces/devices are added or removed dynamically from list
- white-/blacklist of interfaces/devices
- output of KB/s, Kb/s, packets, errors, average, max and total sum
- output in curses, plain console, CSV or HTML
- configfile

%prep
%setup -q
%apply_patches

%build
%configure2_5x --with-ncurses --with-partitions --with-procnetdev --with-libstatgrab
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README AUTHORS ChangeLog NEWS THANKS bwm-ng.conf-example bwm-ng.css
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 0.6-4.mga3
+ Revision: 347244
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Jan 15 2011 anssi <anssi> 0.6-3.mga1
+ Revision: 19607
- imported package bwm-ng