diff --git a/Getopt-Lucid-1.10.tar.gz b/Getopt-Lucid-1.10.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9e8512aa1795f063c2fdfaa156b606a9a48983a6 Binary files /dev/null and b/Getopt-Lucid-1.10.tar.gz differ diff --git a/perl-Getopt-Lucid.spec b/perl-Getopt-Lucid.spec new file mode 100644 index 0000000000000000000000000000000000000000..9c9d8cf94b349b698886d103df19bf1d59c66d31 --- /dev/null +++ b/perl-Getopt-Lucid.spec @@ -0,0 +1,68 @@ +Name: perl-Getopt-Lucid +Version: 1.10 +Release: 1 +Summary: Clear, readable syntax for command line processing +License: Apache-2.0 +URL: https://metacpan.org/release/Getopt-Lucid +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Getopt-Lucid-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exception::Class) >= 1.23 +BuildRequires: perl(Exception::Class::Base) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(List::Util) +BuildRequires: perl(Storable) >= 2.16 +# Tests: +# CPAN::Meta not useful +# CPAN::Meta::Prereqs not useful +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exception::Class::TryCatch) >= 1.10 +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(vars) +Requires: perl(Exception::Class::Base) + +%{?perl_default_filter} + +%description +The goal of this module is providing good code readability and clarity of +intent for command-line option processing. While readability is a subjective +standard, Getopt::Lucid relies on a more verbose, plain-English option +specification as compared against the more symbolic approach of Getopt::Long. + +%prep +%setup -q -n Getopt-Lucid-%{version} +chmod -x examples/cpanget + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes CONTRIBUTING.mkdn examples README Todo +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 01 2024 konglidong - 1.10-1 +- package init + diff --git a/perl-Getopt-Lucid.yaml b/perl-Getopt-Lucid.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1f7837b415568652ef3c5c07276a039a4c2ec628 --- /dev/null +++ b/perl-Getopt-Lucid.yaml @@ -0,0 +1,4 @@ +version_control: metacpan +src_repo: Getopt-Lucid +tag_prefix: "" +separator: "."