File monitoring-plugins-sign.spec of Package monitoring-plugins-sign
#
# spec file for package monitoring-plugins-sign
#
# Copyright (c) 2014 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: monitoring-plugins-sign
Summary: Check the status of an OBS sign server
Version: 0.92
Release: 100
License: GPL-2.0
Group: System/Monitoring
Source0: check_sign
BuildArch: noarch
BuildRequires: nagios-rpm-macros
Provides: nagios-plugins-sign = %{version}-%{release}
Obsoletes: nagios-plugins-sign < %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Check the availability of a sign server on a host.
Script returns OK if it gets an acceptable answer, CRITICAL if not.
%prep
%build
%install
install -Dm755 %{SOURCE0} %buildroot/%{nagios_plugindir}/check_sign
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
# avoid build dependecy of nagios - own the dirs
%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%{nagios_plugindir}/check_sign
%changelog