12 Star 0 Fork 16

src-openEuler/perl-Compress-Raw-Zlib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Compress-Raw-Zlib.spec 2.82 KB
一键复制 编辑 原始数据 按行查看 历史
zhaosai 提交于 2024-11-18 11:18 . upgrade version to 2.213
Name: perl-Compress-Raw-Zlib
Epoch: 1
Version: 2.213
Release: 1
Summary: Provides a Perl interface to the zlib compression library
# source code in tarball have different license
# not used
# zlib-src: zlib
# Others: GPL+ or Artistic
License: GPL-1.0-or-later and zlib
URL: https://metacpan.org/release/Compress-Raw-Zlib
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
BuildRequires: gcc perl(ExtUtils::MakeMaker) perl-interpreter perl-generators zlib-devel
#for test
BuildRequires: perl(Test::Pod) >= 1.00 perl-devel
Requires: perl(XSLoader) perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
%description
This module provides a Perl interface to the zlib compression library.
%package_help
%prep
%autosetup -n Compress-Raw-Zlib-%{version} -p1
%build
#change config as introduce in README
BUILD_ZLIB=False
ZLIB_INCLUDE=%{_includedir}
ZLIB_LIB=%{_libdir}
OLD_ZLIB=False
export BUILD_ZLIB ZLIB_INCLUDE ZLIB_LIB OLD_ZLIB
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test TEST_VERBOSE=1 COMPRESS_ZLIB_RUN_ALL=1
%files
%doc README
%{perl_vendorarch}/*/*/*.pm
%{perl_vendorarch}/*/*/*/*/*.so
%files help
%doc Changes
%{_mandir}/man3/*
%changelog
* Mon Nov 18 2024 zhaosaisai <zhaosaisai@kylinos.cn> - 1:2.213-1
- upgrade version to 2.213
- add zlib-ng 2.1.7 & 2.2.0 & 2.2.1 to workflow
- remove Werror from clang legacy builds
- use -xc++ when building with C++
- add perl 5.40 to workflows
* Tue Jul 30 2024 wuzhaomin <wuzhaomin@kylinos.cn> - 1:2.212-1
- upgrade version to 2.212
- Add author & absrtract to Makefile.PL & meta.*
- Fix for READMEmd target
- Fix build failure with "c++-compat" warnings
* Thu Dec 28 2023 renhongxun <renhongxun@h-partners.com> - 1:2.206-1
- upgrade version to 2.206
* Thu Jul 20 2023 renhongxun <renhongxun@h-partners.com> - 1:2.205-1
- upgrade version to 2.205
* Tue Oct 18 2022 renhongxun <renhongxun@h-partners.com> - 1:2.202-1
- upgrade version to 2.202
* Mon Nov 15 2021 yuanxin <yuanxin24@huawei.com> - 2.101-1
- upgrade version to 2.101
* Thu Jul 22 2021 liudabo <liudabo1@huawei.com> - 2.100-2
- remove gdb build dependency
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 2.100-1
- upgrade version to 2.100
*Thu Jul 23 2020 shixuantong<shixuantong@huawei.com> - 2.095-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:update to 2.095-1
* Wed May 13 2020 shenyangyang<shenyangyang4@huawei.com> - 1:2.081-7
- Type:enhancement
- ID:NA
- SUG:restart
- DESC:add build requires of perl-devel and add Epoch for updating
* Thu Sep 5 2019 shenyangyang<shenyangyang4@huawei.com> - 2.081-6
- Type:enhancement
- ID:NA
- SUG:restart
- DESC:modify license
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.081-5
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Compress-Raw-Zlib.git
git@gitee.com:src-openeuler/perl-Compress-Raw-Zlib.git
src-openeuler
perl-Compress-Raw-Zlib
perl-Compress-Raw-Zlib
master

搜索帮助