source: projects/specs/trunk/p/perl-File-Slurp/perl-File-Slurp-vl.spec @ 9070

Revision 9070, 4.6 KB checked in by inagaki, 8 years ago (diff)

2014-11-08 Ryoichi INAGAKI <ryo1@…>

  • perl-File-{DesktopEntry?, MimeInfo?, Remove, Which, chmod}: updated
  • perl-Readonly: updated
  • perl-File-{Slurp, Tail}, perl-Readonly-XS: rebuilt


Line 
1Name:           perl-File-Slurp
2Version:        9999.19
3Release:        3%{?_dist_release}
4Summary:        Efficient Reading/Writing of Complete Files
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/File-Slurp/
8Source0:        http://www.cpan.org/modules/by-module/File/File-Slurp-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch: noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
14BuildRequires:  perl(Test::Pod) >= 1.14
15Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19Packager:       shaolin
20
21%{?perl_default_filter}
22
23%description
24This module provides subs that allow you to read or write entire files with
25one simple call. They are designed to be simple to use, have flexible ways
26to pass in or get the file contents and to be very efficient. There is also
27a sub to read in all the files in a directory other than . and ..
28
29These slurp/spew subs work for files, pipes and sockets, and stdio,
30pseudo-files, and DATA.
31
32%prep
33%setup -q -n File-Slurp-%{version}
34iconv -f iso8859-1 -t UTF-8 Changes > Changes~
35mv Changes~ Changes
36
37find \( -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
42make %{?_smp_mflags}
43
44%install
45rm -rf ${RPM_BUILD_ROOT}
46make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
47find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
48find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';'
49chmod -R u+w ${RPM_BUILD_ROOT}/*
50
51%check
52make test
53
54%clean
55rm -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* Sat Nov  8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 9999.19-3
66- rebuilt with perl 5.16.3
67
68* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 9999.19-2
69- rebuild
70
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).
Note: See TracBrowser for help on using the repository browser.