]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blame - perl-Text-CSV_XS.spec
- updated to 1.51
[packages/perl-Text-CSV_XS.git] / perl-Text-CSV_XS.spec
CommitLineData
aa8533a5 1#
2# Conditional build:
2aa3d0d9 3%bcond_without tests # unit tests
aa8533a5 4#
cf864390 5%define pdir Text
6%define pnam CSV_XS
9081c1d3
JB
7Summary: Text::CSV_XS - comma-separated values manipulation routines
8Summary(pl.UTF-8): Text::CSV_XS - operacje na wartościach oddzielonych przecinkami
21d1bdec 9Name: perl-Text-CSV_XS
2aa3d0d9
JB
10Version: 1.51
11Release: 1
aa8533a5 12# same as perl
68331fa8 13License: GPL v1+ or Artistic
21d1bdec 14Group: Development/Languages/Perl
ad1dc449 15Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tgz
2aa3d0d9
JB
16# Source0-md5: da151be3259b7d95e1a3573cab26dae2
17URL: https://metacpan.org/dist/Text-CSV_XS
8d73273d 18BuildRequires: perl-devel >= 1:5.8.0
ad1dc449 19BuildRequires: rpm-perlprov >= 4.1-13
87e4fab5 20BuildRequires: rpmbuild(macros) >= 1.745
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.310807 seconds and 4 git commands to generate.