2019-09-30 11:12:50 -04:00
|
|
|
Name: perl-MIME-Base64
|
2021-12-25 16:09:02 +08:00
|
|
|
Version: 3.16
|
2022-10-25 07:37:39 +00:00
|
|
|
Release: 2
|
2019-09-30 11:12:50 -04:00
|
|
|
Summary: Encoding and decoding of base64 strings
|
|
|
|
|
License: (GPL+ or Artistic) and MIT
|
|
|
|
|
URL: https://metacpan.org/release/MIME-Base64
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/MIME-Base64-%{version}.tar.gz
|
|
|
|
|
|
2020-05-13 17:25:34 +08:00
|
|
|
BuildRequires:perl-generators perl-interpreter perl-devel
|
2021-06-23 11:33:57 +08:00
|
|
|
BuildRequires:perl(ExtUtils::MakeMaker) >= 6.76 perl(Test) findutils make gcc
|
2019-09-30 11:12:50 -04:00
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provides functions to encode and decode strings into and from the base64 encoding
|
|
|
|
|
specified in RFC 2045 - MIME (Multipurpose Internet Mail Extensions). The base64 encoding is
|
|
|
|
|
designed to represent arbitrary sequences of octets in a form that need not be humanly readable.
|
|
|
|
|
A 65-character subset ([A-Za-z0-9+/=]) of US-ASCII is used, enabling 6 bits to be represented per printable character.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n MIME-Base64-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README
|
|
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-10-25 07:37:39 +00:00
|
|
|
* Tue Oct 25 2022 wangjiang <wangjiang37@h-partners.com> - 3.16-2
|
|
|
|
|
- Rebuild for next release
|
|
|
|
|
|
2021-12-25 16:09:02 +08:00
|
|
|
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 3.16-1
|
|
|
|
|
- upgrade version to 3.16
|
|
|
|
|
|
2021-06-23 11:33:57 +08:00
|
|
|
* Wed Jun 23 2021 liudabo <liudabo1@huawei.com> - 3.15-420
|
|
|
|
|
- Add gcc build dependcy
|
|
|
|
|
|
2020-05-13 17:25:34 +08:00
|
|
|
* Wed May 13 2020 licunlong <licunlong1@huawei.com> - 3.15-419
|
|
|
|
|
- add perl-devel buildrequire
|
|
|
|
|
|
2019-09-30 11:12:50 -04:00
|
|
|
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.15-418
|
|
|
|
|
- Package init
|