commit 65192e94aed03ae28675c3f2858ac6bfff8674f4 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:12:50 2019 -0400 Package init diff --git a/MIME-Base64-3.15.tar.gz b/MIME-Base64-3.15.tar.gz new file mode 100644 index 0000000..1ace55d Binary files /dev/null and b/MIME-Base64-3.15.tar.gz differ diff --git a/perl-MIME-Base64.spec b/perl-MIME-Base64.spec new file mode 100644 index 0000000..193b35b --- /dev/null +++ b/perl-MIME-Base64.spec @@ -0,0 +1,56 @@ +Name: perl-MIME-Base64 +Version: 3.15 +Release: 418 +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 + +BuildRequires:perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Test) findutils make + +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 +* Thu Sep 12 2019 openEuler Buildteam - 3.15-418 +- Package init