]> git.pld-linux.org Git - packages/perl-DBD-mysql.git/blob - perl-DBD-mysql.spec
- initial PLD spec
[packages/perl-DBD-mysql.git] / perl-DBD-mysql.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    DBD
3 %define pnam    mysql
4 Summary:        DBD:mysql perl module
5 Summary(pl):    Modu³ perla DBD::mysql
6 Name:           perl-DBD-mysql
7 Version:        2.1011
8 Release:        1
9 License:        GPL or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl-DBI >= 1.13
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 MySQL for Perl is the driver code that enables Perl to access MySQL databases via the DBI module.
18
19 %description -l pl
20 Sterownik pozwalaj±cy na dostêp do baz MySQL z poziomu Perla.
21
22 %prep
23 %setup -q -n %{pdir}-%{pnam}-%{version}
24
25 %build
26 perl Makefile.PL
27
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}/*
44 %{_mandir}/man3/*
This page took 0.050453 seconds and 4 git commands to generate.