From b247a7846e710407ed272addba60cc005e6918a0 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Thu, 14 Jul 2005 07:58:00 +0000 Subject: auto-import bwm-ng-0.5-5 on branch devel from bwm-ng-0.5-5.src.rpm --- .cvsignore | 1 + bwm-ng.conf | 4 +++ bwm-ng.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 89 insertions(+) create mode 100644 bwm-ng.conf create mode 100644 bwm-ng.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b2d8edc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bwm-ng-0.5.tar.gz diff --git a/bwm-ng.conf b/bwm-ng.conf new file mode 100644 index 0000000..f4412aa --- /dev/null +++ b/bwm-ng.conf @@ -0,0 +1,4 @@ +DYNAMIC=1 +PACKETS=0 +INPUT=libstatgrab +OUTPUT=curses diff --git a/bwm-ng.spec b/bwm-ng.spec new file mode 100644 index 0000000..776d835 --- /dev/null +++ b/bwm-ng.spec @@ -0,0 +1,83 @@ +# $Id: bwm-ng.spec,v 1.1 2005/07/14 07:58:00 oliver Exp $ + +Summary: Bandwidth Monitor NG +Name: bwm-ng + +Version: 0.5 +Release: 5%{?dist} + +License: GPL +Group: Applications/System +URL: http://www.volker-gropp.de/ + +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, libstatgrab-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 \ + --with-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 %{_sysconfdir}/bwm-ng.conf +%{_bindir}/bwm-ng +%{_mandir}/man1/bwm-ng.1* + +%changelog +* Thu Jul 14 2005 Oliver Falk - 0.5-5 +- Integrated Matthias changes, after his review + +* Thu May 19 2005 Oliver Falk - 0.5-4.2 +- Specfile cleanup + +* Fri Mar 25 2005 Oliver Falk - 0.5-4.1 +- Check with lint says: bwm-ng hardcoded-packager-tag Oliver: FIXED + +* Wed Mar 16 2005 Oliver Falk - 0.5-4 +- Fix, still build pre1 :-/ + +* Wed Mar 16 2005 Oliver Falk - 0.5-3 +- Update to real 0.5, not only 0.5pre1 + +* Tue Feb 15 2005 Oliver Falk - 0.5-2 +- Make use of libstatgrab, by using it in the default config + +* Tue Feb 15 2005 Oliver Falk - 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 - 0.4-pre1-1 +- Initial package + diff --git a/sources b/sources index e69de29..8dc834f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4c5197527c985dc8b45973dfd00deca0 bwm-ng-0.5.tar.gz -- cgit