packages: cacti-template-varnish/cacti-template-varnish.spec, cacti-templat...

glen glen at pld-linux.org
Wed Apr 14 23:33:46 CEST 2010


Author: glen                         Date: Wed Apr 14 21:33:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- call this as version 3, separate README

---- Files affected:
packages/cacti-template-varnish:
   cacti-template-varnish.spec (1.6 -> 1.7) , README (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cacti-template-varnish/cacti-template-varnish.spec
diff -u packages/cacti-template-varnish/cacti-template-varnish.spec:1.6 packages/cacti-template-varnish/cacti-template-varnish.spec:1.7
--- packages/cacti-template-varnish/cacti-template-varnish.spec:1.6	Wed Apr 14 23:22:38 2010
+++ packages/cacti-template-varnish/cacti-template-varnish.spec	Wed Apr 14 23:33:41 2010
@@ -2,12 +2,13 @@
 %define		template	varnish
 Summary:	Varnish Cache statistics template for Cacti
 Name:		cacti-template-%{template}
-Version:	0.0.3
-Release:	0.6
+Version:	3
+Release:	1
 License:	GPL v2
 Group:		Applications/WWW
 Source1:	get_varnish_stats.py
 Source2:	cacti_host_template_varnish.xml
+Source3:	README
 URL:		http://forums.cacti.net/viewtopic.php?p=182152
 BuildRequires:	rpmbuild(macros) >= 1.554
 Requires:	cacti >= 0.8.7e-8
@@ -24,25 +25,7 @@
 
 %prep
 %setup -qcT
-
-cat > README <<'EOF'
-Uses advanced template from:
-<http://forums.cacti.net/viewtopic.php?p=182152>
-
-Combines script to pull data via Varnish admin port from
-<http://forums.cacti.net/viewtopic.php?t=31260>
-
-How to install
-==============
-
-1 - Import cacti_host_template_varnish.xml to Cacti (tested with 0.8.7e)
-2 - Copy get_varnish_stats.py to "scripts"
-
-###############################################################################
-IMPORTANT: You need to recompile spine with "./configure --with-results-buffer=2048"
-###############################################################################
-
-EOF
+cp -a %{SOURCE3} .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -68,6 +51,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/04/14 21:33:41  glen
+- call this as version 3, separate README
+
 Revision 1.6  2010/04/14 21:22:38  glen
 - create README from the rar file
 

================================================================
Index: packages/cacti-template-varnish/README
diff -u /dev/null packages/cacti-template-varnish/README:1.1
--- /dev/null	Wed Apr 14 23:33:46 2010
+++ packages/cacti-template-varnish/README	Wed Apr 14 23:33:41 2010
@@ -0,0 +1,18 @@
+Uses advanced template from:
+<http://forums.cacti.net/viewtopic.php?p=182152>
+
+Combines script to pull data via Varnish admin port from
+<http://forums.cacti.net/viewtopic.php?t=31260>
+
+How to install
+==============
+
+1 - Import cacti_host_template_varnish.xml to Cacti (tested with 0.8.7e)
+2 - Copy get_varnish_stats.py to "scripts"
+
+###############################################################################
+IMPORTANT: You need to recompile spine with "./configure --with-results-buffer=2048"
+###############################################################################
+
+# $Id$
+Elan Ruusamäe <glen at delfi.ee>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-varnish/cacti-template-varnish.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list