- new auto/ac/bwm-ng-0_4-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 20 Dec 2004 19:05:30 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bwm-ng.spec -> 1.1

bwm-ng.spec [new file with mode: 0644]

diff --git a/bwm-ng.spec b/bwm-ng.spec
new file mode 100644 (file)
index 0000000..71f5cdf
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       Bandwidth monitor - display bandwidth usage on all interfaces
+Summary(pl):   Bandwidth monitor - wy¶wietlanie obci±¿enia na interfejsach
+Name:          bwm-ng
+Version:       0.4
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       http://www.gropp.org/%{name}-%{version}.tar.gz
+# Source0-md5: 4fc0839ae212bc0b805fc4adeb55a3ac
+URL:           http://www.gropp.org/
+BuildRequires: libstatgrab-devel
+BuildRequires: ncurses-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bandwidth Monitor NG is a small and simple console-based bandwidth
+monitor for Linux, BSD, and Mac OS X, or other systems with either
+/proc/net/dev, netstat (Linux and BSD), getifaddrs, sysctl, or
+libstatgrab. You can choose whether to show all interfaces or only
+those interfaces that are up. Output is possible as plain console,
+curses, CSV, or HTML. Unlimited interfaces are supported and will be
+added dynamically while running.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} \
+       CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
+install bwm-ng $RPM_BUILD_ROOT%{_bindir}
+install bwm-ng.conf-example $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README changelog
+%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/*
This page took 0.035335 seconds and 4 git commands to generate.