1 Star 0 Fork 1

konglidong/perl-MooX-Singleton

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-MooX-Singleton.spec 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
konglidong 提交于 2024-04-02 10:33 . package init
Name: perl-MooX-Singleton
Version: 1.20
Release: 1
Summary: Turn your Moo class into singleton
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/MooX-Singleton
Source0: https://cpan.metacpan.org/authors/id/A/AJ/AJGB/MooX-Singleton-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(Role::Tiny)
# Tests
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Moo)
BuildRequires: perl(Test::More)
%description
This is a Moo role that provides "instance" method turning your object
into singleton.
%prep
%setup -q -n MooX-Singleton-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Apr 02 2024 konglidong <konglidong@uniontech.com> - 1.20-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konglidong/perl-MooX-Singleton.git
git@gitee.com:konglidong/perl-MooX-Singleton.git
konglidong
perl-MooX-Singleton
perl-MooX-Singleton
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385