290326
Name:           perl-File-Slurp
290326
Version:        9999.19
f4d6a1
Release:        6%{?dist}
290326
Summary:        Efficient Reading/Writing of Complete Files
290326
License:        GPL+ or Artistic
290326
Group:          Development/Libraries
290326
URL:            http://search.cpan.org/dist/File-Slurp/
290326
Source0:        http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
290326
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
290326
BuildArch:      noarch
290326
BuildRequires:  perl
290326
BuildRequires:  perl(ExtUtils::MakeMaker)
290326
BuildRequires:  perl(strict)
290326
# Run-time
290326
BuildRequires:  perl(B)
290326
BuildRequires:  perl(Carp)
290326
BuildRequires:  perl(Errno)
290326
BuildRequires:  perl(Exporter)
290326
BuildRequires:  perl(Fcntl)
290326
BuildRequires:  perl(overload)
290326
BuildRequires:  perl(POSIX)
290326
BuildRequires:  perl(re)
290326
BuildRequires:  perl(strict)
290326
BuildRequires:  perl(warnings)
290326
# Tests
290326
BuildRequires:  perl(Data::Dumper)
290326
BuildRequires:  perl(IO::Handle)
290326
BuildRequires:  perl(lib)
290326
BuildRequires:  perl(Socket)
290326
BuildRequires:  perl(Symbol)
290326
BuildRequires:  perl(Test::More)
290326
BuildRequires:  perl(UNIVERSAL)
290326
# Optional tests
290326
BuildRequires:  perl(Test::Pod) >= 1.14
290326
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
290326
Requires:       perl(B)
290326
Requires:       perl(overload)
290326
290326
%{?perl_default_filter}
290326
290326
%description
290326
This module provides subs that allow you to read or write entire files with
290326
one simple call. They are designed to be simple to use, have flexible ways
290326
to pass in or get the file contents and to be very efficient. There is also
290326
a sub to read in all the files in a directory other than . and ..
290326
290326
These slurp/spew subs work for files, pipes and sockets, and stdio, 
290326
pseudo-files, and DATA.
290326
290326
%prep
290326
%setup -q -n File-Slurp-%{version}
290326
iconv -f iso8859-1 -t UTF-8 Changes > Changes~ && \
290326
    touch -r Changes Changes~ && \
290326
    mv Changes~ Changes
290326
290326
find \( -executable -a -type f \) -exec chmod -x {} +
290326
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' extras/slurp_bench.pl
290326
290326
%build
290326
perl Makefile.PL INSTALLDIRS=vendor
290326
make %{?_smp_mflags}
290326
290326
%install
290326
make pure_install DESTDIR=%{buildroot}
290326
find %{buildroot} -type f -name .packlist -exec rm -f {} +
290326
chmod -R u+w %{buildroot}/*
290326
290326
%check
290326
make test
290326
290326
%files
290326
%doc Changes README TODO extras/
290326
%{perl_vendorlib}/File
290326
%{_mandir}/man3/*
290326
290326
%changelog
f4d6a1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 9999.19-6
f4d6a1
- Mass rebuild 2013-12-27
f4d6a1
290326
* Mon Jul 22 2013 Petr Šabata <contyk@redhat.com> - 9999.19-5.2
290326
- Fix the dependency list
290326
- Add TODO to %%doc
290326
290326
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 9999.19-5.1
290326
- Rebuild for perl 5.16
290326
290326
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.19-5
290326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
290326
290326
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 9999.19-4
290326
- Perl 5.16 rebuild
290326
- Specify all dependencies
290326
290326
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.19-3
290326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
290326
290326
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 9999.19-2
290326
- Perl mass rebuild
290326
290326
* Wed Jun 08 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.19-1
290326
- Upstream update.
290326
290326
* Sun May 15 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.18-1
290326
- Upstream update.
290326
290326
* Thu Apr 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.16-1
290326
- Upstream update.
290326
290326
* Tue Mar 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.15-1
290326
- Upstream update.
290326
- Add perl_default_filter.
290326
- Fix encoding of "Changes".
290326
- Spec cleanup.
290326
290326
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-10
290326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
290326
290326
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-9
290326
- 661697 rebuild for fixing problems with vendorach/lib
290326
290326
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-8
290326
- Mass rebuild with perl-5.12.0
290326
290326
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 9999.13-7
290326
- rebuild against perl 5.10.1
290326
290326
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-6
290326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
290326
290326
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-5
290326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
290326
290326
* Wed Jul 09 2008 Ralf Corsépius <rc040203@freenet.de> - 9999.13-4
290326
- Re-activate tests.
290326
290326
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-3
290326
- Rebuild for perl 5.10 (again)
290326
290326
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-2
290326
- disable tests, due to wacky Fedora builders
290326
290326
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-1
290326
- go to 9999.13 to fix build failures against perl 5.10.0
290326
290326
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.12-4
290326
- rebuild for new perl
290326
290326
* Sun Sep 02 2007 Ralf Corsépius <rc040203@freenet.de> - 9999.12-3
290326
- Update license tag.
290326
- BR: perl(ExtUtils::MakeMaker).
290326
290326
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-2
290326
- Mass rebuild.
290326
290326
* Sat Mar 18 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-1
290326
- Upstream update.
290326
290326
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-2
290326
- Rebuild for perl-5.8.8.
290326
290326
* Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-1
290326
- Upstream update.
290326
- BR perl(Test::Pod), perl(Test::Pod::Coverage).