]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/blob - perl-Text-CSV_XS.spec
- tests added, license fixes, cosmetics
[packages/perl-Text-CSV_XS.git] / perl-Text-CSV_XS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Text
7 %define pnam    CSV_XS
8 Summary:        Text::CSV_XS perl module
9 Summary(pl):    Modu³ perla Text::CSV_XS
10 Name:           perl-Text-CSV_XS
11 Version:        0.23
12 Release:        4
13 # same as perl
14 License:        GPL v1+ oe Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  936eca163a09e92353565ad37ee7a4fa
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRequires:  perl-devel >= 5.6
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Text::CSV_XS - comma-separated values manipulation routines.
24
25 %description -l pl
26 Text::CSV_XS umo¿liwia manipulowanie warto¶ciami rozdzielonymi
27 przecinkiem.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make} \
36         OPTIMIZE="%{rpmcflags}"
37
38 %{?with_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} \
44         install DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ChangeLog README
52 %{perl_vendorarch}/Text/CSV_XS.pm
53 %dir %{perl_vendorarch}/auto/Text/CSV_XS
54 %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.bs
55 %attr(755,root,root) %{perl_vendorarch}/auto/Text/CSV_XS/CSV_XS.so
56 %{_mandir}/man3/*
This page took 0.031736 seconds and 4 git commands to generate.