SPECS: cacti-plugin-discovery.spec (NEW) - init spec - ready to use

wolvverine wolvverine at pld-linux.org
Thu Feb 2 02:53:05 CET 2006


Author: wolvverine                   Date: Thu Feb  2 01:53:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init spec
- ready to use

---- Files affected:
SPECS:
   cacti-plugin-discovery.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/cacti-plugin-discovery.spec
diff -u /dev/null SPECS/cacti-plugin-discovery.spec:1.1
--- /dev/null	Thu Feb  2 02:53:05 2006
+++ SPECS/cacti-plugin-discovery.spec	Thu Feb  2 02:52:59 2006
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		namesrc	discovery
+%include	/usr/lib/rpm/macros.perl
+Summary:	Plugin for Cacti - Discovery
+Summary(pl):	Wtyczka do Cacti - Discovery
+Name:		cacti-plugin-discovery
+Version:	0.1b
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+#!!!!problem with version
+Source0:	http://download.cactiusers.org/downloads/%{namesrc}.tar.gz
+# Source0-md5:	30a026a4c4537ee90ed55aa25b98415b
+URL:		http://www.cactiusers.org/
+#BuildRequires:	rpm-perlprov
+Requires:	cacti
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
+
+%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.
+
+%description -l pl
+Wtyczka do Cacti - 
+
+%prep
+%setup -q -n %{namesrc}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{webcactipluginroot}
+cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{webcactipluginroot}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/02/02 01:52:59  wolvverine
+- init spec
+- ready to use
+
+
================================================================


More information about the pld-cvs-commit mailing list