#
# Conditional build:
%bcond_without tests # perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir DBI
%define pnam DBI
+%include /usr/lib/rpm/macros.perl
Summary: DBI - database independent interface for Perl
Summary(cs.UTF-8): API pro přístup k databázím pro Perl
Summary(da.UTF-8): En database-API for Perl
Summary(zh_CN.UTF-8): Perl 的数据库访问 API。
Name: perl-DBI
Version: 1.628
-Release: 1
+Release: 2
License: GPL or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/DBI/%{pnam}-%{version}.tar.gz
obsługują łączenie się ze zdalną bazą danych, ale oprócz nich są
silniki, które nie oferują łączności sieciowej.
+%package Coro
+Summary: Asynchronous DBD::Gofer stream transport using Coro
+Group: Development/Languages/Perl
+Requires: %{name} = %{version}-%{release}
+
+%description Coro
+This is an experimental asynchronous DBD::Gofer stream transport for
+DBI implemented on top of Coro. The BIG WIN from using Coro is that it
+enables the use of existing DBI frameworks like DBIx::Class.
+
%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
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
%exclude %{perl_vendorarch}/DBD/Proxy.pm
%exclude %{perl_vendorarch}/DBI/ProfileDumper/Apache.pm
%exclude %{perl_vendorarch}/DBI/ProxyServer.pm
+%exclude %{perl_vendorarch}/DBD/Gofer/Transport/corostream.pm
%files -n perl-DBD-Proxy
%defattr(644,root,root,755)
%{_mandir}/man3/DBD::Proxy.3pm*
%{_mandir}/man3/DBI::ProxyServer.3pm*
+%files Coro
+%defattr(644,root,root,755)
+%doc ex/corogofer.pl
+%{perl_vendorarch}/DBD/Gofer/Transport/corostream.pm
+
%files ProfileDumper-Apache
%defattr(644,root,root,755)
%dir %{perl_vendorarch}/DBI/ProfileDumper