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