perl-MIME-Base64/perl-MIME-Base64.spec

64 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:12:50 -04:00
Name: perl-MIME-Base64
Version: 3.15
2021-06-23 11:33:57 +08:00
Release: 420
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
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