Name: perl-Nagios-Plugin-WWW-Mechanize Version: 0.13 Release: 37%{?dist} Summary: Login to a web page as a user and get data as a Nagios plugin License: GPL+ or Artistic URL: https://metacpan.org/release/Nagios-Plugin-WWW-Mechanize Source0: https://cpan.metacpan.org/authors/id/T/TO/TONVOON/Nagios-Plugin-WWW-Mechanize-%{version}.tar.gz Patch0: Nagios-Plugin-WWW-Mechanize-monitoring.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter >= 1:5.6.0 BuildRequires: perl-generators BuildRequires: perl(base) BuildRequires: perl(Exporter) BuildRequires: perl(FindBin) BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(lib) BuildRequires: perl(Monitoring::Plugin::Functions) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) BuildRequires: perl(WWW::Mechanize) BuildRequires: perl(warnings) BuildRequires: sed Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %description This module ties Monitoring::Plugin with WWW::Mechanize so that there's less code in your perl script and the most common work is done for you. %prep %setup -q -n Nagios-Plugin-WWW-Mechanize-%{version} # Remove bundled libraries rm -r inc sed -i -e '/^inc\// d' MANIFEST # Use Monitoring::Plugin instead of Nagios::Plugin mv t/lib/Nagios t/lib/Monitoring %patch0 %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %{make_build} test %files %doc Changes LICENSE %{perl_vendorlib}/Nagios* %{_mandir}/man3/Nagios* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.13-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.13-36 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.13-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Oct 31 2021 Emmanuel Seyman - 0.13-34 - Patch module to use Monitoring::Plugin instead of Nagios::Plugin - Replace calls to %%{__perl} with /usr/bin/perl - Pass NO_PACKLIST=1 NO_PERLLOCAL=1 to Makefile.PL - Use %%{make_build} and %%{make_install} where appropriate * Thu Jul 22 2021 Fedora Release Engineering - 0.13-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.13-32 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.13-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.13-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.13-29 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.13-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.13-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.13-26 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.13-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.13-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.13-23 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.13-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.13-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.13-20 - Perl 5.26 rebuild * Thu May 18 2017 Jitka Plesnikova - 0.13-19 - Fix building on Perl without '.' in @INC * Sat Feb 11 2017 Fedora Release Engineering - 0.13-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.13-17 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.13-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.13-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 07 2015 Jitka Plesnikova - 0.13-14 - Perl 5.22 rebuild * Sun Nov 09 2014 Ken Dreyer - 0.13-13 - Unconditionally BR Time::HiRes since EL7 needs this as well as EL6 * Fri Aug 29 2014 Jitka Plesnikova - 0.13-12 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 25 2013 Petr Pisar - 0.13-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Petr Pisar - 0.13-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Petr Sabata - 0.13-4 - Perl mass rebuild * Fri Mar 04 2011 ktdreyer@ktdreyer.com 0.13-2 - use DESTDIR in place of PERL_INSTALL_ROOT - rm explicit Requires (Nagios::Plugin and WWW::Mechanize are auto-determined) - Wrap BuildRequires for EL6 in a conditional DistTag * Wed Mar 02 2011 ktdreyer@ktdreyer.com 0.13-2 - Add Time::HiRes as BuildRequires, to support EL6 * Tue Mar 01 2011 ktdreyer@ktdreyer.com 0.13-1 - Specfile autogenerated by cpanspec 1.78.