]> git.pld-linux.org Git - packages/bmon.git/blame - bmon.spec
- updated to 3.6
[packages/bmon.git] / bmon.spec
CommitLineData
17a8d7f5 1Summary: Console interface bandwidth usage monitor
0f7775a2 2Summary(pl.UTF-8): Konsolowy monitor użycia interfejsu sieciowego
17a8d7f5 3Name: bmon
f29cabac
JR
4Version: 3.6
5Release: 1
17a8d7f5 6License: Artistic
7Group: Applications/Networking
f29cabac
JR
8Source0: https://github.com/tgraf/bmon/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
9# Source0-md5: a78c2c75b194840036703907efd39e89
10URL: https://github.com/tgraf/bmon/
e9f687c8
JW
11BuildRequires: autoconf
12BuildRequires: automake
f29cabac
JR
13BuildRequires: libconfuse-devel
14BuildRequires: libnl-devel
17a8d7f5 15BuildRequires: ncurses-devel
e0fb2847 16Conflicts: nstats
17a8d7f5 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20bmon is an interface bandwidth monitor.
21
22It 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 31bmon jest monitorem ruchu na interfejsach sieciowych.
32
2d29b51a
JR
33Pozwala 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 55rm -rf $RPM_BUILD_ROOT
7fac8f1c 56install -d $RPM_BUILD_ROOT%{_sysconfdir}
7fac8f1c 57
7fac8f1c
JW
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
17a8d7f5 60
f29cabac
JR
61cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
62
17a8d7f5 63%clean
64rm -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/*
This page took 0.147234 seconds and 4 git commands to generate.