d730e9
Name:           perl-MIME-Base64
d730e9
Version:        3.15
d730e9
Release:        1001%{?dist}
d730e9
Summary:        Encoding and decoding of Base64 and quoted-printable strings
d730e9
# Base.xs:      (GPL+ or Artistic) and MIT (Bellcore's part)
d730e9
# Other files:  GPL+ or Artistic
d730e9
License:        (GPL+ or Artistic) and MIT
d730e9
Group:          Development/Libraries
d730e9
URL:            http://search.cpan.org/dist/MIME-Base64/
d730e9
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-%{version}.tar.gz
d730e9
BuildRequires:  coreutils
d730e9
BuildRequires:  findutils
d730e9
BuildRequires:  make
d730e9
BuildRequires:  perl-interpreter
d730e9
BuildRequires:  perl-devel
d730e9
BuildRequires:  perl-generators
d730e9
BuildRequires:  perl(ExtUtils::MakeMaker)
d730e9
# Run-time:
d730e9
BuildRequires:  perl(Exporter)
d730e9
BuildRequires:  perl(strict)
d730e9
BuildRequires:  perl(vars)
d730e9
BuildRequires:  perl(XSLoader)
d730e9
# Tests:
d730e9
BuildRequires:  perl(Encode)
d730e9
BuildRequires:  perl(Test)
d730e9
# Optional tests:
d730e9
# Perl::API not yet packaged and does not work since perl 5.8.8
d730e9
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
d730e9
Conflicts:      perl < 4:5.22.0-347
d730e9
d730e9
%description
d730e9
This package contains a Base64 encoder/decoder and a quoted-printable
d730e9
encoder/decoder. These encoding methods are specified in RFC 2045 - MIME
d730e9
(Multipurpose Internet Mail Extensions).
d730e9
d730e9
%prep
d730e9
%setup -q -n MIME-Base64-%{version}
d730e9
d730e9
%build
d730e9
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
d730e9
make %{?_smp_mflags}
d730e9
d730e9
%install
d730e9
make pure_install DESTDIR=$RPM_BUILD_ROOT
d730e9
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
d730e9
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
d730e9
%{_fixperms} $RPM_BUILD_ROOT/*
d730e9
d730e9
%check
d730e9
make test
d730e9
d730e9
%files
d730e9
%doc Changes README
d730e9
%{perl_vendorarch}/auto/*
d730e9
%{perl_vendorarch}/MIME*
d730e9
%{_mandir}/man3/*
d730e9
d730e9
%changelog
d730e9
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.15-1001
d730e9
- Rebuild with enable hardening (bug #1636329)
d730e9
d730e9
* Thu Aug 23 2018 Petr Pisar <ppisar@redhat.com> - 3.15-1000
d730e9
- Increase release not to clash with perl-bootstrap:5.24 subpackages
d730e9
  (bug #1620197)
d730e9
d730e9
* Fri Apr 27 2018 Petr Pisar <ppisar@redhat.com> - 3.15-398
d730e9
- Increase release not to clash with perl-bootstrap:5.24 subpackages
d730e9
d730e9
* Wed Mar 28 2018 Petr Pisar <ppisar@redhat.com> - 3.15-397
d730e9
- Increase release not to clash with perl-bootstrap:5.24 subpackages
d730e9
d730e9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-396
d730e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d730e9
d730e9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-395
d730e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d730e9
d730e9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-394
d730e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d730e9
d730e9
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.15-393
d730e9
- Perl 5.26 rebuild
d730e9
d730e9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-366
d730e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d730e9
d730e9
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.15-365
d730e9
- Increase release to favour standalone package
d730e9
d730e9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-349
d730e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d730e9
d730e9
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 3.15-348
d730e9
- Specfile autogenerated by cpanspec 1.78.