diff --git a/README.md b/README.md index 370f264..f2561e1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Text-CSV_XS +Text::CSV_XS provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV_XS class can combine fields into a CSV string and parse a CSV string into fields. + +The module accepts either strings or files as input and can utilize any user-specified characters as delimiters, separators, and escapes so it is perhaps better called ASV (anything separated values) rather than just CSV. + diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec new file mode 100644 index 0000000..1b96848 --- /dev/null +++ b/perl-Text-CSV_XS.spec @@ -0,0 +1,135 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Text-CSV_XS +Version: 1.02 +Release: 1mamba +Summary: Text::CSV_XS - comma-separated values manipulation routines +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz +License: GPL, Artistic +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Text::CSV_XS provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV_XS class can combine fields into a CSV string and parse a CSV string into fields. + +The module accepts either strings or files as input and can utilize any user-specified characters as delimiters, separators, and escapes so it is perhaps better called ASV (anything separated values) rather than just CSV. + +%prep + +%setup -q -n Text-CSV_XS-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Fri Nov 22 2013 Automatic Build System 1.02-1mamba +- automatic update by autodist + +* Wed Jun 26 2013 Automatic Build System 1.01-1mamba +- automatic version update by autodist + +* Sat Jun 08 2013 Automatic Build System 0.98-1mamba +- automatic version update by autodist + +* Sun Mar 31 2013 Automatic Build System 0.97-1mamba +- automatic version update by autodist + +* Sat Jan 19 2013 Automatic Build System 0.95-1mamba +- automatic version update by autodist + +* Sat Jan 12 2013 Automatic Build System 0.94-1mamba +- automatic version update by autodist + +* Fri Nov 30 2012 Automatic Build System 0.93-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 0.91-2mamba +- perl 5.16 mass rebuild + +* Tue Aug 21 2012 Automatic Build System 0.91-1mamba +- automatic version update by autodist + +* Sat Aug 11 2012 Automatic Build System 0.90-1mamba +- automatic version update by autodist + +* Wed Apr 25 2012 Automatic Build System 0.88-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 0.82-1mamba +- automatic update by autodist + +* Wed Mar 30 2011 Automatic Build System 0.81-1mamba +- automatic update by autodist + +* Thu Dec 30 2010 Automatic Build System 0.80-1mamba +- automatic update by autodist + +* Thu Dec 02 2010 Automatic Build System 0.79-1mamba +- automatic update by autodist + +* Thu Nov 11 2010 Automatic Build System 0.76-1mamba +- automatic update by autodist + +* Sat Oct 02 2010 Automatic Build System 0.74-1mamba +- automatic update by autodist + +* Mon Jun 21 2010 Automatic Build System 0.73-1mamba +- automatic update by autodist + +* Mon Jan 25 2010 Automatic Build System 0.70-1mamba +- automatic update by autodist + +* Fri Oct 16 2009 Automatic Build System 0.69-1mamba +- automatic update by autodist + +* Tue Aug 11 2009 Automatic Build System 0.67-1mamba +- automatic update by autodist + +* Wed Jun 10 2009 Automatic Build System 0.65-1mamba +- automatic update by autodist + +* Sat Apr 18 2009 Silvan Calarco 0.64-1mamba +- automatic update by autodist + +* Wed Apr 01 2009 Silvan Calarco 0.63-1mamba +- automatic update by autodist + +* Sat Feb 07 2009 Silvan Calarco 0.60-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.55-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.55-1mamba +- package created by autospec