]> git.pld-linux.org Git - packages/cacti-plugin-syslog.git/blame - cacti-plugin-syslog.spec
- BR: unzip
[packages/cacti-plugin-syslog.git] / cacti-plugin-syslog.spec
CommitLineData
273e2375 1%define plugin syslog
de4a812a
MWP
2%include /usr/lib/rpm/macros.perl
3Summary: Plugin for Cacti - Syslog
888e19eb 4Summary(pl.UTF-8): Wtyczka do Cacti - Syslog
de4a812a 5Name: cacti-plugin-syslog
7447a98d
GS
6Version: 0.5.2
7Release: 1
de4a812a
MWP
8License: GPL v2
9Group: Applications/WWW
273e2375 10Source0: http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
7447a98d 11# Source0-md5: 1e2b1fc5b560452f937ccd0bca1af0a2
7ef2006a 12Patch0: %{name}-config.patch
de4a812a
MWP
13URL: http://www.cactiusers.org/
14BuildRequires: rpm-perlprov
03513736 15BuildRequires: unzip
de4a812a
MWP
16Requires: cacti
17BuildArch: noarch
18BuildRoot: %{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 24Plugin for Cacti - Syslog is a cacti integrated interface to a MySQL
548cd518 25database that can be used to log events from scripts, cacti or
de4a812a 26whatever.
548cd518 27
de4a812a 28It is the console component for a light weight monitoring addon for
273e2375
ER
29cacti. Because the database schema is based on syslog, it can be
30configured to use a syslog-ng or kiwi's syslogd for Windows database
31so events can be correlated.
de4a812a 32
a943f8f1 33%description -l pl.UTF-8
fe8b9a8f 34Wtyczka do Cacti - Syslog to zintegrowany interfejs cacti do bazy
a943f8f1 35danych MySQL, którego można używać do logowania zdarzeń ze skryptów,
548cd518
JB
36cacti czy czegokolwiek.
37
a943f8f1
JR
38Jest to składnik konsolowy będący lekkim dodatkiem do monitorowania
39dla cacti. Ponieważ schemat bazy danych jest oparty na syslogu, może
40być skonfigurowany do używania sysloga-ng lub syslogd z kiwi dla
41Windows, 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
48rm -rf $RPM_BUILD_ROOT
273e2375
ER
49install -d $RPM_BUILD_ROOT%{plugindir}
50cp -a . $RPM_BUILD_ROOT%{plugindir}
de4a812a
MWP
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
273e2375
ER
57%doc README LICENSE
58%{plugindir}
This page took 0.099866 seconds and 4 git commands to generate.