]>
Commit | Line | Data |
---|---|---|
17a8d7f5 | 1 | Summary: Console interface bandwidth usage monitor |
0f7775a2 | 2 | Summary(pl.UTF-8): Konsolowy monitor użycia interfejsu sieciowego |
17a8d7f5 | 3 | Name: bmon |
f29cabac JR |
4 | Version: 3.6 |
5 | Release: 1 | |
17a8d7f5 | 6 | License: Artistic |
7 | Group: Applications/Networking | |
f29cabac JR |
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/ | |
e9f687c8 JW |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
f29cabac JR |
13 | BuildRequires: libconfuse-devel |
14 | BuildRequires: libnl-devel | |
17a8d7f5 | 15 | BuildRequires: ncurses-devel |
e0fb2847 | 16 | Conflicts: nstats |
17a8d7f5 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | bmon is an interface bandwidth monitor. | |
21 | ||
22 | It is able to generate and draw three types of diagrams: | |
fce7d8f3 | 23 | - The overview diagram which is a list of all interfaces and their |
24 | send/receive rates. | |
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, ... | |
17a8d7f5 | 29 | |
2d29b51a | 30 | %description -l pl.UTF-8 |
17a8d7f5 | 31 | bmon jest monitorem ruchu na interfejsach sieciowych. |
32 | ||
2d29b51a JR |
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 | |
fce7d8f3 | 37 | informacje o przesyle danych w postaci wykresu paskowego |
2d29b51a JR |
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... | |
17a8d7f5 | 41 | |
42 | %prep | |
f29cabac | 43 | %setup -q |
17a8d7f5 | 44 | |
45 | %build | |
f29cabac | 46 | %{__libtoolize} |
e9f687c8 JW |
47 | %{__aclocal} |
48 | %{__autoconf} | |
f29cabac | 49 | %{__automake} |
e9f687c8 | 50 | %{__autoheader} |
17a8d7f5 | 51 | %configure |
f29cabac | 52 | %{__make} V=1 |
17a8d7f5 | 53 | |
54 | %install | |
b91d68b3 | 55 | rm -rf $RPM_BUILD_ROOT |
7fac8f1c | 56 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
7fac8f1c | 57 | |
7fac8f1c JW |
58 | %{__make} install \ |
59 | DESTDIR=$RPM_BUILD_ROOT | |
17a8d7f5 | 60 | |
f29cabac JR |
61 | cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir} |
62 | ||
17a8d7f5 | 63 | %clean |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
7fac8f1c | 68 | %doc ChangeLog |
f29cabac | 69 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bmon.conf |
17a8d7f5 | 70 | %attr(755,root,root) %{_bindir}/* |
f29cabac | 71 | %{_mandir}/man8/* |