1 Star 0 Fork 3

Lin_vy/perl-Compress-LZ4

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Compress-LZ4.spec 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
%global _empty_manifest_terminate_build 0
%global desc The Compress::LZ4 module provides an interface to the LZ4 (de)compressor.
Name: perl-Compress-LZ4
Version: 0.25
Release: 2
Summary: Perl interface to the LZ4 (de)compressor
License: Perl License
Group: Development/Libraries
URL: http://search.cpan.org/dist/Compress-LZ4/
Source0: http://www.cpan.org/authors/id/G/GR/GRAY/Compress-LZ4-%{version}.tar.gz
BuildRequires: perl-generators
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.82
BuildRequires: perl(XSLoader)
Requires: perl(Exporter) >= 5.57
Requires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
%{desc}
%package help
Summary : Perl interface to the LZ4 (de)compressor
Provides: perl-Compress-LZ4-doc
%description help
%{desc}
%prep
%setup -q -n Compress-LZ4-%{version}
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
export PERL_MM_OPT=""
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc Changes META.json README ex
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Compress*
%{_mandir}/*
%changelog
* Fri Jul 16 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.25-1
- Specfile autogenerated by Perl_Bot
* Fri Jul 17 Lin_vy <linvyforforum001@openeuler.org> 0.25-2
- Modify the License's value.
- Adjusted the %description.
- Optimized part of the code.
- Added the help manual in the spec file.
- Added the ex
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lin_vy/perl-Compress-LZ4.git
git@gitee.com:lin_vy/perl-Compress-LZ4.git
lin_vy
perl-Compress-LZ4
perl-Compress-LZ4
master

搜索帮助