[packages/cacti-plugin-aggregate] new package

jajcus jajcus at pld-linux.org
Fri Dec 21 20:12:09 CET 2012


commit 649570ef05b0a4c46ce0f543dc63547dccb07137
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Fri Dec 21 20:11:53 2012 +0100

    new package

 cacti-plugin-aggregate.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/cacti-plugin-aggregate.spec b/cacti-plugin-aggregate.spec
new file mode 100644
index 0000000..785a7ac
--- /dev/null
+++ b/cacti-plugin-aggregate.spec
@@ -0,0 +1,42 @@
+%define		plugin	aggregate
+%define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
+Summary:	Cacti plugin to aggregate graphs from Graph Management
+Name:		cacti-plugin-%{plugin}
+Version:	0.75
+Release:	1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}.tgz
+# Source0-md5:	cac76371acc48a0752ae1ab5044a50bf
+URL:		http://docs.cacti.net/plugin:aggregate
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.554
+Requires:	cacti
+Requires:	cacti(pia) >= 2.8
+Requires:	php(core) >= %{php_min_version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		cactidir		/usr/share/cacti
+%define		plugindir		%{cactidir}/plugins/%{plugin}
+
+%description
+This plugin aggregates graphs from Graph Management.
+
+%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 README
+%{plugindir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti-plugin-aggregate.git/commitdiff/649570ef05b0a4c46ce0f543dc63547dccb07137



More information about the pld-cvs-commit mailing list