|
|
09e0e6 |
Name: perl-Text-CSV_XS
|
|
|
09e0e6 |
Version: 1.00
|
|
|
09e0e6 |
Release: 3%{?dist}
|
|
|
09e0e6 |
Summary: Comma-separated values manipulation routines
|
|
|
09e0e6 |
Group: Development/Libraries
|
|
|
09e0e6 |
License: GPL+ or Artistic
|
|
|
09e0e6 |
URL: http://search.cpan.org/dist/Text-CSV_XS/
|
|
|
09e0e6 |
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
|
|
|
09e0e6 |
BuildRequires: perl
|
|
|
09e0e6 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
09e0e6 |
BuildRequires: perl(strict)
|
|
|
09e0e6 |
# Run-time:
|
|
|
09e0e6 |
BuildRequires: perl(Carp)
|
|
|
09e0e6 |
BuildRequires: perl(DynaLoader)
|
|
|
09e0e6 |
BuildRequires: perl(IO::Handle)
|
|
|
09e0e6 |
# Tests:
|
|
|
09e0e6 |
BuildRequires: perl(base)
|
|
|
09e0e6 |
BuildRequires: perl(Config)
|
|
|
09e0e6 |
# Specific version >= 2.51 for Encode is recommended but not required
|
|
|
09e0e6 |
BuildRequires: perl(Encode)
|
|
|
09e0e6 |
BuildRequires: perl(Test::More)
|
|
|
09e0e6 |
BuildRequires: perl(Tie::Scalar)
|
|
|
09e0e6 |
BuildRequires: perl(vars)
|
|
|
09e0e6 |
BuildRequires: perl(warnings)
|
|
|
09e0e6 |
# Optional tests:
|
|
|
09e0e6 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
09e0e6 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
09e0e6 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
09e0e6 |
# IO::Handle is loaded by XS code
|
|
|
09e0e6 |
Requires: perl(IO::Handle)
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%{?perl_default_filter}
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%description
|
|
|
09e0e6 |
Text::CSV provides facilities for the composition and decomposition of
|
|
|
09e0e6 |
comma-separated values. An instance of the Text::CSV class can combine
|
|
|
09e0e6 |
fields into a CSV string and parse a CSV string into fields.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%prep
|
|
|
09e0e6 |
%setup -q -n Text-CSV_XS-%{version}
|
|
|
09e0e6 |
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
|
|
|
09e0e6 |
chmod -c a-x examples/*
|
|
|
09e0e6 |
# Upstream does this on purpose (2011-03-23):
|
|
|
09e0e6 |
# "As Text::CSV_XS is so low-level, most of these files are actually *examples*
|
|
|
09e0e6 |
# and not ready-to-run out-of-the-box scripts that work as expected, though
|
|
|
09e0e6 |
# I must admit that some have evolved into being like that."
|
|
|
09e0e6 |
#find . -type f -exec sed -i '1s/pro/usr/' {} \;
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%build
|
|
|
09e0e6 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
09e0e6 |
make %{?_smp_mflags}
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%install
|
|
|
09e0e6 |
make pure_install DESTDIR=%{buildroot}
|
|
|
09e0e6 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
09e0e6 |
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
09e0e6 |
chmod -R u+w %{buildroot}/*
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%check
|
|
|
09e0e6 |
# TODO: Parallel testing supported since 0.73
|
|
|
09e0e6 |
make test %{?_smp_mflags}
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%files
|
|
|
09e0e6 |
%doc ChangeLog README examples/
|
|
|
09e0e6 |
%{perl_vendorarch}/Text/
|
|
|
09e0e6 |
%{perl_vendorarch}/auto/Text/
|
|
|
09e0e6 |
%{_mandir}/man3/*.3pm*
|
|
|
09e0e6 |
|
|
|
09e0e6 |
%changelog
|
|
|
09e0e6 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.00-3
|
|
|
09e0e6 |
- Mass rebuild 2014-01-24
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.00-2
|
|
|
09e0e6 |
- Mass rebuild 2013-12-27
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri Jun 14 2013 Petr Šabata <contyk@redhat.com> - 1.00-1
|
|
|
09e0e6 |
- 1.00 bugfix bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jun 11 2013 Petr Šabata <contyk@redhat.com> - 0.99-1
|
|
|
09e0e6 |
- 0.99 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Jun 10 2013 Petr Šabata <contyk@redhat.com> - 0.98-1
|
|
|
09e0e6 |
- 0.98 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Apr 02 2013 Petr Šabata <contyk@redhat.com> - 0.97-1
|
|
|
09e0e6 |
- 0.97 bump, performance enhancement
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Mar 27 2013 Petr Šabata <contyk@redhat.com> - 0.96-1
|
|
|
09e0e6 |
- 0.96 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-2
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Jan 14 2013 Petr Pisar <ppisar@redhat.com> - 0.95-1
|
|
|
09e0e6 |
- 0.95 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Dec 04 2012 Petr Pisar <ppisar@redhat.com> - 0.94-1
|
|
|
09e0e6 |
- 0.94 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Nov 21 2012 Petr Pisar <ppisar@redhat.com> - 0.93-1
|
|
|
09e0e6 |
- 0.93 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Nov 14 2012 Petr Pisar <ppisar@redhat.com> - 0.92-1
|
|
|
09e0e6 |
- 0.92 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Nov 05 2012 Petr Pisar <ppisar@redhat.com> - 0.91-2
|
|
|
09e0e6 |
- Correct dependencies
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Aug 22 2012 Petr Šabata <contyk@redhat.com> - 0.91-1
|
|
|
09e0e6 |
- 0.91 bump (mostly test-cases updates)
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.90-3
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.90-2
|
|
|
09e0e6 |
- Perl 5.16 rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jun 19 2012 Petr Šabata <contyk@redhat.com> - 0.90-1
|
|
|
09e0e6 |
- 0.90 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.88-2
|
|
|
09e0e6 |
- Perl 5.16 rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 0.88-1
|
|
|
09e0e6 |
- 0.88 bump
|
|
|
09e0e6 |
- Fix parsing fields that contain excessive $/
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Mar 14 2012 Petr Šabata <contyk@redhat.com> - 0.87-1
|
|
|
09e0e6 |
- 0.87 bump
|
|
|
09e0e6 |
- Remove command macros and defattr
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jan 24 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
|
|
|
09e0e6 |
- update to 0.86
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-2
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Sep 08 2011 Petr Sabata <contyk@redhat.com> - 0.85-1
|
|
|
09e0e6 |
- 0.85 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Aug 08 2011 Petr Sabata <contyk@redhat.com> - 0.83a-1
|
|
|
09e0e6 |
- 0.83a bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-2
|
|
|
09e0e6 |
- Perl mass rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon May 9 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
|
|
|
09e0e6 |
- update to 0.82
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-2
|
|
|
09e0e6 |
- Revert example scripts interpreter changes
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-1
|
|
|
09e0e6 |
- 0.81 version bump
|
|
|
09e0e6 |
- Changed script interpreters in various example files
|
|
|
09e0e6 |
- Convert ChangeLog to proper UTF8
|
|
|
09e0e6 |
- Removed buildroot garbage
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Jan 3 2011 Petr Sabata <psabata@redhat.com> - 0.80-1
|
|
|
09e0e6 |
- 0.80 version bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 0.79-1
|
|
|
09e0e6 |
- 0.79 version bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Oct 18 2010 Petr Sabata <psabata@redhat.com> - 0.76-1
|
|
|
09e0e6 |
- 0.76 version bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 0.75-1
|
|
|
09e0e6 |
- 0.75 version bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Oct 04 2010 Petr Pisar <ppisar@redhat.com> - 0.74-1
|
|
|
09e0e6 |
- 0.74 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Sep 08 2010 Petr Pisar <ppisar@redhat.com> - 0.73-1
|
|
|
09e0e6 |
- 0.73 bump
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-2
|
|
|
09e0e6 |
- Mass rebuild with perl-5.12.0
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Mar 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.72-1
|
|
|
09e0e6 |
- PERL_INSTALL_ROOT => DESTDIR, add perl_default_filter (XS module)
|
|
|
09e0e6 |
- auto-update to 0.72 (by cpan-spec-update 0.01) (DBIx::Class needed a newer
|
|
|
09e0e6 |
Text::CSV, which in turn can only leverage Text::CSV_XS >= 0.70)
|
|
|
09e0e6 |
- added a new br on perl(ExtUtils::MakeMaker) (version 0)
|
|
|
09e0e6 |
- added a new br on perl(IO::Handle) (version 0)
|
|
|
09e0e6 |
- added a new br on perl(Test::Harness) (version 0)
|
|
|
09e0e6 |
- added a new br on perl(Test::More) (version 0)
|
|
|
09e0e6 |
- added a new br on perl(Tie::Scalar) (version 0)
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.69-2
|
|
|
09e0e6 |
- rebuild against perl 5.10.1
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Mon Nov 2 2009 Stepan Kasal <skasal@redhat.com> - 0.69
|
|
|
09e0e6 |
- new upstream release
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.68-1
|
|
|
09e0e6 |
- update to new upstream release
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-3
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2
|
|
|
09e0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Dec 10 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.58-1
|
|
|
09e0e6 |
- Update to latest upstream
|
|
|
09e0e6 |
- SvUPGRADE patch upstreamed
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-2
|
|
|
09e0e6 |
- Actually solving the issue mentioned in previous change
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-1
|
|
|
09e0e6 |
- Updated to 0.52 to solve an issue with perl 5.10
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5
|
|
|
09e0e6 |
- Rebuild for perl 5.10 (again)
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.30-4
|
|
|
09e0e6 |
- Autorebuild for GCC 4.3
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-3
|
|
|
09e0e6 |
- rebuild for new perl
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.30-2
|
|
|
09e0e6 |
- Rebuild for selinux ppc32 issue.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.30-1
|
|
|
09e0e6 |
- Update to 0.30.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.29-1
|
|
|
09e0e6 |
- Update to 0.29.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
|
|
|
09e0e6 |
- Update to 0.27.
|
|
|
09e0e6 |
- New upstream maintainer.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-5
|
|
|
09e0e6 |
- Rebuild for FC6.
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-4
|
|
|
09e0e6 |
- Rebuild for FC5 (perl 5.8.8).
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-3
|
|
|
09e0e6 |
- The wonders of CVS problems (released skipped).
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Thu Jan 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
|
|
|
09e0e6 |
- Build section: simplified RPM_OPT_FLAGS handling (#175898).
|
|
|
09e0e6 |
|
|
|
09e0e6 |
* Sat Nov 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
|
|
|
09e0e6 |
- First build.
|