%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
-%define pdir Clone
-Summary: Clone - recursively copy Perl datatypes
+%define pdir Clone
+Summary: Clone - Perl module for recursively copying Perl datatypes
+Summary(pl.UTF-8): Clone - moduł Perla obsługujący rekursywne kopiowanie zmiennych w Perlu
Name: perl-Clone
-Version: 0.15
+Version: 0.22
Release: 1
-# as perl itself
-License: GPL or Artistic
+# same as perl
+License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
-# Source0-md5: 5cac94da96835758462133f3afd8fe22
+Source0: http://www.cpan.org/modules/by-module/Clone/%{pdir}-%{version}.tar.gz
+# Source0-md5: f70af2c46fbb60acc4388908bfd37c2f
+URL: http://search.cpan.org/dist/Clone/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
of nested hash, array, scalar and reference types, including tied
variables and objects.
+%description -l pl.UTF-8
+Ten moduł dostarcza clone(), metodę służącą do rekurencyjnego
+kopiowania zagnieżdżonych tablic asocjacyjnych, tablic, skalarów i
+referencji, włącznie ze związanymi zmiennymi i obiektami.
+
%prep
%setup -q -n %{pdir}-%{version}
%{perl_vendorarch}/Clone.pm
%{perl_vendorarch}/auto/Clone/Clone.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Clone/Clone.so
+%{perl_vendorarch}/auto/Clone/autosplit.ix
%{_mandir}/man3/*