]>
Commit | Line | Data |
---|---|---|
fe8b9a8f | 1 | %define namesrc syslog |
de4a812a MWP |
2 | %include /usr/lib/rpm/macros.perl |
3 | Summary: Plugin for Cacti - Syslog | |
888e19eb | 4 | Summary(pl.UTF-8): Wtyczka do Cacti - Syslog |
de4a812a | 5 | Name: cacti-plugin-syslog |
fe8b9a8f | 6 | Version: 0.5.1 |
290eb3f1 | 7 | Release: 2 |
de4a812a MWP |
8 | License: GPL v2 |
9 | Group: Applications/WWW | |
10 | #!!!!problem with version | |
fe8b9a8f MWP |
11 | Source0: http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip |
12 | # Source0-md5: 85f438603c0dcab50b55322374ec26c4 | |
de4a812a MWP |
13 | URL: http://www.cactiusers.org/ |
14 | BuildRequires: rpm-perlprov | |
15 | Requires: cacti | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} | |
20 | ||
21 | %description | |
fe8b9a8f | 22 | Plugin for Cacti - Syslog is a cacti integrated interface to a MySQL |
548cd518 | 23 | database that can be used to log events from scripts, cacti or |
de4a812a | 24 | whatever. |
548cd518 | 25 | |
de4a812a MWP |
26 | It is the console component for a light weight monitoring addon for |
27 | cacti. Because the database schema is based on syslog, | |
548cd518 | 28 | it can be configured to use a syslog-ng or kiwi's syslogd for Windows |
de4a812a MWP |
29 | database so events can be correlated. |
30 | ||
a943f8f1 | 31 | %description -l pl.UTF-8 |
fe8b9a8f | 32 | Wtyczka do Cacti - Syslog to zintegrowany interfejs cacti do bazy |
a943f8f1 | 33 | danych MySQL, którego można używać do logowania zdarzeń ze skryptów, |
548cd518 JB |
34 | cacti czy czegokolwiek. |
35 | ||
a943f8f1 JR |
36 | Jest to składnik konsolowy będący lekkim dodatkiem do monitorowania |
37 | dla cacti. Ponieważ schemat bazy danych jest oparty na syslogu, może | |
38 | być skonfigurowany do używania sysloga-ng lub syslogd z kiwi dla | |
39 | Windows, przez co zdarzenia mogą być skorelowane. | |
de4a812a MWP |
40 | |
41 | %prep | |
fe8b9a8f | 42 | %setup -q -c |
de4a812a MWP |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
47 | cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} | |
de4a812a MWP |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
290eb3f1 | 54 | %doc README LICENSE |
de4a812a | 55 | %{webcactipluginroot} |