]> git.pld-linux.org Git - packages/cacti-plugin-syslog.git/blob - cacti-plugin-syslog.spec
- init
[packages/cacti-plugin-syslog.git] / cacti-plugin-syslog.spec
1 %define         namesrc haloe
2 %include        /usr/lib/rpm/macros.perl
3 Summary:        Plugin for Cacti - Syslog
4 Summary(pl):    Wtyczka do Cacti - Syslog
5 Name:           cacti-plugin-syslog
6 Version:        0.1b
7 Release:        0.1
8 License:        GPL v2
9 Group:          Applications/WWW
10 #!!!!problem with version
11 Source0:        http://download.cactiusers.org/downloads/%{namesrc}.tar.gz
12 # Source0-md5:  39eac8ae4b65b752d2991cbabbb3e58a
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
22 Plugin for Cacti - h.aloe is a cacti integrated interface to a mysql 
23 database that can be used to log events from scripts, cacti or 
24 whatever.
25 It is the console component for a light weight monitoring addon for
26 cacti. Because the database schema is based on syslog,
27 it can be configured to use a syslog-ng or kiwi's syslogd for windows
28 database so events can be correlated.
29
30 %description -l pl
31 Wtyczka do Cacti - 
32
33 %prep
34 %setup -q -n %{namesrc}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
39 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
40 #look this
41 rm -r $RPM_BUILD_ROOT%{webcactipluginroot}/temp
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc readme-haloe.txt
49 %{webcactipluginroot}
This page took 0.222625 seconds and 3 git commands to generate.