Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
openpom
> openpom.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File openpom.spec of Package openpom
%if 0%{?suse_version} %define wwwroot /srv/www %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?redhat_version} %define wwwroot /var/www %endif Name: openpom Version: 1.5.0 Release: 1 Url: http://code.google.com/p/openpom/ License: GPL Group: Applications/System Summary: Icinga/Nagios IDO Frontend Source0: openpom-1.5.0.tar.bz2 Source1: openpom.conf BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: php-mysql mod_php_any BuildArch: noarch %description This web user interface allow you to view in a single page almost everything about nagios and icinga: alert, ack, downtime, comment. You can also interact with nagios and icinga through ack, downtime, comment, disable and reset buttons. %prep %setup %build %install %__install -d %{buildroot}%{_sysconfdir}/apache2/conf.d/ %__install -d %{buildroot}%{wwwroot}/openpom %__install -m0644 %{S:1} %{buildroot}%{_sysconfdir}/apache2/conf.d/ cp -R send-order *.php *.css js img %{buildroot}%{wwwroot}/openpom/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README LICENSE %dir %{wwwroot}/openpom %dir %{wwwroot}/openpom/js %dir %{wwwroot}/openpom/img %dir %{_sysconfdir}/apache2 %dir %{_sysconfdir}/apache2/conf.d %config(noreplace) %{_sysconfdir}/apache2/conf.d/openpom.conf %{wwwroot}/openpom/graph.php %{wwwroot}/openpom/*.css %{wwwroot}/openpom/js/*.js %{wwwroot}/openpom/img/*.gif %{wwwroot}/openpom/img/*.png %{wwwroot}/openpom/send-order %{wwwroot}/openpom/ack.php %{wwwroot}/openpom/action.php %{wwwroot}/openpom/alert.php %{wwwroot}/openpom/comment.php %config(noreplace) %{wwwroot}/openpom/config.php %{wwwroot}/openpom/disable.php %{wwwroot}/openpom/disablecheck.php %{wwwroot}/openpom/down.php %{wwwroot}/openpom/footer.php %{wwwroot}/openpom/header.php %{wwwroot}/openpom/history.php %{wwwroot}/openpom/index.php %{wwwroot}/openpom/lang.php %{wwwroot}/openpom/option.php %{wwwroot}/openpom/query-downtime.php %{wwwroot}/openpom/query.php %{wwwroot}/openpom/query-status.php %{wwwroot}/openpom/query-history.php %{wwwroot}/openpom/status-nagios.php %{wwwroot}/openpom/utils.php %changelog