You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
5.1 KiB
161 lines
5.1 KiB
Name: perl-Text-CSV_XS
|
|
Version: 0.80
|
|
Release: 2%{?dist}
|
|
Summary: Comma-separated values manipulation routines
|
|
|
|
Group: Development/Libraries
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Text-CSV_XS/
|
|
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(IO::Handle)
|
|
BuildRequires: perl(Test::Harness)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Tie::Scalar)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Text::CSV provides facilities for the composition and decomposition of
|
|
comma-separated values. An instance of the Text::CSV class can combine
|
|
fields into a CSV string and parse a CSV string into fields.
|
|
|
|
|
|
%prep
|
|
%setup -q -n Text-CSV_XS-%{version}
|
|
chmod -c a-x examples/*
|
|
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
%check
|
|
# TODO: Parallel testing supported since 0.73
|
|
make test
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog README examples/
|
|
%{perl_vendorarch}/Text/
|
|
%{perl_vendorarch}/auto/Text/
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Mon Jan 3 2011 Petr Sabata <psabata@redhat.com> - 0.80-1
|
|
- 0.80 version bump
|
|
|
|
* Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 0.79-1
|
|
- 0.79 version bump
|
|
|
|
* Mon Oct 18 2010 Petr Sabata <psabata@redhat.com> - 0.76-1
|
|
- 0.76 version bump
|
|
|
|
* Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 0.75-1
|
|
- 0.75 version bump
|
|
|
|
* Mon Oct 04 2010 Petr Pisar <ppisar@redhat.com> - 0.74-1
|
|
- 0.74 bump
|
|
|
|
* Wed Sep 08 2010 Petr Pisar <ppisar@redhat.com> - 0.73-1
|
|
- 0.73 bump
|
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-2
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Wed Mar 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.72-1
|
|
- PERL_INSTALL_ROOT => DESTDIR, add perl_default_filter (XS module)
|
|
- auto-update to 0.72 (by cpan-spec-update 0.01) (DBIx::Class needed a newer
|
|
Text::CSV, which in turn can only leverage Text::CSV_XS >= 0.70)
|
|
- added a new br on perl(ExtUtils::MakeMaker) (version 0)
|
|
- added a new br on perl(IO::Handle) (version 0)
|
|
- added a new br on perl(Test::Harness) (version 0)
|
|
- added a new br on perl(Test::More) (version 0)
|
|
- added a new br on perl(Tie::Scalar) (version 0)
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.69-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Mon Nov 2 2009 Stepan Kasal <skasal@redhat.com> - 0.69
|
|
- new upstream release
|
|
|
|
* Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.68-1
|
|
- update to new upstream release
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Dec 10 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.58-1
|
|
- Update to latest upstream
|
|
- SvUPGRADE patch upstreamed
|
|
|
|
* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-2
|
|
- Actually solving the issue mentioned in previous change
|
|
|
|
* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-1
|
|
- Updated to 0.52 to solve an issue with perl 5.10
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.30-4
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-3
|
|
- rebuild for new perl
|
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.30-2
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
* Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.30-1
|
|
- Update to 0.30.
|
|
|
|
* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.29-1
|
|
- Update to 0.29.
|
|
|
|
* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
|
|
- Update to 0.27.
|
|
- New upstream maintainer.
|
|
|
|
* Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-5
|
|
- Rebuild for FC6.
|
|
|
|
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-4
|
|
- Rebuild for FC5 (perl 5.8.8).
|
|
|
|
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-3
|
|
- The wonders of CVS problems (released skipped).
|
|
|
|
* Thu Jan 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
|
|
- Build section: simplified RPM_OPT_FLAGS handling (#175898).
|
|
|
|
* Sat Nov 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
|
|
- First build.
|