]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blame - perl-Text-CSV_XS.spec
- rel 2
[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
5219949b 8Summary: Text::CSV_XS perl module
874ecf88 9Summary(pl.UTF-8): Moduł perla Text::CSV_XS
21d1bdec 10Name: perl-Text-CSV_XS
15e7a592 11Version: 0.32
30013ce2 12Release: 2
aa8533a5 13# same as perl
14License: GPL v1+ oe Artistic
21d1bdec 15Group: Development/Languages/Perl
ad1dc449 16Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tgz
15e7a592 17# Source0-md5: ad96b60f2dd1fdb97763b4db8e08209e
ad1dc449 18URL: http://search.cpan.org/dist/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
5219949b 24Text::CSV_XS - comma-separated values manipulation routines.
21d1bdec 25
ada58dc9
JR
26%description -l pl.UTF-8
27Text::CSV_XS umożliwia manipulowanie wartościami rozdzielonymi
08d48640 28przecinkiem.
21d1bdec 29
30%prep
d2b94011 31%setup -q -n %{pdir}-%{pnam}-%{version}
21d1bdec 32
33%build
231e2d67 34%{__perl} Makefile.PL \
0e1590e9 35 INSTALLDIRS=vendor
aa8533a5 36%{__make} \
2a25b729 37 CC="%{__cc}" \
aa8533a5 38 OPTIMIZE="%{rpmcflags}"
39
40%{?with_tests:%{__make} test}
21d1bdec 41
42%install
43rm -rf $RPM_BUILD_ROOT
21d1bdec 44
aa8533a5 45%{__make} \
2a25b729 46 CC="%{__cc}" \
aa8533a5 47 install DESTDIR=$RPM_BUILD_ROOT
21d1bdec 48
21d1bdec 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54caec25 54%doc ChangeLog README
231e2d67 55%{perl_vendorarch}/Text/CSV_XS.pm
56%dir %{perl_vendorarch}/auto/Text/CSV_XS
57%{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.bs
58%attr(755,root,root) %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.so
21d1bdec 59%{_mandir}/man3/*
This page took 0.066121 seconds and 4 git commands to generate.