]> git.pld-linux.org Git - packages/perl-DBD-CSV.git/blob - perl-DBD-CSV.spec
- more %%{__make} macros.
[packages/perl-DBD-CSV.git] / perl-DBD-CSV.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        DBD-CSV perl module
3 Summary(pl):    Modu³ perla DBD-CSV
4 Name:           perl-DBD-CSV
5 Version:        0.1022
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/DBD/DBD-CSV-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 BuildRequires:  perl-DBI
14 BuildRequires:  perl-Text-CSV_XS
15 BuildRequires:  perl-SQL-Statement
16 %requires_eq    perl
17 Requires:       %{perl_sitearch}
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 DBD-CSV - DBI driver for CSV files.
22
23 %description -l pl
24 DBD-CSV - sterownik DBI dla plików CSV.
25
26 %prep
27 %setup -q -n DBD-CSV-%{version}
28
29 %build
30 perl Makefile.PL
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37 (
38   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/DBD/CSV
39   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
40   mv .packlist.new .packlist
41 )
42
43 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
44         ChangeLog README
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc {ChangeLog,README}.gz
52
53 %{perl_sitelib}/Bundle/DBD/CSV.pm
54 %{perl_sitelib}/DBD/CSV.pm
55 %{perl_sitelib}/DBD/File.pm
56
57 %{perl_sitearch}/auto/DBD/CSV
58
59 %{_mandir}/man3/*
This page took 0.061345 seconds and 3 git commands to generate.