]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
update deps
[packages/bmon.git] / bmon.spec
1 Summary:        Console interface bandwidth usage monitor
2 Summary(pl.UTF-8):      Konsolowy monitor użycia interfejsu sieciowego
3 Name:           bmon
4 Version:        4.0
5 Release:        1
6 License:        Artistic
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
17 Conflicts:      nstats
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 bmon is an interface bandwidth monitor.
22
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
25   send/receive rates.
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, ...
30
31 %description -l pl.UTF-8
32 bmon jest monitorem ruchu na interfejsach sieciowych.
33
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...
42
43 %prep
44 %setup -q
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %{__autoheader}
52 %configure
53 %{__make} V=1
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_sysconfdir}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %{__rm} $RPM_BUILD_ROOT%{_docdir}/bmon/examples/bmon.conf
63
64 cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
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}/*
74 %{_mandir}/man8/*
This page took 0.083891 seconds and 4 git commands to generate.