File monitoring-plugins-sap_health.spec of Package monitoring-plugins-sap_health

# spec file for package monitoring-plugins-sap_health
# Copyright (c) 2017, Martin Hauke <>
# 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

%define         realname check_sap_health
Name:           monitoring-plugins-sap_health
Release:        0
Summary:        A Plugin that checks various parameters of a SAP system
License:        GPL-2.0+
Group:          System/Monitoring
BuildRequires:  nagios-rpm-macros
Requires:       perl(Data::Dumper)
Requires:       perl(Date::Manip)
Requires:       perl(Digest::MD5)
Requires:       perl(File::Basename)
Requires:       perl(IO::File)
Requires:       perl(Time::HiRes)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

A Plugin that checks various parameters of a SAP system

%setup -q -n %{realname}-%{version}
# FIXME: spurious executable permissions
chmod -x COPYING ChangeLog

%configure \
	--libexecdir=%{nagios_plugindir} \
	--with-nagios-user=%{nagios_user} \
	--with-nagios-group=%{nagios_group} \
	--with-perl=%{_bindir}/perl \
make %{?_smp_mflags}


%doc ChangeLog COPYING
%dir %{nagios_libdir}

openSUSE Build Service is sponsored by