3 %bcond_without tests # do not perform "make test"
7 Summary: DBD::mysqlPP - pure Perl MySQL driver for the DBI
8 Summary(pl.UTF-8): DBD::mysqlPP - czysto perlowy sterownik do MySQL-a dla DBI
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a259806d4c82e486fb474d8b5c15e6dd
17 URL: http://search.cpan.org/dist/DBD-mysqlPP/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-DBI >= 1.0
22 BuildRequires: perl-Net-MySQL >= 0.08
24 Requires: perl-Net-MySQL >= 0.08
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 DBD::mysqlPP is a Pure Perl MySQL driver for the Perl5 Database
30 Interface (DBI). This module implements network protool between server
31 and client of MySQL, thus you don't need external MySQL client library
32 like libmysqlclient for this module to work. It means this module
33 enables you to connect to MySQL server from some operation systems
34 which MySQL is not ported.
36 %description -l pl.UTF-8
37 DBD::mysqlPP to czysto perlowy sterownik do MySQL-a dla DBI (perlowego
38 interfejsu do baz danych). Ten moduł jest implementacją protokołu
39 sieciowego między serwerem a klientem MySQL-a, przez co nie wymaga do
40 działania zewnętrznej biblioteki klienckiej MySQL-a, takiej jak
41 libmysqlclient. Oznacza to, że moduł ten umożliwia połączenie z
42 serwerem MySQL nawet z systemu operacyjnego, na który MySQL nie został
46 %setup -q -n %{pdir}-%{pnam}-%{version}
49 %{__perl} Makefile.PL \
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{perl_vendorlib}/DBD/mysqlPP.pm