3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Text::CSV_XS perl module
9 Summary(pl): Modu³ perla Text::CSV_XS
10 Name: perl-Text-CSV_XS
14 License: GPL v1+ oe Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 936eca163a09e92353565ad37ee7a4fa
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-devel >= 5.6
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Text::CSV_XS - comma-separated values manipulation routines.
26 Text::CSV_XS umo¿liwia manipulowanie warto¶ciami rozdzielonymi
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
36 OPTIMIZE="%{rpmcflags}"
38 %{?with_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
44 install DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{perl_vendorarch}/Text/CSV_XS.pm
53 %dir %{perl_vendorarch}/auto/Text/CSV_XS
54 %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.bs
55 %attr(755,root,root) %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.so