|
|
|
@ -1,14 +1,16 @@
|
|
|
|
|
Name: perl-Text-CSV_XS
|
|
|
|
|
Version: 0.23
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.27
|
|
|
|
|
Release: 1%{?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/J/JW/JWIED/Text-CSV_XS-%{version}.tar.gz
|
|
|
|
|
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)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -19,6 +21,7 @@ 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
|
|
|
|
@ -31,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$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 -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -45,13 +48,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
%doc ChangeLog README examples/
|
|
|
|
|
%{perl_vendorarch}/Text/
|
|
|
|
|
%{perl_vendorarch}/auto/Text/
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|