]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blob - perl-Text-CSV_XS.spec
- s/ftp.perl.org/ftp.cpan.org/ in Source url.
[packages/perl-Text-CSV_XS.git] / perl-Text-CSV_XS.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Text
3 %define pnam    CSV_XS
4 Summary:        Text-CSV_XS perl module
5 Summary(pl):    Modu³ perla Text-CSV_XS
6 Name:           perl-Text-CSV_XS
7 Version:        0.23
8 Release:        3
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Text-CSV_XS - comma-separated values manipulation routines.
18
19 %description -l pl
20 Text-CSV_XS umo¿liwia manipulowanie warto¶ciami rozdzielonymi
21 przecinkiem.
22
23 %prep
24 %setup -q -n %{pdir}-%{pnam}-%{version}
25
26 %build
27 perl Makefile.PL
28 %{__make} OPTIMIZE="%{rpmcflags}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 gzip -9nf ChangeLog README
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %{perl_sitearch}/Text/CSV_XS.pm
44 %dir %{perl_sitearch}/auto/Text/CSV_XS
45 %{perl_sitearch}/auto/Text/CSV_XS/CSV_XS.bs
46 %attr(755,root,root) %{perl_sitearch}/auto/Text/CSV_XS/CSV_XS.so
47 %{_mandir}/man3/*
This page took 0.031152 seconds and 4 git commands to generate.