Blob Blame History Raw
Summary:		Bandwidth Monitor NG
Name:			bwm-ng

Version:		0.6
Release:		6%{?dist}.2

License:		GPLv2+
Group:			Applications/System
URL:			http://www.volker-gropp.de/?id=projects&sub=bwm-ng

Source0:		http://www.volker-gropp.de/bwm-ng/bwm-ng-%{version}.tar.gz
Source1:		bwm-ng.conf

BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root
Requires:		net-tools, procps
BuildRequires:		ncurses-devel

%description
A small and simple curses base bandwidth monitor. No big features.

%prep
%setup -q

%build
%configure	--enable-64bit \
			--enable-netstatbyte \
			--enable-netstatlink \
			--with-ncurses \
			--with-time	\
			--with-getopt_long \
			--with-getifaddrs \
			--with-sysctl \
			--with-procnetdev \
			--without-libstatgrab \
			--with-netstatlinux	\
			--without-strip
%{__make} %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
install -D -m755 src/bwm-ng $RPM_BUILD_ROOT%{_bindir}/bwm-ng
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
install -D -m644 bwm-ng.1 $RPM_BUILD_ROOT%{_mandir}/man1/bwm-ng.1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc AUTHORS README ChangeLog bwm-ng.conf-example bwm-ng.css
%config(noreplace) %{_sysconfdir}/bwm-ng.conf
%{_bindir}/bwm-ng
%{_mandir}/man1/bwm-ng.1*

%changelog
* Mon Sep 16 2013 Oliver Falk <oliver@linux-kernel.at> - 0.6-6.2
- Need to disable libstatgrab at the moment because of incompatibility

* Sun Apr 10 2011 Sven Lankes <sven@lank.es> - 0.6-6.1
- Build for EL6

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-3
- Bump-n-build for GCC 4.3

* Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-2
- Rebuild for BuildID
- License clarification 

* Fri Mar 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.6-1
- Update
- Filename change: changelog -> ChangeLog
- Removed tag at start of spec (since I don't use it)

* Thu Jan 25 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.5-9
- Added noreplace to config, as per rpmlint warning
- Removed a couple spaces which triggered spaces/tabs rpmlint warning
- Fixed project URL

* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.5-8
- Bump-n-build

* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org>	- 0.5-7
- Bump for FC6 rebuild

* Fri Aug 12 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-6
- Rebuild against libstatgrab 0.12

* Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-5
- Integrated Matthias changes, after his review

* Thu May 19 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4.2
- Specfile cleanup

* Fri Mar 25 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4.1
- Check with lint says: bwm-ng hardcoded-packager-tag Oliver: FIXED

* Wed Mar 16 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-4
- Fix, still build pre1 :-/

* Wed Mar 16 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-3
- Update to real 0.5, not only 0.5pre1

* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-2
- Make use of libstatgrab, by using it in the default config

* Tue Feb 15 2005 Oliver Falk <oliver@linux-kernel.at>		- 0.5-1
- Fix warnings spotted by rpmlint
- Update
- Update dependencies and add various configure switches, so this
  little thingy is no longer _little_ :-)

* Tue Oct 19 2004 Oliver Falk <oliver@linux-kernel.at>		- 0.4-pre1-1
- Initial package