- 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
|
# Ganglia monitoring system php web frontend
|
||||||
#
|
#
|
||||||
|
# Make sure to enable php7 via "a2enmod php7"
|
||||||
Alias /ganglia WEBPATH
|
Alias /ganglia WEBPATH
|
||||||
|
|
||||||
<Location /ganglia>
|
<Location /ganglia>
|
||||||
|
@ -25,6 +25,7 @@ Group: System/Monitoring
|
|||||||
Url: http://ganglia.info/
|
Url: http://ganglia.info/
|
||||||
Source0: https://downloads.sourceforge.net/project/ganglia/ganglia-web/3.7.2/ganglia-web-3.7.2.tar.gz
|
Source0: https://downloads.sourceforge.net/project/ganglia/ganglia-web/3.7.2/ganglia-web-3.7.2.tar.gz
|
||||||
Source1: ganglia-httpd24.conf.d
|
Source1: ganglia-httpd24.conf.d
|
||||||
|
Source2: README.SUSE
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: apache2
|
BuildRequires: apache2
|
||||||
BuildRequires: rsync
|
BuildRequires: rsync
|
||||||
@ -33,6 +34,7 @@ Requires: php-gd
|
|||||||
Requires: php-xml
|
Requires: php-xml
|
||||||
Requires: rrdtool
|
Requires: rrdtool
|
||||||
Requires: apache2
|
Requires: apache2
|
||||||
|
Recommends: ganglia-gmetad
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%define web_prefixdir /srv/www/htdocs/ganglia-web
|
%define web_prefixdir /srv/www/htdocs/ganglia-web
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -45,6 +47,7 @@ written in the PHP5 language and uses the Dwoo templating engine.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%build
|
%build
|
||||||
|
cp %SOURCE2 .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__sed} -i 's,www-data,abuild,' Makefile
|
%{__sed} -i 's,www-data,abuild,' Makefile
|
||||||
@ -62,7 +65,7 @@ install %SOURCE1 %{buildroot}/etc/apache2/conf.d/%{name}.conf
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING TODO
|
%doc AUTHORS COPYING TODO README README.SUSE
|
||||||
%dir %{web_prefixdir}/
|
%dir %{web_prefixdir}/
|
||||||
%dir %{web_prefixdir}/dwoo
|
%dir %{web_prefixdir}/dwoo
|
||||||
%{web_prefixdir}/*
|
%{web_prefixdir}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user