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