From f747b2d515f9a2fa1abda5ea1e3bd4a2e2f43e1ebca81e9f74cecb3d246801d5 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Mon, 16 Oct 2017 11:18:59 +0000 Subject: [PATCH] - added some readme and recommends now gmetad OBS-URL: https://build.opensuse.org/package/show/network:cluster/ganglia-web?expand=0&rev=5 --- ganglia-httpd24.conf.d | 2 +- ganglia-web.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ganglia-httpd24.conf.d b/ganglia-httpd24.conf.d index 8062286..8fa2dc6 100644 --- a/ganglia-httpd24.conf.d +++ b/ganglia-httpd24.conf.d @@ -1,7 +1,7 @@ # # Ganglia monitoring system php web frontend # - +# Make sure to enable php7 via "a2enmod php7" Alias /ganglia WEBPATH diff --git a/ganglia-web.spec b/ganglia-web.spec index b7c76d9..893b1a8 100644 --- a/ganglia-web.spec +++ b/ganglia-web.spec @@ -25,6 +25,7 @@ Group: System/Monitoring Url: http://ganglia.info/ Source0: https://downloads.sourceforge.net/project/ganglia/ganglia-web/3.7.2/ganglia-web-3.7.2.tar.gz Source1: ganglia-httpd24.conf.d +Source2: README.SUSE BuildRequires: fdupes BuildRequires: apache2 BuildRequires: rsync @@ -33,6 +34,7 @@ Requires: php-gd Requires: php-xml Requires: rrdtool Requires: apache2 +Recommends: ganglia-gmetad BuildArch: noarch %define web_prefixdir /srv/www/htdocs/ganglia-web BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,6 +47,7 @@ written in the PHP5 language and uses the Dwoo templating engine. %prep %setup -q %build +cp %SOURCE2 . %install %{__sed} -i 's,www-data,abuild,' Makefile @@ -62,7 +65,7 @@ install %SOURCE1 %{buildroot}/etc/apache2/conf.d/%{name}.conf %files %defattr(-,root,root) -%doc AUTHORS COPYING TODO +%doc AUTHORS COPYING TODO README README.SUSE %dir %{web_prefixdir}/ %dir %{web_prefixdir}/dwoo %{web_prefixdir}/*