]> git.pld-linux.org Git - packages/bwm-ng.git/blame - bwm-ng.spec
- md5
[packages/bwm-ng.git] / bwm-ng.spec
CommitLineData
491263f5 1Summary: Bandwidth monitor - display bandwidth usage on all interfaces
b2907d86 2Summary(pl.UTF-8): Bandwidth monitor - wyświetlanie obciążenia na interfejsach
491263f5 3Name: bwm-ng
5d1e04ef
AM
4Version: 0.6.1
5Release: 1
491263f5
AG
6License: GPL
7Group: Networking/Utilities
b3daaa4a 8Source0: http://www.gropp.org/bwm-ng/%{name}-%{version}.tar.gz
4e57e365 9# Source0-md5: ef0c7669508e95f56250ad4f8db98b7f
e22fa13d 10Patch0: %{name}-procfile.patch
491263f5 11URL: http://www.gropp.org/
044ca71c
JB
12BuildRequires: autoconf
13BuildRequires: automake
5d1e04ef 14BuildRequires: libstatgrab-devel >= 0.91
491263f5
AG
15BuildRequires: ncurses-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Bandwidth Monitor NG is a small and simple console-based bandwidth
20monitor for Linux, BSD, and Mac OS X, or other systems with either
21/proc/net/dev, netstat (Linux and BSD), getifaddrs, sysctl, or
22libstatgrab. You can choose whether to show all interfaces or only
23those interfaces that are up. Output is possible as plain console,
24curses, CSV, or HTML. Unlimited interfaces are supported and will be
25added dynamically while running.
26
c23ce042
JR
27%description -l pl.UTF-8
28Bandwidth Monitor NG to mały i prosty działający na terminalu
d562880d 29tekstowym monitor wykorzystania pasma dla Linuksa, BSD i Mac OS X lub
c23ce042
JR
30innych systemów z interfejsem /proc/net/dev, netstat, getifaddrs,
31sysctl lub libstatgrab. Można wybrać, czy mają być pokazywane
32wszystkie interfejsy, czy tylko aktualnie włączone. Obsługiwane jest
33wyjście na zwykłą konsolę, przez curses, w CSV lub w HTML-u.
34Obsługiwana jest nieograniczona liczba interfejsów, będą one dodawane
35dynamicznie w trakcie działania programu.
d562880d 36
491263f5
AG
37%prep
38%setup -q
e22fa13d 39%patch0 -p1
491263f5
AG
40
41%build
13eebd25
TP
42%{__aclocal}
43%{__autoconf}
44%{__autoheader}
45%{__automake}
491263f5
AG
46%configure
47%{__make} \
48 CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
49
50%install
51rm -rf $RPM_BUILD_ROOT
8cfa90a9 52install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
b3daaa4a 53
8cfa90a9 54install src/bwm-ng $RPM_BUILD_ROOT%{_bindir}
491263f5 55install bwm-ng.conf-example $RPM_BUILD_ROOT%{_sysconfdir}/bwm-ng.conf
8cfa90a9 56install bwm-ng.1 $RPM_BUILD_ROOT%{_mandir}/man1
491263f5
AG
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
13eebd25 63%doc AUTHORS ChangeLog NEWS README THANKS bwm-ng.css
491263f5 64%attr(755,root,root) %{_bindir}/*
d562880d 65%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwm-ng.conf
8cfa90a9 66%{_mandir}/man1/*
This page took 0.082855 seconds and 4 git commands to generate.