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

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