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: a78c2c75b194840036703907efd39e89
10 URL: https://github.com/tgraf/bmon/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libconfuse-devel
14 BuildRequires: libnl-devel
15 BuildRequires: ncurses-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 bmon is an interface bandwidth monitor.
22 It is able to generate and draw three types of diagrams:
23 - The overview diagram which is a list of all interfaces and their
25 - A very MRTG like graphical diagram in ASCII showing the rate over a
26 specific time period in a bar diagram.
27 - The details diagram which contains all counters of an interface such
28 as total bytes sent/received, errors, compressed packets, ...
30 %description -l pl.UTF-8
31 bmon jest monitorem ruchu na interfejsach sieciowych.
33 Pozwala on na generowanie i rysowanie trzech typów diagramów:
34 - Diagram ogólny który wyświetla wszystkie interfejsy sieciowe i
35 informacje o aktualnym zużyciu przepustowości
36 - Diagram ASCII podobny do generowanego przez MRTG, pokazujący
37 informacje o przesyle danych w postaci wykresu paskowego
38 - Diagram szczegółowy który zawiera wszystkie liczniki danego
39 interfejsu, takie jak całkowita liczba bajtów odebranych/wysłanych,
40 błędy, skompresowane pakiety...
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_sysconfdir}
59 DESTDIR=$RPM_BUILD_ROOT
61 cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bmon.conf
70 %attr(755,root,root) %{_bindir}/*