Files
perl-jmx4perl/perl-jmx4perl.spec

94 lines
3.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-jmx4perl
#
# 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/
#
Name: perl-jmx4perl
Version: 1.12
Release: 0
%define cpan_name jmx4perl
Summary: Easy JMX access to Java EE applications
License: GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/jmx4perl/
Source0: http://www.cpan.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 -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 config docker examples it LICENSE README scripts
%changelog