File perl-Ixchel.spec of Package perl-Ixchel

#
# spec file for package perl-Ixchel
#
# 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 Ixchel
Name:           perl-Ixchel
Version:        0.12.2
Release:        0
License:        GPL-1.0-or-later
Summary:        Automate various sys admin stuff
URL:            https://metacpan.org/release/%{cpan_name}
Source0:        https://cpan.metacpan.org/authors/id/V/VV/VVELOX/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Config::Tiny)
BuildRequires:  perl(File::Find::Rule)
BuildRequires:  perl(File::ShareDir)
BuildRequires:  perl(File::ShareDir::Install)
BuildRequires:  perl(File::Slurp)
BuildRequires:  perl(Hash::Merge)
BuildRequires:  perl(JSON)
BuildRequires:  perl(JSON::Path)
BuildRequires:  perl(LWP::Protocol::https)
BuildRequires:  perl(LWP::Simple)
BuildRequires:  perl(Module::List)
BuildRequires:  perl(Pod::Parser)
BuildRequires:  perl(Rex) >= v1.14.3
BuildRequires:  perl(String::ShellQuote)
BuildRequires:  perl(Template) >= 3.101
BuildRequires:  perl(YAML::XS)
BuildRequires:  perl(YAML::yq::Helper) >= v0.2.0
Requires:       perl(Config::Tiny)
Requires:       perl(File::Find::Rule)
Requires:       perl(File::ShareDir)
Requires:       perl(File::Slurp)
Requires:       perl(Hash::Merge)
Requires:       perl(JSON)
Requires:       perl(JSON::Path)
Requires:       perl(LWP::Protocol::https)
Requires:       perl(LWP::Simple)
Requires:       perl(Module::List)
Requires:       perl(Pod::Parser)
Requires:       perl(Rex) >= v1.14.3
Requires:       perl(String::ShellQuote)
Requires:       perl(Template) >= 3.101
Requires:       perl(YAML::XS)
Requires:       perl(YAML::yq::Helper) >= v0.2.0
%{perl_requires}

%description
Automate various sys admin stuff.

%prep
%autosetup  -n %{cpan_name}-%{version}

find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644

%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build

%check
make test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README.md

%changelog
openSUSE Build Service is sponsored by