Files
perl-jmx4perl/perl-jmx4perl.spec
Dirk Stoecker d74b0bcaa4 Accepting request 824720 from devel:languages:perl:autoupdate
updated to 1.13
   see /usr/share/doc/packages/perl-jmx4perl/CHANGES
  1.13 (2020-05-12)
    - Fixed bug in output for Tomcat 8 check_jmx4perl Nagios check
    - Changed CLI interface of 'jmx4perl list' and the possible arguments
      for LIST request. Note, that this change is not backwards compatible.
      However the fix is trivial: Instead of providing a full path into the
      LIST response as single argument (e.g. 'java.lang/type=Memory/HeapMemoryUsage')
      you have to provide two arguments for the MBean and the path into MBean's
      meta data (e.g. 'java.lang:type=Memory' and'HeapMemoryUsage')
    - Fixed Dockerfile
    - Add Tomcat 8 specific checks

OBS-URL: https://build.opensuse.org/request/show/824720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-jmx4perl?expand=0&rev=5
2020-08-08 11:42:57 +00:00

95 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-jmx4perl
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: perl-jmx4perl
Version: 1.13
Release: 0
%define cpan_name jmx4perl
Summary: Easy JMX access to Java EE applications
License: GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RO/ROLAND/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Archive::Zip)
BuildRequires: perl(Config::General) >= 2.34
BuildRequires: perl(Crypt::Blowfish_PP)
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(File::SearchPath)
BuildRequires: perl(IO::Socket::Multicast)
BuildRequires: perl(JSON) >= 2.12
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Module::Find)
BuildRequires: perl(Monitoring::Plugin) >= 0.37
BuildRequires: perl(Sys::SigAction)
BuildRequires: perl(Term::Clui)
BuildRequires: perl(Term::ProgressBar)
BuildRequires: perl(Term::ShellUI)
BuildRequires: perl(Term::Size) >= 0.207
BuildRequires: perl(URI) >= 1.35
BuildRequires: perl(XML::LibXML)
BuildRequires: perl(XML::Twig)
Requires: perl(Archive::Zip)
Requires: perl(Config::General) >= 2.34
Requires: perl(Crypt::Blowfish_PP)
Requires: perl(Digest::SHA1)
Requires: perl(File::SearchPath)
Requires: perl(IO::Socket::Multicast)
Requires: perl(JSON) >= 2.12
Requires: perl(LWP::UserAgent)
Requires: perl(Module::Find)
Requires: perl(Monitoring::Plugin) >= 0.37
Requires: perl(Sys::SigAction)
Requires: perl(Term::Clui)
Requires: perl(Term::ProgressBar)
Requires: perl(Term::ShellUI)
Requires: perl(Term::Size) >= 0.207
Requires: perl(URI) >= 1.35
Requires: perl(XML::LibXML)
Requires: perl(XML::Twig)
%{perl_requires}
%description
Easy JMX access to Java EE applications
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES examples README
%license LICENSE
%changelog