Initial import (#1261063)

This commit is contained in:
Petr Šabata 2015-09-09 15:14:22 +02:00
parent 6167645a74
commit 4266d267e3
3 changed files with 55 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/File-Slurper-0.008.tar.gz

53
perl-File-Slurper.spec Normal file
View File

@ -0,0 +1,53 @@
Name: perl-File-Slurper
Version: 0.008
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
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(PerlIO::utf8_strict)
# Tests only
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
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
* Tue Sep 08 2015 Petr Šabata <contyk@redhat.com> 0.008-1
- Initial packaging

View File

@ -0,0 +1 @@
6e4f8ab76e38dc3f3fec6a0f575bf132 File-Slurper-0.008.tar.gz