1 Star 0 Fork 1

woody2918/perl-Params-CallbackRequest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Params-CallbackRequest.spec 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
woody2918 提交于 2024-03-05 05:26 . package init
%global _empty_manifest_terminate_build 0
Name: perl-Params-CallbackRequest
Version: 1.20
Release: 1
Summary: Functional and object-oriented callback architecture
License: GPL-1.0-only or Artistic-1.0-Perl
Group: Development/Libraries
URL: https://metacpan.org/dist/Params-CallbackRequest
Source0: https://www.cpan.org/modules/by-module/Params/Params-CallbackRequest-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl => 2.008001
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Attribute::Handlers)
BuildRequires: perl(Class::ISA)
BuildRequires: perl(Exception::Class)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Params::Validate)
BuildRequires: perl(Test::Simple)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
arams::CallbackRequest provides functional and object-oriented callbacks to method and function parameters. Callbacks may be either code references provided to the new() constructor, or methods defined in subclasses of Params::Callback. Callbacks are triggered either for every call to the Params::CallbackRequest request() method, or by specially named keys in the parameters to request().
%package help
Summary : Functional and object-oriented callback architecture
Provides: perl-Params-CallbackRequest
%description help
arams::CallbackRequest provides functional and object-oriented callbacks to method and function parameters. Callbacks may be either code references provided to the new() constructor, or methods defined in subclasses of Params::Callback. Callbacks are triggered either for every call to the Params::CallbackRequest request() method, or by specially named keys in the parameters to request().
%prep
%setup -q -n Params-CallbackRequest-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%check
make test
%files
%doc Changes META.yml
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Mar 6 2024 woody2918 <wudi1@uniontech.com> - 1.20-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woody2918/perl-Params-CallbackRequest.git
git@gitee.com:woody2918/perl-Params-CallbackRequest.git
woody2918
perl-Params-CallbackRequest
perl-Params-CallbackRequest
master

搜索帮助