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