1 | Name: perl-File-Slurp |
---|
2 | Version: 9999.19 |
---|
3 | Release: 2%{?_dist_release} |
---|
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 | |
---|
10 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
11 | BuildArch: noarch |
---|
12 | |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
---|
15 | BuildRequires: perl(Test::Pod) >= 1.14 |
---|
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 |
---|
65 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 9999.19-2 |
---|
66 | - rebuild |
---|
67 | |
---|
68 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 9999.19-1 |
---|
69 | - initial build for Vine Linux |
---|
70 | |
---|
71 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.19-3 |
---|
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
73 | |
---|
74 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 9999.19-2 |
---|
75 | - Perl mass rebuild |
---|
76 | |
---|
77 | * Wed Jun 08 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.19-1 |
---|
78 | - Upstream update. |
---|
79 | |
---|
80 | * Sun May 15 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.18-1 |
---|
81 | - Upstream update. |
---|
82 | |
---|
83 | * Thu Apr 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.16-1 |
---|
84 | - Upstream update. |
---|
85 | |
---|
86 | * Tue Mar 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 9999.15-1 |
---|
87 | - Upstream update. |
---|
88 | - Add perl_default_filter. |
---|
89 | - Fix encoding of "Changes". |
---|
90 | - Spec cleanup. |
---|
91 | |
---|
92 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-10 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-9 |
---|
96 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
97 | |
---|
98 | * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 9999.13-8 |
---|
99 | - Mass rebuild with perl-5.12.0 |
---|
100 | |
---|
101 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 9999.13-7 |
---|
102 | - rebuild against perl 5.10.1 |
---|
103 | |
---|
104 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-6 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
106 | |
---|
107 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9999.13-5 |
---|
108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
109 | |
---|
110 | * Wed Jul 09 2008 Ralf Corsépius <rc040203@freenet.de> - 9999.13-4 |
---|
111 | - Re-activate tests. |
---|
112 | |
---|
113 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-3 |
---|
114 | - Rebuild for perl 5.10 (again) |
---|
115 | |
---|
116 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-2 |
---|
117 | - disable tests, due to wacky Fedora builders |
---|
118 | |
---|
119 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.13-1 |
---|
120 | - go to 9999.13 to fix build failures against perl 5.10.0 |
---|
121 | |
---|
122 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 9999.12-4 |
---|
123 | - rebuild for new perl |
---|
124 | |
---|
125 | * Sun Sep 02 2007 Ralf Corsépius <rc040203@freenet.de> - 9999.12-3 |
---|
126 | - Update license tag. |
---|
127 | - BR: perl(ExtUtils::MakeMaker). |
---|
128 | |
---|
129 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-2 |
---|
130 | - Mass rebuild. |
---|
131 | |
---|
132 | * Sat Mar 18 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.12-1 |
---|
133 | - Upstream update. |
---|
134 | |
---|
135 | * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-2 |
---|
136 | - Rebuild for perl-5.8.8. |
---|
137 | |
---|
138 | * Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 9999.11-1 |
---|
139 | - Upstream update. |
---|
140 | - BR perl(Test::Pod), perl(Test::Pod::Coverage). |
---|