-%define namesrc configmanager
+%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 -
+#Summary(pl.UTF-8): Wtyczka do Cacti -
Name: cacti-plugin-configmanager
Version: 0.75
Release: 0.1
%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.
+
There is two method "TFTP" and "multi".
-- "TFTP" (based of "pancho" www.pancho.org) with option "pure PHP" no
+- "TFTP" (based of "pancho" <www.pancho.org>) with option "pure PHP" no
need of pancho installation.
- "multi" can use any scripts or SCP, FTP, SFTP or what you want.
+
The syslog plugin and traps could active the download of the pancho
config or script for the host which has received a specific event and
which the "trap event flag" is active.
-%description -l pl.UTF-8
-Wtyczka do Cacti -
+#%description -l pl.UTF-8
+#Wtyczka do Cacti -
%prep
%setup -q -c -a1
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{webcactipluginroot}
-cd %{namesrc}%{version}
-cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+cd %{namesrc}%{version}
+cp -a * $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}
+%doc %{namesrc}%{version}/{Manual.txt,template.txt,configmanager_trap_list.txt}
%{webcactipluginroot}