SPECS: cacti-addons.spec - add %post

wolvverine wolvverine at pld-linux.org
Sun Dec 16 20:38:33 CET 2007


Author: wolvverine                   Date: Sun Dec 16 19:38:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add %post

---- Files affected:
SPECS:
   cacti-addons.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/cacti-addons.spec
diff -u SPECS/cacti-addons.spec:1.5 SPECS/cacti-addons.spec:1.6
--- SPECS/cacti-addons.spec:1.5	Sun Dec 16 03:35:05 2007
+++ SPECS/cacti-addons.spec	Sun Dec 16 20:38:28 2007
@@ -53,6 +53,7 @@
 Summary:	Statistics for Cacti Poller
 Summary(pl.UTF-8):	Statystyki działania Pollera Cacti
 Group:		Applications/WWW
+Requires:	%{name}-cmd_line_add_template
 
 %description Cacti_Poller_Statistics
 Statistics for Cacti Poller, works with localhost only.
@@ -77,6 +78,7 @@
 Summary:	Cacti - Measure the response times of multiple internal and external DNS Resolver
 Summary(pl.UTF-8):	Cacti -
 Group:		Applications/WWW
+Requires:	%{name}-cmd_line_add_template
 
 %description DNS_Server_Response_Time
 Measure the response times of multiple internal and external DNS
@@ -89,6 +91,7 @@
 Summary:	Graphs the locked machines, shares and files from a samba server
 Summary(pl.UTF-8):	Samba - wykresy przyłączonych stacji, udziałów i plików w Cacti
 Group:		Applications/WWW
+Requires:	%{name}-cmd_line_add_template
 
 %description Samba_locked_machine
 Add-on for Cacti - graphs the locked machines, shares and files from a
@@ -102,6 +105,7 @@
 Summary:	Template to query hddtemp deamon and graph disks temperature
 Summary(pl.UTF-8):	Wykresy temperatury dysków - dane pobierane z hddtemp
 Group:		Applications/WWW
+Requires:	%{name}-cmd_line_add_template
 
 %description hddtemp
 Template to query hddtemp deamon and graph disks temperature.
@@ -136,7 +140,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post Cacti_Poller_Statistics 
+%{webcactiroot}/cacti/add_template.php  %{webcactiscriptqueriesdir}/cacti_host_template_local_cacti_polling_host.xml
+
+%post DNS_Server_Response_Time
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_dnsresponsetime.xml
+
+%post Samba_locked_machine
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_snmp_samba.xml
+
+%post hddtemp
+%{webcactiroot}/cacti/add_template.php %{webcactiscriptqueriesdir}/cacti_graph_template_linux_hddtemp_disk_temperature*.xml
 
 %files Cacti_Poller_Statistics
 %defattr(644,root,root,755)
@@ -170,6 +184,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007-12-16 19:38:28  wolvverine
+- add %post
+
 Revision 1.5  2007-12-16 02:35:05  wolvverine
 - add Samba_locked_machine,hddtemp rewrite spec
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-addons.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list