commit e60f1b83146935252cc33c9cd14b02b82556de8c Author: Adam Samalik Date: Mon May 8 11:10:58 2023 +0200 import sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce6517c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Convert-Base64-0.001.tar.gz diff --git a/perl-Convert-Base64.spec b/perl-Convert-Base64.spec new file mode 100644 index 0000000..83a3f6c --- /dev/null +++ b/perl-Convert-Base64.spec @@ -0,0 +1,63 @@ +Name: perl-Convert-Base64 +Version: 0.001 +Release: 5%{?dist} +Summary: Encoding and decoding of Base64 strings +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Convert-Base64/ +Source0: http://www.cpan.org/authors/id/R/RO/ROBN/Convert-Base64-%{version}.tar.gz +BuildArch: noarch +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Exporter) +BuildRequires: perl(MIME::Base64) +# Tests: +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This Perl module provides functions to convert strings to and from the Base64 +encoding as described in RFC 4648. + +%prep +%setup -q -n Convert-Base64-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 0.001-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.001-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.001-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.001-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Nov 11 2016 Petr Pisar 0.001-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..f9731f1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Convert-Base64-0.001.tar.gz) = 3355055631572b49b483515828147414692a68d50222322db6d84e1d46f40404ce8ec2a5283389d328415ef8703304e92d61566e61e555e88a657490e4e6e0c9