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

# spec file for package monitoring-plugins-check_notary
# Copyright (c) 2018 SUSE LINUX 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

Name:           monitoring-plugins-notary
%define		base_name check_notary
Version:        0.0.1+git1530695665.1ba69cb
Release:        0
Summary:        Check (docker) notary status plugin for Nagios
# FIXME: Select a correct license from
License:        GPL-3.0-or-later 
# FIXME: use correct group, see ""
Group:          System/Monitoring
Source:         check_notary-%{version}.tar.gz
BuildRequires:  nagios-rpm-macros
Requires:       perl(LWP::UserAgent)
Requires:       perl(LWP::Protocol::https)
Requires:       perl(Monitoring::Plugin)
Requires:       perl(JSON::MaybeXS)

This plugin checks a (docker) notary status by fetching the changefeed.

%setup -q -n %{base_name}-%{version}


install -d -m755 %{buildroot}/%{nagios_plugindir}
install -m755 ./%{base_name} %{buildroot}/%{nagios_plugindir}/%{base_name}


%license LICENSE
%dir %{nagios_libdir}
%dir %{nagios_plugindir}

openSUSE Build Service is sponsored by