+#
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # perform "make test"
Summary(sv.UTF-8): Ett databasåtkomst-API för Perl
Summary(zh_CN.UTF-8): Perl 的数据库访问 API。
Name: perl-DBI
-Version: 1.601
-Release: 2
+Version: 1.604
+Release: 1
License: GPL or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
-# Source0-md5: d80677bd8113ec8cb0438b8703f3c418
+Source0: http://www.cpan.org/modules/by-module/DBI/%{pnam}-%{version}.tar.gz
+# Source0-md5: 358511d60eb3daba913d49236c469802
Patch0: %{name}-changes.patch
+URL: http://search.cpan.org/dist/DBI/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps} || %{with tests}
明细表定义了一组函数、变量和定规,它们提供了一个独立于实际被使用的数据
库之外的连贯的数据库 界面。
-%package DBD-Proxy
+%package -n perl-DBD-Proxy
Summary: DBD::Proxy - A proxy driver for the DBI
+Summary(pl.UTF-8): DBD::Proxy - sterownik proxy dla DBI
Group: Development/Languages/Perl
Requires: %{name} = %{version}-%{release}
-%description DBD-Proxy
+%description -n perl-DBD-Proxy
DBD::Proxy is a Perl module for connecting to a database via a remote
DBI driver.
connecting to a remote database, but there are engines which don't
offer network connectivity.
+%description -n perl-DBD-Proxy -l pl.UTF-8
+DBD::Proxy to moduł Perla służący do łączenia się z bazą danych
+poprzez zdalny sterownik DBI.
+
+Nie jest to oczywiście potrzebne dla sterowników DBI które same
+obsługują łączenie się ze zdalną bazą danych, ale oprócz nich są
+silniki, które nie oferują łączności sieciowej.
+
%package ProfileDumper-Apache
Summary: DBI::ProfileDumper::Apache - capture DBI profiling data from Apache/mod_perl
Summary(pl.UTF-8): DBI::ProfileDumper::Apache - przechwytywanie danych parametryzujących DBI z Apache/mod_perl
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
%exclude %{perl_vendorarch}/DBI/ProfileDumper/Apache.pm
%exclude %{perl_vendorarch}/DBI/ProxyServer.pm
-%files DBD-Proxy
+%files -n perl-DBD-Proxy
%defattr(644,root,root,755)
%{perl_vendorarch}/DBD/Proxy.pm
%{perl_vendorarch}/DBI/ProxyServer.pm