- 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:
parent
91bf566439
commit
f747b2d515
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Ganglia monitoring system php web frontend
|
||||
#
|
||||
|
||||
# Make sure to enable php7 via "a2enmod php7"
|
||||
Alias /ganglia WEBPATH
|
||||
|
||||
<Location /ganglia>
|
||||
|
@ -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}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user