SPECS: cacti-plugin-configmanager.spec (NEW) - init

wolvverine wolvverine at pld-linux.org
Wed Dec 26 06:36:08 CET 2007


Author: wolvverine                   Date: Wed Dec 26 05:36:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

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

---- Diffs:

================================================================
Index: SPECS/cacti-plugin-configmanager.spec
diff -u /dev/null SPECS/cacti-plugin-configmanager.spec:1.1
--- /dev/null	Wed Dec 26 06:36:08 2007
+++ SPECS/cacti-plugin-configmanager.spec	Wed Dec 26 06:36:03 2007
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%define		namesrc	configmanager	
+%include	/usr/lib/rpm/macros.perl
+Summary:	Plugin for Cacti - for download/upload routers switches configuration
+Summary(pl.UTF-8):	Wtyczka do Cacti - 
+Name:		cacti-plugin-configmanager
+Version:	0.75
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	%{namesrc}%{version}.zip
+# Source0-md5:	b84133d0eb4b77cfa5159c414ea1f344
+Source1:	sharednetworkclass0.36.zip
+# Source1-md5:	bd899585510bff2aefbd892b00253a91
+URL:		http://forums.cacti.net/about12406.html
+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 - configmanager
+With this plugin you can easily schedule the download/upload of the
+configuration of your routers, switches and any devices (or change in
+one click some parameters of hundert of switches ... dangerous but
+possible now). It should function for all type of router or switches. 
+
+%description -l pl.UTF-8
+Wtyczka do Cacti - 
+
+%prep
+%setup -q -c -a1
+
+# undos the source
+find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{webcactipluginroot}
+
+cd %{namesrc}%{version} 
+cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{namesrc}%{version}/{Manual.txt,template.txt,configmanager_trap_list.txt} 
+%{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  2007-12-26 05:36:03  wolvverine
+- init
+
+
================================================================


More information about the pld-cvs-commit mailing list