3 %bcond_without tests # do not perform "make test"
7 Summary: Text::CSV_XS - comma-separated values manipulation routines
8 Summary(pl.UTF-8): Text::CSV_XS - operacje na wartościach oddzielonych przecinkami
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tgz
16 # Source0-md5: 147eb4e11237c848d31fdf36dc1fc364
17 URL: https://metacpan.org/release/Text-CSV_XS
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Text::CSV_XS Perl module provides facilities for the composition and
25 decomposition of comma-separated values. An instance of the
26 Text::CSV_XS class can combine fields into a CSV string and parse a
27 CSV string into fields.
29 %description -l pl.UTF-8
30 Moduł Perla Text::CSV_XS udostępnia metody do składania i rozkładania
31 wartości oddzielonych przecinkami. Instancja klasy Text::CSV_CS
32 potrafi łączyć pola w łańcuch CSV oraz rozkładać łańcuch CSV na pola.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorarch}/Text/CSV_XS.pm
59 %dir %{perl_vendorarch}/auto/Text/CSV_XS
60 %attr(755,root,root) %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.so
61 %{_mandir}/man3/Text::CSV_XS.3pm*