[5747] | 1 | Name: perl-File-Slurp |
---|
| 2 | Version: 9999.19 |
---|
[9070] | 3 | Release: 3%{?_dist_release} |
---|
[5747] | 4 | Summary: Efficient Reading/Writing of Complete Files |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/File-Slurp/ |
---|
| 8 | Source0: http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz |
---|
| 9 | |
---|
[9070] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5747] | 11 | BuildArch: noarch |
---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
---|
| 14 | BuildRequires: perl(Test::Pod) >= 1.14 |
---|
[9070] | 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[5747] | 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: shaolin |
---|
| 20 | |
---|
| 21 | %{?perl_default_filter} |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | This module provides subs that allow you to read or write entire files with |
---|
| 25 | one simple call. They are designed to be simple to use, have flexible ways |
---|
| 26 | to pass in or get the file contents and to be very efficient. There is also |
---|
| 27 | a sub to read in all the files in a directory other than . and .. |
---|
| 28 | |
---|
| 29 | These slurp/spew subs work for files, pipes and sockets, and stdio, |
---|
| 30 | pseudo-files, and DATA. |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n File-Slurp-%{version} |
---|
| 34 | iconv -f iso8859-1 -t UTF-8 Changes > Changes~ |
---|
| 35 | mv Changes~ Changes |
---|
| 36 | |
---|
| 37 | find \( -executable -a -type f \) -exec chmod -x {} \; |
---|
| 38 | %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' extras/slurp_bench.pl |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 42 | make %{?_smp_mflags} |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 46 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
---|
| 47 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';' |
---|
| 48 | find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 49 | chmod -R u+w ${RPM_BUILD_ROOT}/* |
---|
| 50 | |
---|
| 51 | %check |
---|
| 52 | make test |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-,root,root,-) |
---|
| 59 | # For license text(s), see the perl package. |
---|
| 60 | %doc Changes README extras/ |
---|
| 61 | %{perl_vendorlib}/File |
---|
| 62 | %{_mandir}/man3/* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[9070] | 65 | * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 9999.19-3 |
---|
| 66 | - rebuilt with perl 5.16.3 |
---|
| 67 | |
---|
[5798] | 68 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 9999.19-2 |
---|
| 69 | - rebuild |
---|
| 70 | |
---|
[5747] | 71 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 9999.19-1 |
---|
| 72 | - initial build for Vine Linux |
---|
| 73 | |
---|
| 74 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.19-3 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 9999.19-2 |
---|
| 78 | - Perl mass rebuild |
---|
| 79 | |
---|
| 80 | * Wed Jun 08 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.19-1 |
---|
| 81 | - Upstream update. |
---|
| 82 | |
---|
| 83 | * Sun May 15 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.18-1 |
---|
| 84 | - Upstream update. |
---|
| 85 | |
---|
| 86 | * Thu Apr 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.16-1 |
---|
| 87 | - Upstream update. |
---|
| 88 | |
---|
| 89 | * Tue Mar 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.15-1 |
---|
| 90 | - Upstream update. |
---|
| 91 | - Add perl_default_filter. |
---|
| 92 | - Fix encoding of "Changes". |
---|
| 93 | - Spec cleanup. |
---|
| 94 | |
---|
| 95 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-10 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-9 |
---|
| 99 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 100 | |
---|
| 101 | * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-8 |
---|
| 102 | - Mass rebuild with perl-5.12.0 |
---|
| 103 | |
---|
| 104 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 9999.13-7 |
---|
| 105 | - rebuild against perl 5.10.1 |
---|
| 106 | |
---|
| 107 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-6 |
---|
| 108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 109 | |
---|
| 110 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-5 |
---|
| 111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 112 | |
---|
| 113 | * Wed Jul 09 2008 Ralf Corsépius <rc040203@freenet.de> - 9999.13-4 |
---|
| 114 | - Re-activate tests. |
---|
| 115 | |
---|
| 116 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-3 |
---|
| 117 | - Rebuild for perl 5.10 (again) |
---|
| 118 | |
---|
| 119 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-2 |
---|
| 120 | - disable tests, due to wacky Fedora builders |
---|
| 121 | |
---|
| 122 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-1 |
---|
| 123 | - go to 9999.13 to fix build failures against perl 5.10.0 |
---|
| 124 | |
---|
| 125 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.12-4 |
---|
| 126 | - rebuild for new perl |
---|
| 127 | |
---|
| 128 | * Sun Sep 02 2007 Ralf Corsépius <rc040203@freenet.de> - 9999.12-3 |
---|
| 129 | - Update license tag. |
---|
| 130 | - BR: perl(ExtUtils::MakeMaker). |
---|
| 131 | |
---|
| 132 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-2 |
---|
| 133 | - Mass rebuild. |
---|
| 134 | |
---|
| 135 | * Sat Mar 18 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-1 |
---|
| 136 | - Upstream update. |
---|
| 137 | |
---|
| 138 | * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-2 |
---|
| 139 | - Rebuild for perl-5.8.8. |
---|
| 140 | |
---|
| 141 | * Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-1 |
---|
| 142 | - Upstream update. |
---|
| 143 | - BR perl(Test::Pod), perl(Test::Pod::Coverage). |
---|