]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blob - perl-Text-CSV_XS.spec
- initial release
[packages/perl-Text-CSV_XS.git] / perl-Text-CSV_XS.spec
1 Summary:        Text-CSV_XS perl module
2 Summary(pl):    Modu³ perla Text-CSV_XS
3 Name:           perl-Text-CSV_XS
4 Version:        0.18
5 Release:        3
6 Copyright:      GPL
7 Group:          Development/Languages/Perl
8 Group(pl):      Programowanie/Jêzyki/Perl
9 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-CSV_XS-%{version}.tar.gz
10 BuildRequires:  perl >= 5.005_03-10
11 %requires_eq    perl
12 Requires:       %{perl_sitearch}
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %description
16 Text-CSV_XS - comma-separated values manipulation routines.
17
18 %description -l pl
19 Text-CSV_XS umo¿liwia manipulowanie warto¶ciami rozdzielonymi przecinkiem.
20
21 %prep
22 %setup -q -n Text-CSV_XS-%{version}
23
24 %build
25 perl Makefile.PL
26 make
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 make install DESTDIR=$RPM_BUILD_ROOT
31
32 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Text/CSV_XS/*.so
33
34 (
35   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Text/CSV_XS
36   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
37   mv .packlist.new .packlist
38 )
39
40 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
41         ChangeLog README
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc {ChangeLog,README}.gz
49
50 %{perl_sitearch}/Text/CSV_XS.pm
51
52 %dir %{perl_sitearch}/auto/Text/CSV_XS
53 %{perl_sitearch}/auto/Text/CSV_XS/.packlist
54 %{perl_sitearch}/auto/Text/CSV_XS/CSV_XS.bs
55 %attr(755,root,root) %{perl_sitearch}/auto/Text/CSV_XS/CSV_XS.so
56
57 %{_mandir}/man3/*
This page took 0.045277 seconds and 4 git commands to generate.