f1a1bbc
# $Id: bwm-ng.spec,v 1.4 2006/10/04 20:01:02 jima Exp $
b247a78
b247a78
Summary:		Bandwidth Monitor NG
b247a78
Name:			bwm-ng
b247a78
b247a78
Version:		0.5
f1a1bbc
Release:		8%{?dist}
b247a78
b247a78
License:		GPL
b247a78
Group:			Applications/System
b247a78
URL:			http://www.volker-gropp.de/
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
b247a78
BuildRequires:	ncurses-devel, libstatgrab-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 \
b247a78
			--with-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
b247a78
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
b247a78
%doc AUTHORS README changelog bwm-ng.conf-example bwm-ng.css
b247a78
%config %{_sysconfdir}/bwm-ng.conf
b247a78
%{_bindir}/bwm-ng
b247a78
%{_mandir}/man1/bwm-ng.1*
b247a78
b247a78
%changelog
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