packages: cacti-template-lighttpd/cacti-template-lighttpd.spec - this is te...
glen
glen at pld-linux.org
Thu Oct 27 22:08:08 CEST 2011
Author: glen Date: Thu Oct 27 20:08:08 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- this is template, not plugin, rename accordingly
---- Files affected:
packages/cacti-template-lighttpd:
cacti-template-lighttpd.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/cacti-template-lighttpd/cacti-template-lighttpd.spec
diff -u packages/cacti-template-lighttpd/cacti-template-lighttpd.spec:1.6 packages/cacti-template-lighttpd/cacti-template-lighttpd.spec:1.7
--- packages/cacti-template-lighttpd/cacti-template-lighttpd.spec:1.6 Sun Oct 5 17:52:51 2008
+++ packages/cacti-template-lighttpd/cacti-template-lighttpd.spec Thu Oct 27 22:08:03 2011
@@ -1,19 +1,23 @@
# $Revision$, $Date$
%define plugin lighttpd
-Summary: Plugin for Cacti - Lighttpd stats
-Name: cacti-plugin-%{plugin}
+%define php_min_version 5.0.0
+%include /usr/lib/rpm/macros.php
+Summary: Template for Cacti - Lighttpd stats
+Name: cacti-template-%{plugin}
Version: 1.0
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/WWW
# http://forums.cacti.net/download.php?id=8273
Source0: lighttpd_stats_%{version}.tar.gz
# Source0-md5: 09aa6716901e08301517004de099d240
-Patch0: %{name}.patch
+Patch0: fixes.patch
URL: http://forums.cacti.net/viewtopic.php?t=19676
-Requires: cacti >= 0.8.6j
-Requires: cacti-add_template
-Requires: php-common >= 4:5.1
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.554
+Requires: cacti >= 0.8.7e-8
+Requires: php-common >= 4:%{php_min_version}
+Obsoletes: cacti-plugin-lighttpd
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,14 +36,14 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{resourcedir},%{scriptsdir}}
-cp -a *.xml $RPM_BUILD_ROOT%{resourcedir}
-install *.php $RPM_BUILD_ROOT%{scriptsdir}
+cp -p *.xml $RPM_BUILD_ROOT%{resourcedir}
+install -p *.php $RPM_BUILD_ROOT%{scriptsdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%{_sbindir}/cacti-add_template %{resourcedir}/cacti_host_template_webserver_lighttpd.xml
+%cacti_import_template %{resourcedir}/cacti_host_template_webserver_lighttpd.xml
%files
%defattr(644,root,root,755)
@@ -53,6 +57,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2011/10/27 20:08:03 glen
+- this is template, not plugin, rename accordingly
+
Revision 1.6 2008/10/05 15:52:51 glen
- url that relateds with this addon
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-lighttpd/cacti-template-lighttpd.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list