packages: cacti-plugin-discovery/cacti-plugin-discovery.spec - up to 1.3, a...

glen glen at pld-linux.org
Fri Oct 28 09:36:23 CEST 2011


Author: glen                         Date: Fri Oct 28 07:36:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.3, added deps

---- Files affected:
packages/cacti-plugin-discovery:
   cacti-plugin-discovery.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/cacti-plugin-discovery/cacti-plugin-discovery.spec
diff -u packages/cacti-plugin-discovery/cacti-plugin-discovery.spec:1.15 packages/cacti-plugin-discovery/cacti-plugin-discovery.spec:1.16
--- packages/cacti-plugin-discovery/cacti-plugin-discovery.spec:1.15	Sun May 16 16:13:35 2010
+++ packages/cacti-plugin-discovery/cacti-plugin-discovery.spec	Fri Oct 28 09:36:18 2011
@@ -1,19 +1,24 @@
 # $Revision$, $Date$
 %define		plugin discovery
-%include	/usr/lib/rpm/macros.perl
+%define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
 Summary:	Plugin for Cacti - Discovery
 Summary(pl.UTF-8):	Wtyczka do Cacti - Discovery
-Name:		cacti-plugin-discovery
-Version:	0.8.4
+Name:		cacti-plugin-%{plugin}
+Version:	1.3
 Release:	1
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://mirror.cactiusers.org/downloads/plugins/%{plugin}-%{version}.zip
-# Source0-md5:	abefb45b806d0bc0074b6d9516a940a4
-URL:		http://www.cactiusers.org/
-BuildRequires:	rpm-perlprov
-BuildRequires:	unzip
+Source0:	http://docs.cacti.net/_media/plugin:%{plugin}-v%{version}-1.tgz
+# Source0-md5:	9e157b25abdf70c37243c4c29ca4c123
+URL:		http://docs.cacti.net/plugin:discovery
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 Requires:	cacti
+Requires:	cacti(pia) >= 2.8
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-date
+Requires:	php-mysql
+Requires:	php-pcre
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,9 +26,8 @@
 %define		plugindir		%{cactidir}/plugins/%{plugin}
 
 %description
-Plugin for Cacti - This plugin adds the ability to auto-discover
-devices on a subnet that are not monitored by Cacti and and tells you
-if they are SNMP enabled.
+This plugin adds the ability to auto-discover devices on a subnet that
+are not monitored by Cacti and and tells you if they are SNMP enabled.
 
 %description -l pl.UTF-8
 Wtyczka do Cacti dodająca możliwość automatycznego wykrywania urządzeń
@@ -31,12 +35,13 @@
 urządzenia mają włączone SNMP.
 
 %prep
-%setup -q -c
+%setup -qc
+mv %{plugin}/{LICENSE,README} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
-cp -a . $RPM_BUILD_ROOT%{plugindir}
+cp -a %{plugin}/* $RPM_BUILD_ROOT%{plugindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2011/10/28 07:36:18  glen
+- up to 1.3, added deps
+
 Revision 1.15  2010/05/16 14:13:35  sparky
 - BR: unzip
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-plugin-discovery/cacti-plugin-discovery.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list