3 %bcond_without tests # Do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: DBIx::Copy Perl module - for copying database content from one db to another
9 Summary(pl.UTF-8): Moduł Perla DBIx::Copy - do kopiowania zawartości jednej bazy danych do innej
13 License: GPL 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: e453a98258a27fe6704811d075746862
17 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-DBI
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 For copying a DB. Future versions might handle mirroring as well,
27 but it's generally better if the source might send over a transaction
30 %description -l pl.UTF-8
31 Moduł służy do kopiowania baz danych. Być może przyszłe wersje będą
32 obsługiwały także mirroring, ale lepiej, jeśli źródło może wysyłać log
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %{perl_vendorlib}/%{pdir}/*.pm