Accepting request 174656 from home:scorot:branches:network:cluster

Ganglia web frontend

OBS-URL: https://build.opensuse.org/request/show/174656
OBS-URL: https://build.opensuse.org/package/show/network:cluster/ganglia-web?expand=0&rev=1
This commit is contained in:
Corot Sebastien 2013-05-06 19:10:35 +00:00 committed by Git OBS Bridge
commit d73ccf4058
5 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ganglia-web-3.5.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:531e20a09233a615d5bf2c2c028c12c5942714265fe78094a8f1fb08c1e217d5
size 1398921

5
ganglia-web.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed May 1 12:03:10 UTC 2013 - scorot@free.fr
- first package

73
ganglia-web.spec Normal file
View File

@ -0,0 +1,73 @@
#
# spec file for package ganglia-web
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ganglia-web
Version: 3.5.7
Release: 0
Summary: Ganglia web frontend
License: GPL-2.0
Group: System/Monitoring
Url: http://ganglia.info/
Source0: %{name}-%{version}.tar.gz
BuildRequires: fdupes
Requires: php >= 5
Requires: php-gd
Requires: php-xml
Requires: rrdtool
BuildArch: noarch
%define web_prefixdir /srv/www/htdocs/ganglia
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides a web frontend to display the XML tree published by
ganglia, and to provide historical graphs of collected metrics. This website is
written in the PHP5 language and uses the Dwoo templating engine.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{web_prefixdir}
cp -rf * %{buildroot}%{web_prefixdir}
rm -rf %{buildroot}%{web_prefixdir}/conf
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/ganglia-web/filters
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/ganglia-web/conf
cp -rf conf/* %{buildroot}%{_localstatedir}/lib/ganglia-web/conf
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/ganglia-web/dwoo
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/ganglia-web/dwoo/compiled
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/ganglia-web/dwoo/cache
rm -rf {buildroot}%{_localstatedir}/lib/ganglia-web/debian
%fdupes %{buildroot}%{web_prefixdir}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING TODO
%dir %{web_prefixdir}/
%dir %{web_prefixdir}/dwoo
%{web_prefixdir}/*
%config(noreplace) %{web_prefixdir}/conf_default.php
%dir %{_localstatedir}/lib/ganglia-web
%{_localstatedir}/lib/ganglia-web/conf
%attr(0755,wwwrun,wwwrun)%{_localstatedir}/lib/ganglia-web/dwoo
%attr(0755,wwwrun,wwwrun)%{_localstatedir}/lib/ganglia-web/dwoo/compiled
%attr(0755,wwwrun,wwwrun)%{_localstatedir}/lib/ganglia-web/dwoo/cache
%changelog