Blame SPECS/perl-MIME-Base64.spec

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