template-specs: cacti-template.spec - those are mostly templates, not plugins

glen glen at pld-linux.org
Wed Apr 14 17:26:05 CEST 2010


Author: glen                         Date: Wed Apr 14 15:26:05 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- those are mostly templates, not plugins

---- Files affected:
template-specs:
   cacti-template.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: template-specs/cacti-template.spec
diff -u template-specs/cacti-template.spec:1.10 template-specs/cacti-template.spec:1.11
--- template-specs/cacti-template.spec:1.10	Mon Jun 15 17:15:43 2009
+++ template-specs/cacti-template.spec	Wed Apr 14 17:26:00 2010
@@ -1,12 +1,12 @@
 # $Revision$, $Date$
-%define		plugin PLUGIN_NAME
-Summary:	Plugin for Cacti -
-Name:		cacti-plugin-%{plugin}
+%define		template TEMPLATE_NAME
+Summary:	Template for Cacti -
+Name:		cacti-template-%{template}
 Version:	0.1
 Release:	0.1
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip
+Source0:	http://mirror.cactiusers.org/downloads/templates/%{namesrc}-%{version}.zip
 # Source0-md5:
 URL:		http://www.cactiusers.org/
 Requires:	cacti >= 0.8.6j
@@ -19,14 +19,14 @@
 %define		scriptsdir		%{cactidir}/scripts
 
 %description
-Plugin for Cacti -
+Template for Cacti -
 
 #%description -l pl.UTF-8
 #Wtyczka do Cacti -
 
 %prep
 %setup -q -c
-%setup -q -n cacti-%{plugin}-%{version}
+%setup -q -n cacti-%{template}-%{version}
 
 # undos the source
 find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
@@ -38,7 +38,7 @@
 install *.php $RPM_BUILD_ROOT%{scriptsdir}
 
 %post
-%{_sbindir}/cacti-add_template %{resourcedir}/PLUGIN_NAME.xml
+%{_sbindir}/cacti-add_template %{resourcedir}/TEMPLATE_NAME.xml
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,8 +46,8 @@
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README
-%attr(755,root,root) %{scriptsdir}/PLUGIN_NAME.php
-%{resourcedir}/PLUGIN_NAME.xml
+%attr(755,root,root) %{scriptsdir}/TEMPLATE_NAME.php
+%{resourcedir}/TEMPLATE_NAME.xml
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -55,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/04/14 15:26:00  glen
+- those are mostly templates, not plugins
+
 Revision 1.10  2009/06/15 15:15:43  glen
 - more prep samples
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/cacti-template.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list