]> git.pld-linux.org Git - packages/cacti-template-varnish.git/commitdiff
- call this as version 3, separate README AC-branch auto/ac/cacti-template-varnish-3-1 auto/th/cacti-template-varnish-3-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Apr 2010 21:33:41 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    README -> 1.1
    cacti-template-varnish.spec -> 1.7

README [new file with mode: 0644]
cacti-template-varnish.spec

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..5ca524a
--- /dev/null
+++ b/README
@@ -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@delfi.ee>
index 3bfa4b2f9880b06462082b7a68f04aa3ddcc4b8a..90011a93e82844d463334e4c95201aa500deae5a 100644 (file)
@@ -1,12 +1,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
@@ -23,25 +24,7 @@ Template for Cacti - Varnish Cache statistics.
 
 %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
This page took 0.0595 seconds and 4 git commands to generate.