]> git.pld-linux.org Git - packages/bmon.git/blob - bmon.spec
- adapterized
[packages/bmon.git] / bmon.spec
1 Summary:        Console interface bandwidth usage monitor
2 Summary(pl):    Konsolowy monitor u¿ycia interfejsu sieciowego
3 Name:           bmon
4 Version:        2.0.1
5 Release:        1
6 License:        Artistic
7 Group:          Applications/Networking
8 Source0:        http://people.suug.ch/~tgr/bmon/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  d0da9d05f18c82a621171985d536dec7
10 URL:            http://people.suug.ch/~tgr/bmon/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  ncurses-devel
15 Conflicts:      nstats
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 bmon is an interface bandwidth monitor.
20
21 It is able to generate and draw three types of diagrams:
22 - The overview diagram which is a list of all interfaces and their
23   send/receive rates.
24 - A very MRTG like graphical diagram in ASCII showing the rate over a
25   specific time period in a bar diagram.
26 - The details diagram which contains all counters of an interface such
27   as total bytes sent/received, errors, compressed packets, ...
28
29 %description -l pl
30 bmon jest monitorem ruchu na interfejsach sieciowych.
31
32 Pozwala on na generowanie i rysowanie trzech typów diagramów:
33 - Diagram ogólny który wy¶wietla wszystkie interfejsy sieciowe i
34   informacje o aktualnym zu¿yciu przepustowo¶ci
35 - Diagram ASCII podobny do generowanego przez MRTG, pokazuj±cy
36   informacje o przesyle danych w postaci wykresu paskowego
37 - Diagram szczegó³owy który zawiera wszystkie liczniki danego
38   interfejsu, takie jak ca³kowita liczba bajtów odebranych/wys³anych,
39   b³êdy, skompresowane pakiety...
40
41 %package devel
42 Summary:        Header files for bmon
43 Summary(pl):    Pliki nag³ówkowe dla bmon
44 Group:          Development/Libraries
45
46 %description devel
47 Header files neccesary to develop bmon applications.
48
49 %description devel -l pl
50 Pliki nag³ówkowe niezbêdne do tworzenia aplikacji korzystaj±cych z
51 bmon.
52
53
54 %prep
55 %setup -q
56
57 %build
58 %{__gettextize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_sysconfdir}
68 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
69 install etc/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
70 install include/%{name}/* $RPM_BUILD_ROOT%{_includedir}/%{name}/
71
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc ChangeLog
82 %attr(755,root,root) %{_bindir}/*
83 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
84 %{_mandir}/man1/*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %{_includedir}/*
This page took 0.057457 seconds and 3 git commands to generate.