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