[packages/cacti-template-php-fpm] up to v0.3, uses http status page
glen
glen at pld-linux.org
Tue Jul 2 23:46:45 CEST 2013
commit 35bb28cc3019cbefe0a4e0c056867dea6f851883
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jul 3 00:46:02 2013 +0300
up to v0.3, uses http status page
cacti-template-php-fpm.spec | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/cacti-template-php-fpm.spec b/cacti-template-php-fpm.spec
index 46c98ae..ec89b4d 100644
--- a/cacti-template-php-fpm.spec
+++ b/cacti-template-php-fpm.spec
@@ -2,13 +2,13 @@
%include /usr/lib/rpm/macros.perl
Summary: PHP-FPM Status template for Cacti
Name: cacti-template-%{template}
-Version: 0.1
+Version: 0.3
Release: 1
License: GPL v2
Group: Applications/WWW
-Source0: http://forums.cacti.net/download/file.php?id=24260&/cacti-php-fpm.tar.gz
-# Source0-md5: c1bf81122c4dbbe84391cf24f855c049
-URL: http://forums.cacti.net/viewtopic.php?f=12&t=41580
+Source0: https://github.com/glensc/cacti-template-php-fpm/archive/%{version}.tar.gz
+# Source0-md5: 5af0510dd8fcd917226c31aed2d14afc
+URL: https://github.com/glensc/cacti-template-php-fpm
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.554
Requires: cacti
@@ -24,20 +24,22 @@ PHP-FPM Status template for Cacti.
%prep
%setup -qc
+mv cacti-template-php-fpm-*/* .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{resourcedir},%{scriptsdir}}
-install -p cacti_check_php-fpm.pl $RPM_BUILD_ROOT%{scriptsdir}
-cp -p cacti_graph_template_php-fpm_fastcgi_stats.xml $RPM_BUILD_ROOT%{resourcedir}
+install -p get_php_fpm_status.pl $RPM_BUILD_ROOT%{scriptsdir}
+cp -p cacti_graph_template_php-fpm_statistic.xml $RPM_BUILD_ROOT%{resourcedir}
%post
-%cacti_import_template %{resourcedir}/cacti_graph_template_php-fpm_fastcgi_stats.xml
+%cacti_import_template %{resourcedir}/cacti_graph_template_php-fpm_statistic.xml
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{scriptsdir}/cacti_check_php-fpm.pl
+%doc README.md
+%attr(755,root,root) %{scriptsdir}/get_php_fpm_status.pl
%{resourcedir}/*.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti-template-php-fpm.git/commitdiff/35bb28cc3019cbefe0a4e0c056867dea6f851883
More information about the pld-cvs-commit
mailing list