perl-Text-CSV-vl.spec 3.2 KB

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