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