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