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