- added some readme and recommends now gmetad

OBS-URL: https://build.opensuse.org/package/show/network:cluster/ganglia-web?expand=0&rev=5
This commit is contained in:
Christian Goll 2017-10-16 11:18:59 +00:00 committed by Git OBS Bridge
parent 91bf566439
commit f747b2d515
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#
# Ganglia monitoring system php web frontend
#
# Make sure to enable php7 via "a2enmod php7"
Alias /ganglia WEBPATH
<Location /ganglia>

View File

@ -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}/*