]> git.pld-linux.org Git - SPECS.git/blob - cacti-plugin-nectar.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / cacti-plugin-nectar.spec
1 %define         plugin  nectar
2 %define         php_min_version 5.2.0
3 Summary:        Plugin for Cacti - Send Graphs and Text to given mail address(es)
4 Name:           cacti-plugin-%{plugin}
5 Version:        0.35a
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}.tgz
10 # Source0-md5:  f9e9e706141ac0965574a1ebab4f3d07
11 URL:            http://docs.cacti.net/plugin:nectar
12 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
13 BuildRequires:  rpmbuild(macros) >= 1.554
14 Requires:       cacti
15 Requires:       cacti(pia) >= 2.9
16 Requires:       php(core) >= %{php_min_version}
17 Requires:       php(date)
18 Requires:       php(gd)
19 Requires:       php(mysql)
20 Requires:       php(pcre)
21 Requires:       php(session)
22 Obsoletes:      cacti-plugin-reports
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         cactidir                /usr/share/cacti
27 %define         plugindir               %{cactidir}/plugins/%{plugin}
28
29 %description
30 This plugin allows you to email graphs on a given and selectable
31 interval
32
33 Features:
34 - allow both users and admins to create reports
35 - include tree's, text, horizontal rules, and graphs into reports
36 - allows filtering of tree and host content on trees by regular
37   expression
38 - allow basic formmatting
39 - allow custom css and html to be integrated into the reports
40 - specify different timespans for graphs
41 - schedule reports using different scheduling intervals
42 - basic png2jpeg conversion using php-gd, verified with Linux only
43
44 %prep
45 %setup -qc
46 mv %{plugin}/{LICENSE,README} .
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{plugindir}
51 cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc LICENSE README
59 %{plugindir}
This page took 0.057412 seconds and 3 git commands to generate.