%define name perl-Text-CSV_XS %define realname Text-CSV_XS %define version 0.23 %define release 3mdk Name: %{name} Summary: Text-CSV_XS module for Perl (String_Lang_Text_Proc/Text) Version: %{version} Release: %{release} License: GPL Group: Development/Perl URL: http://www.cpan.org Source: %{realname}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot BuildPreReq: perl %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 -q rm -rf $RPM_BUILD_ROOT %setup -n %{realname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc MANIFEST ChangeLog README %{perl_vendorarch}/Text/* %{perl_vendorarch}/auto/Text/* %{_mandir}/*/* %changelog * Thu Feb 13 2003 Pixel <pixel@mandrakesoft.com> 0.23-3mdk - rebuild * Wed Jul 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.23-2mdk - rebuild for new perl * Mon Mar 04 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.23-1mdk - 0.23 * Thu Aug 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.22-1mdk - updated to 0.22 * Tue Sep 12 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.21-1mdk - updated to 0.21 * Sat Jul 22 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.20-3mdk - build for new perl - macroization * Mon May 1 2000 Vincent Danen <vdanen@linux-mandrake.com> 0.20-2mdk - fix group * Wed Mar 8 2000 Vincent Danen <vdanen@linux-mandrake.com> - 0.20 * Tue Mar 7 2000 Vincent Danen <vdanen@linux-mandrake.com> - initial specfile - bzip sources