2015-04-20 04:59:09 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Rex
|
|
|
|
#
|
2025-01-30 22:25:26 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2015-04-20 04:59:09 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-02-12 07:13:14 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-20 04:59:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-03-10 07:07:29 +00:00
|
|
|
%define cpan_name Rex
|
2015-04-20 04:59:09 +00:00
|
|
|
Name: perl-Rex
|
2025-07-11 10:18:53 +00:00
|
|
|
Version: 1.16.1
|
2015-04-20 04:59:09 +00:00
|
|
|
Release: 0
|
|
|
|
License: Apache-2.0
|
2023-02-15 17:19:25 +00:00
|
|
|
Summary: Automation framework for local and remote execution
|
2020-05-06 14:00:39 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2020-02-12 07:13:14 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FE/FERKI/%{cpan_name}-%{version}.tar.gz
|
2015-06-16 05:00:52 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:52 +02:00
|
|
|
Source100: README.md
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2016-03-23 10:07:46 +00:00
|
|
|
BuildRequires: perl(AWS::Signature4)
|
2025-01-30 22:25:26 +00:00
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
2017-03-06 07:05:47 +00:00
|
|
|
BuildRequires: perl(Data::Validate::IP)
|
2016-03-23 10:07:46 +00:00
|
|
|
BuildRequires: perl(Devel::Caller)
|
2017-03-06 07:05:47 +00:00
|
|
|
BuildRequires: perl(Digest::HMAC_SHA1)
|
2021-07-26 05:38:34 +00:00
|
|
|
BuildRequires: perl(autodie)
|
2025-01-30 22:25:26 +00:00
|
|
|
#BuildRequires: perl(ExtUtils::MakeMaker) >= 7.11
|
2025-07-11 10:18:53 +00:00
|
|
|
BuildRequires: perl(File::ShareDir::Install) >= 0.60
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(HTTP::Request)
|
|
|
|
BuildRequires: perl(HTTP::Request::Common)
|
2015-06-16 05:00:52 +00:00
|
|
|
BuildRequires: perl(Hash::Merge)
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(IO::Pty)
|
2018-02-08 05:54:48 +00:00
|
|
|
BuildRequires: perl(JSON::MaybeXS)
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
2020-11-06 09:31:19 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.45
|
2023-03-10 10:43:56 +00:00
|
|
|
BuildRequires: perl(Module::Load::Conditional)
|
2020-09-07 10:01:36 +00:00
|
|
|
BuildRequires: perl(Module::Metadata)
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(Net::OpenSSH)
|
2017-03-06 07:05:47 +00:00
|
|
|
BuildRequires: perl(Net::OpenSSH::ShellQuoter)
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(Net::SFTP::Foreign)
|
2015-06-16 05:00:52 +00:00
|
|
|
BuildRequires: perl(Sort::Naturally)
|
2015-09-21 05:08:21 +00:00
|
|
|
BuildRequires: perl(String::Escape)
|
2023-02-15 17:19:25 +00:00
|
|
|
BuildRequires: perl(Sub::Override)
|
2015-06-16 05:00:52 +00:00
|
|
|
BuildRequires: perl(Term::ReadKey)
|
2016-03-23 10:07:46 +00:00
|
|
|
BuildRequires: perl(Test::Deep)
|
2023-02-15 17:19:25 +00:00
|
|
|
BuildRequires: perl(Test::Exception)
|
2020-09-07 10:01:36 +00:00
|
|
|
BuildRequires: perl(Test::Output)
|
|
|
|
BuildRequires: perl(Test::UseAllModules)
|
2025-07-11 10:18:53 +00:00
|
|
|
BuildRequires: perl(Test::Warnings) >= 0.33
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(Text::Glob)
|
2025-01-30 22:25:26 +00:00
|
|
|
#BuildRequires: perl(Text::Wrap) >= >= 0, != 2023.0509
|
2015-04-20 04:59:09 +00:00
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(URI::QueryParam)
|
|
|
|
BuildRequires: perl(XML::Simple)
|
2016-03-23 10:07:46 +00:00
|
|
|
BuildRequires: perl(version)
|
2020-03-14 08:23:28 +00:00
|
|
|
#BuildRequires: perl(YAML) >= >= 0, != 1.25
|
2016-03-23 10:07:46 +00:00
|
|
|
Requires: perl(AWS::Signature4)
|
2017-03-06 07:05:47 +00:00
|
|
|
Requires: perl(Data::Validate::IP)
|
2016-03-23 10:07:46 +00:00
|
|
|
Requires: perl(Devel::Caller)
|
2017-03-06 07:05:47 +00:00
|
|
|
Requires: perl(Digest::HMAC_SHA1)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(HTTP::Request)
|
|
|
|
Requires: perl(HTTP::Request::Common)
|
2015-06-16 05:00:52 +00:00
|
|
|
Requires: perl(Hash::Merge)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(IO::Pty)
|
2018-02-08 05:54:48 +00:00
|
|
|
Requires: perl(JSON::MaybeXS)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(LWP::UserAgent)
|
2020-11-06 09:31:19 +00:00
|
|
|
Requires: perl(List::Util) >= 1.45
|
2025-01-30 22:25:26 +00:00
|
|
|
Requires: perl(Module::Load::Conditional)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(Net::OpenSSH)
|
2017-03-06 07:05:47 +00:00
|
|
|
Requires: perl(Net::OpenSSH::ShellQuoter)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(Net::SFTP::Foreign)
|
2015-06-16 05:00:52 +00:00
|
|
|
Requires: perl(Sort::Naturally)
|
|
|
|
Requires: perl(Term::ReadKey)
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(Text::Glob)
|
2025-01-30 22:25:26 +00:00
|
|
|
#Requires: perl(Text::Wrap) >= >= 0, != 2023.0509
|
2015-04-20 04:59:09 +00:00
|
|
|
Requires: perl(URI)
|
|
|
|
Requires: perl(URI::QueryParam)
|
|
|
|
Requires: perl(XML::Simple)
|
2016-03-23 10:07:46 +00:00
|
|
|
Requires: perl(version)
|
2020-03-14 08:23:28 +00:00
|
|
|
#Requires: perl(YAML) >= >= 0, != 1.25
|
2015-04-20 04:59:09 +00:00
|
|
|
%{perl_requires}
|
2020-02-12 07:13:14 +00:00
|
|
|
# MANUAL BEGIN
|
2021-07-26 05:38:34 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) > 7.12
|
2023-07-11 13:11:41 +00:00
|
|
|
BuildRequires: git-core
|
2025-01-30 22:25:26 +00:00
|
|
|
BuildRequires: perl(Text::Wrap) > 2023.0509
|
2020-02-12 07:13:14 +00:00
|
|
|
BuildRequires: perl(YAML) > 1.25
|
2025-01-30 22:25:26 +00:00
|
|
|
Requires: perl(Text::Wrap) > 2023.0509
|
2020-02-12 07:13:14 +00:00
|
|
|
Requires: perl(YAML) > 1.25
|
|
|
|
# MANUAL END
|
2015-04-20 04:59:09 +00:00
|
|
|
|
|
|
|
%description
|
2020-02-12 07:13:14 +00:00
|
|
|
Rex is an automation framework that is friendly to any combinations of
|
|
|
|
local and remote execution, push and pull style of management, or
|
|
|
|
imperative and declarative approach.
|
2015-04-20 04:59:09 +00:00
|
|
|
|
2020-02-12 07:13:14 +00:00
|
|
|
Its flexibility makes it a great fit for many different use cases, but most
|
|
|
|
commonly Rex is used to automate application deployment and data center
|
|
|
|
infrastructure management tasks.
|
2016-03-23 10:07:46 +00:00
|
|
|
|
2020-02-12 07:13:14 +00:00
|
|
|
See Rex::Commands for a starting point of available built-in commands.
|
2016-03-23 10:07:46 +00:00
|
|
|
|
2020-02-12 07:13:14 +00:00
|
|
|
See at https://metacpan.org/pod/distribution/Rex/bin/rex for more
|
|
|
|
information about how to use rex on the command line.
|
2015-04-20 04:59:09 +00:00
|
|
|
|
|
|
|
%prep
|
2025-07-11 10:18:53 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
2015-04-20 04:59:09 +00:00
|
|
|
|
2023-07-11 13:11:41 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2023-03-10 10:43:56 +00:00
|
|
|
|
2015-04-20 04:59:09 +00:00
|
|
|
%build
|
2020-02-12 07:13:14 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-03-10 07:07:29 +00:00
|
|
|
%make_build
|
2015-04-20 04:59:09 +00:00
|
|
|
|
|
|
|
%check
|
2020-02-12 07:13:14 +00:00
|
|
|
make test
|
2015-04-20 04:59:09 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2020-02-12 07:13:14 +00:00
|
|
|
%doc ChangeLog CONTRIBUTING.md CONTRIBUTORS README
|
2017-03-06 07:05:47 +00:00
|
|
|
%license LICENSE
|
2015-04-20 04:59:09 +00:00
|
|
|
|
|
|
|
%changelog
|