]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blame - perl-Text-CSV_XS.spec
- rebuild with perl 5.30.0
[packages/perl-Text-CSV_XS.git] / perl-Text-CSV_XS.spec
CommitLineData
aa8533a5 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
d2b94011 5%include /usr/lib/rpm/macros.perl
cf864390 6%define pdir Text
7%define pnam CSV_XS
9081c1d3
JB
8Summary: Text::CSV_XS - comma-separated values manipulation routines
9Summary(pl.UTF-8): Text::CSV_XS - operacje na wartościach oddzielonych przecinkami
21d1bdec 10Name: perl-Text-CSV_XS
14f97b25 11Version: 1.40
66bd7d3b 12Release: 2
aa8533a5 13# same as perl
68331fa8 14License: GPL v1+ or Artistic
21d1bdec 15Group: Development/Languages/Perl
ad1dc449 16Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tgz
14f97b25 17# Source0-md5: fcb9183f2716fe3c13d5e0e602285840
1760cbc9 18URL: https://metacpan.org/release/Text-CSV_XS
8d73273d 19BuildRequires: perl-devel >= 1:5.8.0
ad1dc449 20BuildRequires: rpm-perlprov >= 4.1-13
68039bff 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21d1bdec 22
23%description
9081c1d3
JB
24Text::CSV_XS Perl module provides facilities for the composition and
25decomposition of comma-separated values. An instance of the
26Text::CSV_XS class can combine fields into a CSV string and parse a
27CSV string into fields.
21d1bdec 28
ada58dc9 29%description -l pl.UTF-8
9081c1d3
JB
30Moduł Perla Text::CSV_XS udostępnia metody do składania i rozkładania
31wartości oddzielonych przecinkami. Instancja klasy Text::CSV_CS
32potrafi łączyć pola w łańcuch CSV oraz rozkładać łańcuch CSV na pola.
21d1bdec 33
34%prep
d2b94011 35%setup -q -n %{pdir}-%{pnam}-%{version}
21d1bdec 36
37%build
231e2d67 38%{__perl} Makefile.PL \
0e1590e9 39 INSTALLDIRS=vendor
aa8533a5 40%{__make} \
2a25b729 41 CC="%{__cc}" \
aa8533a5 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
21d1bdec 45
46%install
47rm -rf $RPM_BUILD_ROOT
21d1bdec 48
0f8d4cc1
JB
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
21d1bdec 51
21d1bdec 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
54caec25 57%doc ChangeLog README
231e2d67 58%{perl_vendorarch}/Text/CSV_XS.pm
59%dir %{perl_vendorarch}/auto/Text/CSV_XS
231e2d67 60%attr(755,root,root) %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.so
68331fa8 61%{_mandir}/man3/Text::CSV_XS.3pm*
This page took 0.09474 seconds and 4 git commands to generate.