%define modname Text-CSV_XS %define modver 1.12 Summary: Comma-separated values manipulation routines Name: perl-%{modname} Version: %perl_convert_version %{modver} Release: 3 License: GPLv2+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{modname} Source0: http://www.cpan.org/modules/by-module/Text/%{modname}-%{modver}.tgz BuildRequires: perl(Test::More) BuildRequires: perl-devel %description Text-CSV_XS is a Perl module that 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 -qn %{modname}-%{modver} %build perl Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc MANIFEST ChangeLog README %{perl_vendorarch}/Text %{perl_vendorarch}/auto/Text %{_mandir}/man3/*