Sisyphus repository
Last update: 2018-10-20 20:07:29 +0400 | SRPMs: 18632 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 2.5-alt1
p8: 2.3-alt1.1

Group :: Monitoring
Source RPM: opm-wh_nagios

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

Name: opm-wh_nagios
Version: 2.5
Release: alt1

Summary: Nagios stat warehouse for Open PostgreSQL Monitoring
License: BSD like
Group: Monitoring


# Source-git:

Source: %name-%version.tar

BuildArchitectures: noarch

%add_perl_lib_path %_datadir/opm-core/ui/lib

Requires: opm-core = 2.3

BuildPreReq: postgresql-devel perl-podlators
BuildPreReq: perl-Mojolicious >= 4.50
BuildPreReq: opm-core = 2.3

Open PostgreSQL Monitoring Nagios stat warehouse.

%package postgresql
Summary: PostgreSQL extension for OPM
Group: Development/Python
#Requires: postgresql9.4-server postgresql9.4-contrib

Requires: /usr/bin/postgres
Requires: /usr/bin/pgbench

%description postgresql
PostgreSQL extension for Open PostgreSQL Monitoring Nagios stat warehouse.

%package -n opm-nagios_dispatcher
Summary: nagios_dispatcher for OPM
Group: Development/Python
Requires: libdbi-drivers-dbd-pgsql perl-DBD-Pg perl-podlators

%description -n opm-nagios_dispatcher
opm-nagios_dispatcher for Open PostgreSQL Monitoring.


cd pg
cd -
mkdir -p %buildroot/%_datadir/opm-core/
cp -a ui %buildroot/%_datadir/opm-core/
mkdir -p %buildroot/%_sbindir/
install -m655 bin/ %buildroot/%_sbindir/

# create conf in normal place

#mkdir -p %buildroot%_sysconfdir/%name/

#cp ui/opm.conf-dist %buildroot%_sysconfdir/%name/opm.conf

#ln -s %_sysconfdir/%name/opm.conf %buildroot%_datadir/%name/ui/opm.conf


%files postgresql

%files -n opm-nagios_dispatcher

* Sun Jun 24 2018 Vitaly Lipatov <lav at> 2.5-alt1
- new version 2.5 (with rpmrb script)

* Tue Aug 16 2016 Vitaly Lipatov <lav at> 2.3-alt2
- PostgreSQL version agnostic build

* Wed Mar 04 2015 Eugeny A. Rostovtsev (REAL) <real at> 2.3-alt1.1
- Rebuilt with PostgreSQL 9.4

* Sun Sep 14 2014 Vitaly Lipatov <lav at> 2.3-alt1
- initial build for ALT Linux Sisyphus

© 2009–2018 Igor Zubkov