LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nagios-plugins-source-service.spec of Package nagios-plugins-source-service (Project home:jdbungart:monitoring)

#
# spec file for package nagios-plugins-zypper (Version 1.35)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           nagios-plugins-source-service
Summary:        Nagios plugin for checking the Build Service Source Service
Version:        0.1
Release:        1
Url:            http://build.opensuse.org/
License:        BSD 4-Clause
Group:          System/Monitoring
Source0:        check_source-service.pl
Requires:       curl
Requires:       perl(Getopt::Long)
Requires:       perl(Pod::Usage)
Requires:       perl(Time::HiRes)
Requires:       perl(WWW::Curl::Simple)
Requires:       perl(XML::Simple)
# nagios can execute the script with embedded perl
Recommends:     perl 
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define		    libexecdir %_prefix/lib/nagios/plugins

%description
This Nagios plugin checks the Source Service of the openSUSE Build Service.

Authors:
--------
    Lars Vogdt

%prep

%build

%install
install -D -m755 %{SOURCE0} %buildroot/%libexecdir/check_source-service

%clean
rm -rf %buildroot

%files 
%defattr(-,root,root)
# avoid build dependecy of nagios - own the dirs
%dir %_prefix/lib/nagios
%dir %libexecdir
%libexecdir/check_source-service

%changelog