Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
perl-Nagios-Plugin
perl-Nagios-Plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Nagios-Plugin.spec of Package perl-Nagios-Plugin
# # spec file for package perl-Nagios-Plugin # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # %define cpan_name Nagios-Plugin Name: perl-%cpan_name Version: 0.36 Release: 0 Summary: A family of perl modules to streamline writing Nagios plugins License: Artistic-1.0 or GPL-2.0+ Group: Development/Languages/Perl Url: http://search.cpan.org/perldoc?Nagios%3A%3APlugin Source: %cpan_name-%{version}.tar.gz Patch0: perl522.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor) BuildRequires: perl(Config::Tiny) BuildRequires: perl(Math::Calc::Units) BuildRequires: perl(Params::Validate) Requires: perl(Class::Accessor) Requires: perl(Config::Tiny) Requires: perl(Math::Calc::Units) Requires: perl(Params::Validate) Provides: %cpan_name = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %perl_requires %description Nagios::Plugin and its associated Nagios::Plugin::* modules are a family of perl modules to streamline writing Nagios plugins. The main end user modules are Nagios::Plugin, providing an object-oriented interface to the entire Nagios::Plugin::* collection, and Nagios::Plugin::Functions, providing a simpler functional interface to a useful subset of the available functionality. The purpose of the collection is to make it as simple as possible for developers to create plugins that conform the Nagios Plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html). %prep %autosetup -p2 -n %cpan_name-%{version} %build perl Makefile.PL OPTIMIZE="%{optflags} -Wall" make %{?_smp_mflags} %if 0%{?suse_version} >= 1010 %check make test %endif %install %perl_make_install %perl_process_packlist %files %defattr(-,root,root) %doc Changes MANIFEST README %doc %{_mandir}/man?/* %{perl_vendorlib}/Nagios %{perl_vendorarch}/auto/Nagios %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor