]> git.pld-linux.org Git - packages/cimon.git/blob - cimon.spec
- avoid defining default %attr
[packages/cimon.git] / cimon.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Monitors CPU and memory usage on Cisco routers
3 Summary(pl):    Monitorowanie zu¿ycia procesora i pamiêci w routerach Cisco
4 Name:           cimon
5 Version:        0.3
6 Release:        0.1
7 License:        BSD
8 Group:          Applications/System
9 Source0:        http://rousse.pm.org/cimon/%{name}-%{version}.tar.gz
10 # Source0-md5:  841eb90c00d45d30d40ca5df6af30eba
11 URL:            http://rousse.pm.org/cimon/
12 BuildRequires:  rpm-perlprov
13 Requires:       rrdtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Cimon is Perl program which monitors the load (memory and CPU) on
18 Cisco routers using SNMP, and generates graphics with statistics using
19 rrdtool. It's a good source for information about your router's
20 health. It also has the ability to make IP accounting via Cisco IP
21 accounting features. It creates rrd graphics with the bandwidth usage
22 and traffic logfiles. The logfiles are the same as these produced by
23 sasacct so you can use it for date-to-date statistics and on-the-fly
24 graphic generation.
25
26 %description -l pl
27 Cimon to napisany w Perlu program monitoruj±cy obci±¿enie (pamiêci i
28 procesora) w routerach Cisco przy u¿yciu SNMP i generuj±cy wykresy ze
29 statystykami przy u¿yciu rrdtool. Jest to dobre ¼ród³o informacji o
30 stanie urz±dzenia. Ma tak¿e mo¿liwo¶æ tworzenia accountingu IP poprzez
31 mo¿liwo¶ci Cisco. Tworzy wykresy rrd z wykorzystaniem pasma i logami
32 ruchu. Logi ruchu s± te same, co produkowane przez sasacct, wiêc mo¿na
33 u¿ywaæ ich do statystyk w przedzia³ach czasu oraz do generowania
34 wykresów w locie.
35
36 %prep
37 %setup -q
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
42
43 install %{name}.plx $RPM_BUILD_ROOT%{_bindir}
44 install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc CHANGES INSTALL README TODO
52 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
53 %attr(755,root,root) %{_bindir}/*
This page took 0.078536 seconds and 4 git commands to generate.