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

Revision 12120, 4.7 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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