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