3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 Summary: Clone - Perl module for recursively copying Perl datatypes
8 Summary(pl): Clone - modu³ Perla obs³uguj±cy rekursywne kopiowanie zmiennych w Perlu
13 License: GPL or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
16 # Source0-md5: 5cac94da96835758462133f3afd8fe22
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This module provides a clone() method which makes recursive copies
23 of nested hash, array, scalar and reference types, including tied
24 variables and objects.
27 Ten modu³ dostarcza clone(), metodê s³u¿±c± do rekurencyjnego
28 kopiowania zagnie¿d¿onych tablic asocjacyjnych, tablic, skalarów i
29 referencji, w³±cznie ze zwi±zanymi zmiennymi i obiektami.
32 %setup -q -n %{pdir}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorarch}/Clone.pm
56 %{perl_vendorarch}/auto/Clone/Clone.bs
57 %attr(755,root,root) %{perl_vendorarch}/auto/Clone/Clone.so