File perl-Perinci-Sub-Complete.spec of Package perl-Perinci-Sub-Complete

#
# spec file for package perl-Perinci-Sub-Complete
#
# Copyright (c) 2022 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 Perinci-Sub-Complete
Name:           perl-Perinci-Sub-Complete
Version:        0.946
Release:        0
License:        Artistic-1.0 OR GPL-1.0-or-later
Summary:        Complete command-line argument using Rinci metadata
URL:            https://metacpan.org/release/%{cpan_name}
Source0:        https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Complete::Bash) >= 0.333
BuildRequires:  perl(Complete::Common) >= 0.22
BuildRequires:  perl(Complete::Getopt::Long) >= 0.481
BuildRequires:  perl(Complete::Sah) >= 0.007
BuildRequires:  perl(Complete::Util) >= 0.608
BuildRequires:  perl(Data::Sah::Normalize) >= 0.051
BuildRequires:  perl(Log::ger) >= 0.038
BuildRequires:  perl(Module::Installed::Tiny) >= 0.011
BuildRequires:  perl(Monkey::Patch::Action) >= 0.060
BuildRequires:  perl(Perinci::Examples) >= 0.822
BuildRequires:  perl(Perinci::Sub::GetArgs::Argv) >= 0.846
BuildRequires:  perl(Perinci::Sub::Normalize) >= 0.201
BuildRequires:  perl(Perinci::Sub::Util) >= 0.470
BuildRequires:  perl(Test::More) >= 0.98
Requires:       perl(Complete::Common) >= 0.22
Requires:       perl(Complete::Getopt::Long) >= 0.481
Requires:       perl(Complete::Sah) >= 0.007
Requires:       perl(Complete::Util) >= 0.608
Requires:       perl(Data::Sah::Normalize) >= 0.051
Requires:       perl(Log::ger) >= 0.038
Requires:       perl(Module::Installed::Tiny) >= 0.011
Requires:       perl(Perinci::Sub::GetArgs::Argv) >= 0.846
Requires:       perl(Perinci::Sub::Util) >= 0.470
%{perl_requires}

%description
Complete command-line argument using Rinci metadata

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

%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
%license LICENSE

%changelog
openSUSE Build Service is sponsored by