57 lines
1.4 KiB
RPMSpec
57 lines
1.4 KiB
RPMSpec
|
|
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 <buildteam@openeuler.org> - 3.15-418
|
||
|
|
- Package init
|