perl-Text-CSV_XS-vl.spec 7.4 KB

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