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