Christopher Meng bbeefea
Name:           bwm-ng
Sven Lankes 108426c
Version:        0.6.1
Sven Lankes b566e22
Release:        2%{?dist}
Christopher Meng bbeefea
Summary:        Bandwidth Monitor NG
Christopher Meng bbeefea
License:        GPLv2+
Christopher Meng bbeefea
URL:            http://www.volker-gropp.de/?id=projects&sub=bwm-ng
Christopher Meng bbeefea
Source0:        http://www.volker-gropp.de/bwm-ng/%{name}-%{version}.tar.gz
Christopher Meng bbeefea
Source1:        bwm-ng.conf
Christopher Meng bbeefea
BuildRequires:  ncurses-devel
a633ba3
Requires:       hostname
a633ba3
Requires:       procps
b247a78
b247a78
%description
Christopher Meng bbeefea
A small and simple console-based live network and disk io bandwidth monitor.
Christopher Meng bbeefea
Christopher Meng bbeefea
Features:
Christopher Meng bbeefea
- Supports /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats 
Christopher Meng bbeefea
/proc/partitions, IOKit, devstat and libstatgrab
Christopher Meng bbeefea
- Unlimited number of interfaces/devices supported
Christopher Meng bbeefea
- Interfaces/devices are added or removed dynamically from list
Christopher Meng bbeefea
- White-/blacklist of interfaces/devices
Christopher Meng bbeefea
- Output of KB/s, Kb/s, packets, errors, average, max and total sum
Christopher Meng bbeefea
- Output in curses, plain console, CSV or HTML
Christopher Meng bbeefea
- Configfile
b247a78
b247a78
%prep
b247a78
%setup -q
b247a78
b247a78
%build
Christopher Meng bbeefea
%configure --enable-64bit \
Christopher Meng bbeefea
	--enable-netstatbyte \
Christopher Meng bbeefea
	--enable-netstatlink \
Christopher Meng bbeefea
	--with-ncurses \
Christopher Meng bbeefea
	--with-time \
Christopher Meng bbeefea
	--with-getopt_long \
Christopher Meng bbeefea
	--with-getifaddrs \
Christopher Meng bbeefea
	--with-sysctl \
Christopher Meng bbeefea
	--with-procnetdev \
Christopher Meng bbeefea
	--with-netstatlinux \
Christopher Meng bbeefea
	--without-strip
Christopher Meng bbeefea
make %{?_smp_mflags}
b247a78
b247a78
%install
Christopher Meng bbeefea
install -pDm755 src/bwm-ng %{buildroot}%{_bindir}/bwm-ng
c25c060
install -pDm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/bwm-ng.conf
Christopher Meng bbeefea
install -pDm644 bwm-ng.1 %{buildroot}%{_mandir}/man1/bwm-ng.1
b247a78
b247a78
%files
0197308
%doc AUTHORS README ChangeLog bwm-ng.conf-example bwm-ng.css
9180d48
%config(noreplace) %{_sysconfdir}/bwm-ng.conf
b247a78
%{_bindir}/bwm-ng
b247a78
%{_mandir}/man1/bwm-ng.1*
b247a78
b247a78
%changelog
Sven Lankes b566e22
* Tue Feb 16 2016 Sven Lankes <sven@lank.es> - 0.6.1-2
Sven Lankes b566e22
- update conf to reflect default input change
Sven Lankes b566e22
Sven Lankes 108426c
* Tue Feb 16 2016 Sven Lankes <sven@lank.es> - 0.6.1-1
Sven Lankes 108426c
- new upstream release
Sven Lankes 108426c
- remove upstreamed patch
Sven Lankes 108426c
- remove dependency on libstatgrab (no longer default upstream)
Sven Lankes 108426c
af948e7
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-20
af948e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
af948e7
aef2b27
* Sat Oct 17 2015 Kalev Lember <klember@redhat.com> - 0.6-19
aef2b27
- Rebuilt for libstatgrab soname bump
aef2b27
3bfe6c7
* Fri Jun 19 2015 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.6-18
3bfe6c7
- Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility
3bfe6c7
  issues. Fix FTBFS).
3bfe6c7
9c161aa
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-17
9c161aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9c161aa
90e6487
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-16
90e6487
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
90e6487
163a357
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-15
163a357
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
163a357
a633ba3
* Fri Jan 03 2014 Christopher Meng <rpm@cicku.me> - 0.6-14
a633ba3
- Fix gcc dumb security check issue.
a633ba3
c25c060
* Sun Oct 13 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.6-13
c25c060
- Fix spec-file corruption caused by previous patch.
c25c060
Christopher Meng bbeefea
* Mon Sep 16 2013 Christopher Meng <rpm@cicku.me> - 0.6-12
Christopher Meng bbeefea
- Rebuild for libstatgrab(BZ#1008278).
8b9c8eb
f217019
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-10
f217019
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f217019
f7b01f7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-9
f7b01f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f7b01f7
48c46fc
* Tue Jan 24 2012 Oliver Falk <oliver@linux-kernel.at> - 0.6-8
48c46fc
- Require hostname instead of net-tools (BZ#784368)
48c46fc
fa8dae6
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
fa8dae6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fa8dae6
3cd7c86
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-6
3cd7c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3cd7c86
c4c8e87
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
c4c8e87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c4c8e87
d308170
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
d308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d308170
08059c3
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-3
08059c3
- Bump-n-build for GCC 4.3
08059c3
edbba41
* Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-2
edbba41
- Rebuild for BuildID
edbba41
- License clarification 
edbba41
0197308
* Fri Mar 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-1
0197308
- Update
0197308
- Filename change: changelog -> ChangeLog
0197308
- Removed tag at start of spec (since I don't use it)
0197308
9180d48
* Thu Jan 25 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.5-9
9180d48
- Added noreplace to config, as per rpmlint warning
9180d48
- Removed a couple spaces which triggered spaces/tabs rpmlint warning
9180d48
- Fixed project URL
9180d48
f1a1bbc
* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.5-8
f1a1bbc
- Bump-n-build
f1a1bbc
e19a72d
* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org>	- 0.5-7
e19a72d
- Bump for FC6 rebuild
e19a72d
73a3551
* Fri Aug 12 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-6
73a3551
- Rebuild against libstatgrab 0.12
73a3551
b247a78
* Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-5
b247a78
- Integrated Matthias changes, after his review
b247a78
b247a78
* Thu May 19 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4.2
b247a78
- Specfile cleanup
b247a78
b247a78
* Fri Mar 25 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4.1
b247a78
- Check with lint says: bwm-ng hardcoded-packager-tag Oliver: FIXED
b247a78
b247a78
* Wed Mar 16 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4
b247a78
- Fix, still build pre1 :-/
b247a78
b247a78
* Wed Mar 16 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-3
b247a78
- Update to real 0.5, not only 0.5pre1
b247a78
b247a78
* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-2
b247a78
- Make use of libstatgrab, by using it in the default config
b247a78
b247a78
* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-1
b247a78
- Fix warnings spotted by rpmlint
b247a78
- Update
b247a78
- Update dependencies and add various configure switches, so this
b247a78
  little thingy is no longer _little_ :-)
b247a78
b247a78
* Tue Oct 19 2004 Oliver Falk <oliver@linux-kernel.at>		- 0.4-pre1-1
b247a78
- Initial package
b247a78