perl-File-Slurper/perl-File-Slurper.spec
2016-02-04 13:41:55 +00:00

57 lines
1.5 KiB
RPMSpec

Name: perl-File-Slurper
Version: 0.008
Release: 2%{?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
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Sep 08 2015 Petr Šabata <contyk@redhat.com> 0.008-1
- Initial packaging