]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
disable silent rules
[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:        3.6
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:  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
16 Conflicts:      nstats
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:
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, ...
29
30 %description -l pl.UTF-8
31 bmon jest monitorem ruchu na interfejsach sieciowych.
32
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...
41
42 %prep
43 %setup -q
44
45 %build
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %{__autoheader}
51 %configure
52 %{__make} V=1
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_sysconfdir}
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 cp -p examples/bmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bmon.conf
70 %attr(755,root,root) %{_bindir}/*
71 %{_mandir}/man8/*
This page took 0.084443 seconds and 3 git commands to generate.