1 Summary: Console interface bandwidth usage monitor
2 Summary(pl.UTF-8): Konsolowy monitor użycia interfejsu sieciowego
7 Group: Applications/Networking
8 Source0: https://github.com/tgraf/bmon/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
9 # Source0-md5: 954afe2cedd8f972fc3903c10772a017
10 URL: https://github.com/tgraf/bmon/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libconfuse-devel
14 BuildRequires: libnl-devel >= 3.0
15 BuildRequires: ncurses-devel
16 BuildRequires: pkgconfig
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 bmon is an interface bandwidth monitor.
23 It is able to generate and draw three types of diagrams:
24 - The overview diagram which is a list of all interfaces and their
26 - A very MRTG like graphical diagram in ASCII showing the rate over a
27 specific time period in a bar diagram.
28 - The details diagram which contains all counters of an interface such
29 as total bytes sent/received, errors, compressed packets, ...
31 %description -l pl.UTF-8
32 bmon jest monitorem ruchu na interfejsach sieciowych.
34 Pozwala on na generowanie i rysowanie trzech typów diagramów:
35 - Diagram ogólny który wyświetla wszystkie interfejsy sieciowe i
36 informacje o aktualnym zużyciu przepustowości
37 - Diagram ASCII podobny do generowanego przez MRTG, pokazujący
38 informacje o przesyle danych w postaci wykresu paskowego
39 - Diagram szczegółowy który zawiera wszystkie liczniki danego
40 interfejsu, takie jak całkowita liczba bajtów odebranych/wysłanych,
41 błędy, skompresowane pakiety...
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_sysconfdir}
60 DESTDIR=$RPM_BUILD_ROOT
62 %{__rm} $RPM_BUILD_ROOT%{_docdir}/bmon/examples/bmon.conf
64 cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc NEWS examples/bmon.conf
72 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bmon.conf
73 %attr(755,root,root) %{_bindir}/*