From 9aa48d5335541267fe43759f89c5a982e93e9a55 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 8 May 2023 11:27:56 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + perl-File-Slurper.spec | 88 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 perl-File-Slurper.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52ac3c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/File-Slurper-0.012.tar.gz diff --git a/perl-File-Slurper.spec b/perl-File-Slurper.spec new file mode 100644 index 0000000..4a6731c --- /dev/null +++ b/perl-File-Slurper.spec @@ -0,0 +1,88 @@ +Name: perl-File-Slurper +Version: 0.012 +Release: 1%{?dist} +Summary: Simple, sane and efficient module to slurp a file +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/File-Slurper/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/File-Slurper-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Encode) >= 2.11 +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(PerlIO::encoding) +BuildRequires: perl(PerlIO::utf8_strict) +# Tests only +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Warnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Recommends: perl(PerlIO::utf8_strict) + +%description +This module provides functions for fast and correct slurping and spewing. +All functions are optionally exported. + +%prep +%setup -q -n File-Slurper-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Feb 21 2018 Jitka Plesnikova - 0.012-1 +- 0.012 bump + +* Thu Feb 08 2018 Fedora Release Engineering - 0.011-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Dec 19 2017 Jitka Plesnikova - 0.011-1 +- 0.011 bump + +* Mon Sep 18 2017 Jitka Plesnikova - 0.010-1 +- 0.010 bump + +* Thu Jul 27 2017 Fedora Release Engineering - 0.009-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 0.009-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.009-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Aug 08 2016 Jitka Plesnikova - 0.009-1 +- 0.009 bump + +* Sun May 15 2016 Jitka Plesnikova - 0.008-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.008-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Sep 08 2015 Petr Ĺ abata 0.008-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..f660238 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (File-Slurper-0.012.tar.gz) = 276b510c85b4e28fff4b8bd77c81031367b073426138743efb5d54fe01fa9825409f86090788779e96625b43207d1f864f348cc11554c51d36868dfed568f2bb