6 Star 0 Fork 0

OpenCloudOS Stream/perl-MooseX-Getopt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-MooseX-Getopt.spec 3.28 KB
一键复制 编辑 原始数据 按行查看 历史
fanjunkong 提交于 2024-07-02 22:50 . update
%bcond_with perl_MooseX_Getopt_enables_extra_test
Name: perl-MooseX-Getopt
Summary: Moose role for processing command line options
Version: 0.75
Release: 2%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/MooseX-Getopt
Source0: https://cpan.metacpan.org/modules/by-module/MooseX/MooseX-Getopt-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: sed
BuildRequires: perl(Carp)
BuildRequires: perl(Getopt::Long) >= 2.37
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
BuildRequires: perl(Moose)
BuildRequires: perl(Moose::Meta::Attribute)
BuildRequires: perl(Moose::Role) >= 0.56
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Role::Parameterized)
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(if)
BuildRequires: perl(List::Util)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moose::Meta::Class)
BuildRequires: perl(Moose::Util)
BuildRequires: perl(Path::Tiny) >= 0.009
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::Moose)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Needs)
BuildRequires: perl(Test::Requires) >= 0.05
BuildRequires: perl(Test::Trap)
BuildRequires: perl(Test::Warnings) >= 0.009
BuildRequires: perl(version)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
%if !0%{?perl_bootstrap} && %{with perl_MooseX_Getopt_enables_extra_test}
BuildRequires: perl(MooseX::ConfigFromFile) >= 0.08
BuildRequires: perl(MooseX::SimpleConfig) >= 0.07
BuildRequires: perl(MooseX::StrictConstructor)
%endif
BuildRequires: perl(YAML)
%{?perl_default_filter}
%description
This is a Moose role which provides an alternate constructor for creating
objects using parameters passed in from the command line.
%prep
%setup -q -n MooseX-Getopt-%{version}
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
chmod -c -x t/104_override_usage.t
%build
perl Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%check
./Build test
%files
%license LICENSE
%doc Changes CONTRIBUTING README t/
%{perl_vendorlib}/MooseX/
%{_mandir}/man3/MooseX::Getopt.3*
%{_mandir}/man3/MooseX::Getopt::Basic.3*
%{_mandir}/man3/MooseX::Getopt::Dashes.3*
%{_mandir}/man3/MooseX::Getopt::GLD.3*
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute.3*
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::NoGetopt.3*
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait.3*
%{_mandir}/man3/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3*
%{_mandir}/man3/MooseX::Getopt::OptionTypeMap.3*
%{_mandir}/man3/MooseX::Getopt::ProcessedArgv.3*
%{_mandir}/man3/MooseX::Getopt::Strict.3*
%changelog
* Tue Jul 02 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.75-2
- rebuild
* Thu Jun 20 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.75-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/perl-MooseX-Getopt.git
git@gitee.com:opencloudos-stream/perl-MooseX-Getopt.git
opencloudos-stream
perl-MooseX-Getopt
perl-MooseX-Getopt
master

搜索帮助