forked from pool/perl-Nagios-Plugin
WIP: Automatic update to v0.990.1 (0.990001) #1
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a40577376f1077eb84aaa9897b6974baed2654bfc705ad4832f47ad486e5429
|
||||
size 45008
|
BIN
Nagios-Plugin-0.990001.tar.gz
(Stored with Git LFS)
Normal file
BIN
Nagios-Plugin-0.990001.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 10:37:58 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.990.1 (0.990001)
|
||||
see /usr/share/doc/packages/perl-Nagios-Plugin/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 13:32:59 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Nagios-Plugin
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,68 +12,46 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Nagios-Plugin
|
||||
|
||||
Name: perl-%cpan_name
|
||||
Version: 0.36
|
||||
%define cpan_name Nagios-Plugin
|
||||
Name: perl-Nagios-Plugin
|
||||
Version: 0.990.1
|
||||
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
|
||||
# 0.990001 -> normalize -> 0.990.1
|
||||
%define cpan_version 0.990001
|
||||
License: This not-a-library is free software and may be distributed under the same terms as perl5 itself, or at your option any other Free Software license as declared so by the Free Software Foundation. Honestly, I'd've put it in the public domain but the idea of somebody restributing it under the WTFPL amuses me too much.
|
||||
Summary: Removed from CPAN by request of Nagios Enterprises, succeeded
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source100: README.md
|
||||
Patch0: perl522.patch
|
||||
BuildArch: noarch
|
||||
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
|
||||
Provides: perl(Nagios::Plugin) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{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).
|
||||
Removed from CPAN by request of Nagios Enterprises, succeeded
|
||||
|
||||
%prep
|
||||
%autosetup -p2 -n %cpan_name-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%if 0%{?suse_version} >= 1010
|
||||
%check
|
||||
make test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes MANIFEST README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Nagios
|
||||
%{perl_vendorarch}/auto/Nagios
|
||||
%files -f %{name}.files
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user