1 | Name: perl-Text-CSV |
---|
2 | Version: 1.32 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Comma-separated values manipulator |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ or Artistic |
---|
8 | URL: http://search.cpan.org/dist/Text-CSV/ |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/Text-CSV-%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | # For test suite |
---|
15 | BuildRequires: perl(Test::Harness) |
---|
16 | BuildRequires: perl(Test::More) |
---|
17 | BuildRequires: perl(IO::Handle) |
---|
18 | |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | Requires: perl(IO::Handle) |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: shaolin |
---|
27 | |
---|
28 | %{?perl_default_filter} |
---|
29 | |
---|
30 | %description |
---|
31 | Text::CSV provides facilities for the composition and decomposition of |
---|
32 | comma-separated values. An instance of the Text::CSV class can combine |
---|
33 | fields into a CSV string and parse a CSV string into fields. |
---|
34 | |
---|
35 | The module accepts either strings or files as input and can utilize any |
---|
36 | user-specified characters as delimiters, separators, and escapes so it is |
---|
37 | perhaps better called ASV (anything separated values) rather than just CSV. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q -n Text-CSV-%{version} |
---|
41 | |
---|
42 | %build |
---|
43 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
44 | %{__make} %{?_smp_mflags} |
---|
45 | |
---|
46 | %check |
---|
47 | %{__make} test TEST_VERBOSE=1 |
---|
48 | |
---|
49 | %install |
---|
50 | %{__rm} -rf %{buildroot} |
---|
51 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
52 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
53 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
54 | %{__chmod} -R u+w %{buildroot}/* |
---|
55 | |
---|
56 | %clean |
---|
57 | %{__rm} -rf %{buildroot} |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %doc Changes README |
---|
62 | %{perl_vendorlib}/* |
---|
63 | %{_mandir}/man3/*.3* |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.32-1 |
---|
67 | - updated to 1.32 |
---|
68 | - built with perl 5.16.3 |
---|
69 | |
---|
70 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.21-1 |
---|
71 | - initial build for Vine Linux |
---|
72 | |
---|
73 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-3 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
75 | |
---|
76 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.21-2 |
---|
77 | - Perl mass rebuild |
---|
78 | |
---|
79 | * Tue Apr 05 2011 Johan Vromans <jvromans@squirrel.nl> 1.21-1 |
---|
80 | - Upgrade to upstream 1.21. |
---|
81 | |
---|
82 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
84 | |
---|
85 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.18-2 |
---|
86 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
87 | |
---|
88 | * Thu Jul 1 2010 Johan Vromans - 1.18-1 |
---|
89 | - Upgrade to upstream 1.18. |
---|
90 | |
---|
91 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-2 |
---|
92 | - Mass rebuild with perl-5.12.0 |
---|
93 | |
---|
94 | * Wed Mar 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.16-1 |
---|
95 | - PERL_INSTALL_ROOT => DESTDIR, add perl_default_filter |
---|
96 | - auto-update to 1.16 (by cpan-spec-update 0.01) (for DBIx::Class) |
---|
97 | - added a new br on perl(Test::Harness) (version 0) |
---|
98 | |
---|
99 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.10-3 |
---|
100 | - rebuild against perl 5.10.1 |
---|
101 | |
---|
102 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
104 | |
---|
105 | * Sat Jan 31 2009 Johan Vromans <jvromans@squirrel.nl> 1.10-1 |
---|
106 | - Initial Fedora RPM version |
---|