152 lines
6.1 KiB
RPMSpec
152 lines
6.1 KiB
RPMSpec
#
|
|
# spec file for package perl-jmx4perl
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
%define cpan_name jmx4perl
|
|
Name: perl-jmx4perl
|
|
Version: 1.130.0
|
|
Release: 0
|
|
# 1.13 -> normalize -> 1.130.0
|
|
%define cpan_version 1.13
|
|
License: GPL-1.0-or-later
|
|
Summary: Easy JMX access to Java EE applications
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RO/ROLAND/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
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::Build) >= 0.34
|
|
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::ReadKey)
|
|
BuildRequires: perl(Term::ReadLine::Perl)
|
|
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::ReadKey)
|
|
Requires: perl(Term::ReadLine::Perl)
|
|
Requires: perl(Term::ShellUI)
|
|
Requires: perl(Term::Size) >= 0.207
|
|
Requires: perl(URI) >= 1.35
|
|
Requires: perl(XML::LibXML)
|
|
Requires: perl(XML::Twig)
|
|
Provides: perl(JMX::Jmx4Perl) = %{version}
|
|
Provides: perl(JMX::Jmx4Perl::Agent)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::ArtifactHandler)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::DownloadAgent)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Logger)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Logger::None)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Meta)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::ChecksumVerifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::GnuPGVerifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::MD5Verifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::OpenPGPVerifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::PGPKey)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::Verifier::SHA1Verifier)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::Jolokia::WebXmlHandler)
|
|
Provides: perl(JMX::Jmx4Perl::Agent::UserAgent)
|
|
Provides: perl(JMX::Jmx4Perl::Alias)
|
|
Provides: perl(JMX::Jmx4Perl::Alias::Object)
|
|
Provides: perl(JMX::Jmx4Perl::Config)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::Command)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::Command::Global)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::Command::MBean)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::Command::Server)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::CommandHandler)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::CompletionHandler)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::ServerHandler)
|
|
Provides: perl(JMX::Jmx4Perl::J4psh::Shell)
|
|
Provides: perl(JMX::Jmx4Perl::Nagios::CactiJmx4Perl)
|
|
Provides: perl(JMX::Jmx4Perl::Nagios::CheckJmx4Perl)
|
|
Provides: perl(JMX::Jmx4Perl::Nagios::MessageHandler)
|
|
Provides: perl(JMX::Jmx4Perl::Nagios::SingleCheck)
|
|
Provides: perl(JMX::Jmx4Perl::Product::ActiveMQ)
|
|
Provides: perl(JMX::Jmx4Perl::Product::BaseHandler)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Geronimo)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Glassfish)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Hadoop)
|
|
Provides: perl(JMX::Jmx4Perl::Product::JBoss)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Jetty)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Jonas)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Resin)
|
|
Provides: perl(JMX::Jmx4Perl::Product::SpringDM)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Terracotta)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Tomcat)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Unknown)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Weblogic)
|
|
Provides: perl(JMX::Jmx4Perl::Product::Websphere)
|
|
Provides: perl(JMX::Jmx4Perl::Request)
|
|
Provides: perl(JMX::Jmx4Perl::Response)
|
|
Provides: perl(JMX::Jmx4Perl::Util)
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Easy JMX access to Java EE applications
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -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
|
|
%doc CHANGES examples README
|
|
%license LICENSE
|
|
|
|
%changelog
|