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 0.008-1 - Initial packaging