b247a78
Summary:		Bandwidth Monitor NG
b247a78
Name:			bwm-ng
b247a78
0197308
Version:		0.6
97486e1
Release:		6%{?dist}.2
b247a78
edbba41
License:		GPLv2+
b247a78
Group:			Applications/System
9180d48
URL:			http://www.volker-gropp.de/?id=projects&sub=bwm-ng
b247a78
b247a78
Source0:		http://www.volker-gropp.de/bwm-ng/bwm-ng-%{version}.tar.gz
b247a78
Source1:		bwm-ng.conf
b247a78
b247a78
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root
b247a78
Requires:		net-tools, procps
97486e1
BuildRequires:		ncurses-devel
b247a78
b247a78
%description
b247a78
A small and simple curses base bandwidth monitor. No big features.
b247a78
b247a78
%prep
b247a78
%setup -q
b247a78
b247a78
%build
b247a78
%configure	--enable-64bit \
b247a78
			--enable-netstatbyte \
b247a78
			--enable-netstatlink \
b247a78
			--with-ncurses \
b247a78
			--with-time	\
b247a78
			--with-getopt_long \
b247a78
			--with-getifaddrs \
b247a78
			--with-sysctl \
b247a78
			--with-procnetdev \
97486e1
			--without-libstatgrab \
b247a78
			--with-netstatlinux	\
b247a78
			--without-strip
b247a78
%{__make} %{?_smp_mflags}
b247a78
b247a78
%install
b247a78
rm -rf $RPM_BUILD_ROOT
b247a78
install -D -m755 src/bwm-ng $RPM_BUILD_ROOT%{_bindir}/bwm-ng
b247a78
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
9180d48
install -D -m644 bwm-ng.1 $RPM_BUILD_ROOT%{_mandir}/man1/bwm-ng.1
b247a78
b247a78
%clean
b247a78
rm -rf $RPM_BUILD_ROOT
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
97486e1
* Mon Sep 16 2013 Oliver Falk <oliver@linux-kernel.at> - 0.6-6.2
97486e1
- Need to disable libstatgrab at the moment because of incompatibility
97486e1
d5ebf75
* Sun Apr 10 2011 Sven Lankes <sven@lank.es> - 0.6-6.1
d5ebf75
- Build for EL6
d5ebf75
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