1 Star 0 Fork 2

konglidong/perl-Getopt-Lucid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Getopt-Lucid.spec 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
konglidong 提交于 2024-04-01 10:58 . package init
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 <konglidong@uniontech.com> - 1.10-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konglidong/perl-Getopt-Lucid.git
git@gitee.com:konglidong/perl-Getopt-Lucid.git
konglidong
perl-Getopt-Lucid
perl-Getopt-Lucid
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385