%global pkg_name Text-CSV_XS %global pkg_version 0.32 %global rpm_pkg_version 0.32 %global rpm_pkg_release 1.n0i.7 Summary: Fast 8bit clean version of Text::CSV Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/%{pkg_name}-%{pkg_version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::Harness)} %{!?_without_test:BuildRequires: perl(Test::More)} %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 %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc ChangeLog examples/ README %changelog * Tue Oct 30 2007 Marius Feraru - 0.32-1.n0i.7 - version 0.32 * Tue Jul 31 2007 Marius Feraru - 0.31-1.n0i.6 - version 0.31 * Tue May 22 2007 Marius Feraru - 0.26-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.26 * Sat Mar 04 2006 Marius Feraru - 0.23-4.n0i.4 - automatic rebuild (perl 5.8.8) * Sun Jul 24 2005 Marius Feraru 0.23-3.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.23-2.n0i.2 - automatic rebuild (perl 5.8.6) * Wed Dec 22 2004 Marius Feraru 0:0.23-1.n0i.1 - version 0.23 - spec file (re?)created using N0i::CPAN::RPMizer/2004120601