[packages/cacti-plugin-nectar] reports plugin renamed to nectar; version 0.35a
glen
glen at pld-linux.org
Thu Nov 22 21:30:35 CET 2012
commit 4b944e1a5566280b9fe99dd1186cd6af161b3a51
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Nov 22 22:30:02 2012 +0200
reports plugin renamed to nectar; version 0.35a
cacti-plugin-nectar.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++
cacti-plugin-reports.spec | 50 ---------------------------------------
2 files changed, 60 insertions(+), 50 deletions(-)
---
diff --git a/cacti-plugin-nectar.spec b/cacti-plugin-nectar.spec
new file mode 100644
index 0000000..b084b01
--- /dev/null
+++ b/cacti-plugin-nectar.spec
@@ -0,0 +1,60 @@
+%define plugin nectar
+%define php_min_version 5.2.0
+%include /usr/lib/rpm/macros.php
+Summary: Plugin for Cacti - Send Graphs and Text to given mail address(es)
+Name: cacti-plugin-%{plugin}
+Version: 0.35a
+Release: 1
+License: GPL v2
+Group: Applications/WWW
+Source0: http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}.tgz
+# Source0-md5: f9e9e706141ac0965574a1ebab4f3d07
+URL: http://docs.cacti.net/plugin:nectar
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.554
+Requires: cacti
+Requires: cacti(pia) >= 2.9
+Requires: php-common >= 4:%{php_min_version}
+Requires: php-date
+Requires: php-gd
+Requires: php-mysql
+Requires: php-pcre
+Requires: php-session
+Obsoletes: cacti-plugin-reports
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define cactidir /usr/share/cacti
+%define plugindir %{cactidir}/plugins/%{plugin}
+
+%description
+This plugin allows you to email graphs on a given and selectable
+interval
+
+Features:
+- allow both users and admins to create reports
+- include tree's, text, horizontal rules, and graphs into reports
+- allows filtering of tree and host content on trees by regular
+ expression
+- allow basic formmatting
+- allow custom css and html to be integrated into the reports
+- specify different timespans for graphs
+- schedule reports using different scheduling intervals
+- basic png2jpeg conversion using php-gd, verified with Linux only
+
+%prep
+%setup -qc
+mv %{plugin}/{LICENSE,README} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README
+%{plugindir}
diff --git a/cacti-plugin-reports.spec b/cacti-plugin-reports.spec
deleted file mode 100644
index e4ee794..0000000
--- a/cacti-plugin-reports.spec
+++ /dev/null
@@ -1,50 +0,0 @@
-%define plugin reports
-%include /usr/lib/rpm/macros.perl
-Summary: Plugin for Cacti - Reports
-Summary(pl.UTF-8): Wtyczka do Cacti - Reports
-Name: cacti-plugin-reports
-Version: 0.3a
-Release: 0.1
-License: GPL v2
-Group: Applications/WWW
-Source0: %{plugin}-%{version}.zip
-# Source0-md5: ccd09c76b80c2346d86a739ee1cc2794
-URL: http://www.cactiusers.org/forums
-BuildRequires: rpm-perlprov
-BuildRequires: unzip
-Requires: cacti
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define cactidir /usr/share/cacti
-%define plugindir %{cactidir}/plugins/%{plugin}
-
-%description
-Plugin for Cacti - allows you to send graphs that you specify to users
-that you specify at a specified time. A simple wizard guides you
-through the whole process. Currently works, but lacks a little polish
-and some much needed options.
-
-%description -l pl.UTF-8
-Wtyczka do Cacti pozwalająca wysyłać określone wykresy do określonych
-użytkowników o określonym czasie. Prosty wizard prowadzi przez cały
-proces konfiguracji. Aktualnie działa, ale wymaga jeszcze dopracowania
-i dodania kilku najbardziej potrzebnych opcji.
-
-%prep
-%setup -q -n %{plugin}
-
-%build
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{plugindir}
-cp -a . $RPM_BUILD_ROOT%{plugindir}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc LICENSE README reports.txt
-%{plugindir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti-plugin-nectar.git/commitdiff/4b944e1a5566280b9fe99dd1186cd6af161b3a51
More information about the pld-cvs-commit
mailing list