2019-09-30 11:11:45 -04:00
|
|
|
Name: perl-Compress-Raw-Zlib
|
2020-05-13 16:40:31 +08:00
|
|
|
Epoch: 1
|
2021-01-27 14:52:05 +08:00
|
|
|
Version: 2.100
|
2021-07-22 10:03:12 +08:00
|
|
|
Release: 2
|
2019-09-30 11:11:45 -04:00
|
|
|
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 or Artistic) 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
|
|
|
|
|
|
2021-07-22 10:03:12 +08:00
|
|
|
BuildRequires: gcc perl(ExtUtils::MakeMaker) perl-interpreter perl-generators zlib-devel
|
2019-09-30 11:11:45 -04:00
|
|
|
#for test
|
2020-05-13 16:40:31 +08:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00 perl-devel
|
2019-09-30 11:11:45 -04:00
|
|
|
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
|
2021-07-22 10:03:12 +08:00
|
|
|
* Thu Jul 22 2021 liudabo <liudabo1@huawei.com> - 2.100-2
|
|
|
|
|
- remove gdb build dependency
|
|
|
|
|
|
2021-01-27 14:52:05 +08:00
|
|
|
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 2.100-1
|
|
|
|
|
- upgrade version to 2.100
|
|
|
|
|
|
2020-07-23 10:51:39 +08:00
|
|
|
*Thu Jul 23 2020 shixuantong<shixuantong@huawei.com> - 2.095-1
|
|
|
|
|
- Type:NA
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 2.095-1
|
|
|
|
|
|
2020-05-13 16:40:31 +08:00
|
|
|
* 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
|
|
|
|
|
|
2019-09-30 11:11:45 -04:00
|
|
|
* 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
|