-%{_mandir}/man1/*
-%{_mandir}/man3/DBD*
-%{_mandir}/man3/DBI.*
-%{_mandir}/man3/DBI::Profile.*
-%{_mandir}/man3/DBI::ProfileData.*
-%{_mandir}/man3/DBI::ProfileDumper.*
-%{_mandir}/man3/DBI::ProxyServer.*
-%{_mandir}/man3/DBI::PurePerl.*
-%{_mandir}/man3/DBI::[!PW]*
+%{_mandir}/man1/dbilogstrip.1p*
+%{_mandir}/man1/dbiprof.1p*
+%{_mandir}/man1/dbiproxy.1p*
+%{_mandir}/man3/DBD::*.3pm*
+%{_mandir}/man3/DBI*.3pm*
+
+# in subpackages
+%exclude %{_mandir}/man3/DBD::Proxy.3pm*
+%exclude %{_mandir}/man3/DBI::ProfileDumper::Apache.3pm*
+%exclude %{_mandir}/man3/DBI::ProxyServer.3pm*
+%exclude %{perl_vendorarch}/DBD/Proxy.pm
+%exclude %{perl_vendorarch}/DBI/ProfileDumper/Apache.pm
+%exclude %{perl_vendorarch}/DBI/ProxyServer.pm
+%if %{with coro}
+%exclude %{perl_vendorarch}/DBD/Gofer/Transport/corostream.pm
+%endif
+
+%files -n perl-DBD-Proxy
+%defattr(644,root,root,755)
+%{perl_vendorarch}/DBD/Proxy.pm
+%{perl_vendorarch}/DBI/ProxyServer.pm
+%{_mandir}/man3/DBD::Proxy.3pm*
+%{_mandir}/man3/DBI::ProxyServer.3pm*
+
+%if %{with coro}
+%files Coro
+%defattr(644,root,root,755)
+%doc ex/corogofer.pl
+%{perl_vendorarch}/DBD/Gofer/Transport/corostream.pm
+%endif