perl-Text-CSV_XS-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. Name: perl-Text-CSV_XS
  2. Version: 1.39
  3. Release: 1%{?_dist_release}
  4. Summary: Comma-separated values manipulation routines
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Text-CSV_XS/
  8. Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildRequires: perl(Test::Pod)
  12. BuildRequires: perl(Test::Pod::Coverage)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(IO::Handle)
  15. BuildRequires: perl(Test::Harness)
  16. BuildRequires: perl(Test::More)
  17. BuildRequires: perl(Tie::Scalar)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  19. %{?perl_default_filter}
  20. %description
  21. Text::CSV provides facilities for the composition and decomposition of
  22. comma-separated values. An instance of the Text::CSV class can combine
  23. fields into a CSV string and parse a CSV string into fields.
  24. %prep
  25. %setup -q -n Text-CSV_XS-%{version}
  26. iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
  27. chmod -c a-x examples/*
  28. # Upstream does this on purpose (2011-03-23):
  29. # "As Text::CSV_XS is so low-level, most of these files are actually *examples*
  30. # and not ready-to-run out-of-the-box scripts that work as expected, though
  31. # I must admit that some have evolved into being like that."
  32. #find . -type f -exec sed -i '1s/pro/usr/' {} \;
  33. %build
  34. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  35. make %{?_smp_mflags}
  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} -type f -name '*.bs' -empty -exec rm -f {} ';'
  41. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  42. chmod -R u+w %{buildroot}/*
  43. %check
  44. # TODO: Parallel testing supported since 0.73
  45. make test
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc ChangeLog README examples/
  51. %{perl_vendorarch}/Text/
  52. %{perl_vendorarch}/auto/Text/
  53. %{_mandir}/man3/*.3pm*
  54. %changelog
  55. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.39-1
  56. - new upstream release.
  57. - rebuilt with perl-5.26.
  58. * Sun Nov 2 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.11-2
  59. - new upstream release.
  60. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.86-1
  61. - updated to 0.86
  62. - spec revamped in accordance with Fedora 0.86-1
  63. - previous Vine changelog as follows:
  64. - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.65-2
  65. - rebuild with perl-5.12.3
  66. - Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.65-1
  67. - new upstream release
  68. - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.34-1vl5
  69. - applied new versioning policy
  70. - built with perl-5.10.0
  71. - Sat Jan 5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl1
  72. - rebuild for VineSeed.
  73. - Sat Jan 5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl0
  74. - new upstream release.
  75. - Sat Jan 5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl0
  76. - new upstream release.
  77. - Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-0vl3
  78. - changed Group to Development/Libraries
  79. - Thu Sep 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-0vl2
  80. - rebuild with perl 5.8.6
  81. - use vendor_perl
  82. - updated URL
  83. - s/Copyright/License/
  84. - Sat Apr 13 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.23-0vl1
  85. - first build for Vine Linux
  86. * Tue Jan 24 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
  87. - update to 0.86
  88. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-2
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  90. * Thu Sep 08 2011 Petr Sabata <contyk@redhat.com> - 0.85-1
  91. - 0.85 bump
  92. * Mon Aug 08 2011 Petr Sabata <contyk@redhat.com> - 0.83a-1
  93. - 0.83a bump
  94. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-2
  95. - Perl mass rebuild
  96. * Mon May 9 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
  97. - update to 0.82
  98. * Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-2
  99. - Revert example scripts interpreter changes
  100. * Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-1
  101. - 0.81 version bump
  102. - Changed script interpreters in various example files
  103. - Convert ChangeLog to proper UTF8
  104. - Removed buildroot garbage
  105. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  107. * Mon Jan 3 2011 Petr Sabata <psabata@redhat.com> - 0.80-1
  108. - 0.80 version bump
  109. * Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 0.79-1
  110. - 0.79 version bump
  111. * Mon Oct 18 2010 Petr Sabata <psabata@redhat.com> - 0.76-1
  112. - 0.76 version bump
  113. * Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 0.75-1
  114. - 0.75 version bump
  115. * Mon Oct 04 2010 Petr Pisar <ppisar@redhat.com> - 0.74-1
  116. - 0.74 bump
  117. * Wed Sep 08 2010 Petr Pisar <ppisar@redhat.com> - 0.73-1
  118. - 0.73 bump
  119. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-2
  120. - Mass rebuild with perl-5.12.0
  121. * Wed Mar 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.72-1
  122. - PERL_INSTALL_ROOT => DESTDIR, add perl_default_filter (XS module)
  123. - auto-update to 0.72 (by cpan-spec-update 0.01) (DBIx::Class needed a newer
  124. Text::CSV, which in turn can only leverage Text::CSV_XS >= 0.70)
  125. - added a new br on perl(ExtUtils::MakeMaker) (version 0)
  126. - added a new br on perl(IO::Handle) (version 0)
  127. - added a new br on perl(Test::Harness) (version 0)
  128. - added a new br on perl(Test::More) (version 0)
  129. - added a new br on perl(Tie::Scalar) (version 0)
  130. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.69-2
  131. - rebuild against perl 5.10.1
  132. * Mon Nov 2 2009 Stepan Kasal <skasal@redhat.com> - 0.69
  133. - new upstream release
  134. * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.68-1
  135. - update to new upstream release
  136. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-3
  137. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  138. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2
  139. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  140. * Wed Dec 10 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.58-1
  141. - Update to latest upstream
  142. - SvUPGRADE patch upstreamed
  143. * Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-2
  144. - Actually solving the issue mentioned in previous change
  145. * Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-1
  146. - Updated to 0.52 to solve an issue with perl 5.10
  147. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5
  148. - Rebuild for perl 5.10 (again)
  149. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.30-4
  150. - Autorebuild for GCC 4.3
  151. * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-3
  152. - rebuild for new perl
  153. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.30-2
  154. - Rebuild for selinux ppc32 issue.
  155. * Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.30-1
  156. - Update to 0.30.
  157. * Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.29-1
  158. - Update to 0.29.
  159. * Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
  160. - Update to 0.27.
  161. - New upstream maintainer.
  162. * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-5
  163. - Rebuild for FC6.
  164. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-4
  165. - Rebuild for FC5 (perl 5.8.8).
  166. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-3
  167. - The wonders of CVS problems (released skipped).
  168. * Thu Jan 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
  169. - Build section: simplified RPM_OPT_FLAGS handling (#175898).
  170. * Sat Nov 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
  171. - First build.