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