# # spec file for package perl-Clone (Version 0.18) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Clone License: Artistic License Group: Development/Libraries/Perl Url: http://cpan.org/ Requires: perl = %{perl_version} AutoReqProv: on Summary: recursively copy Perl datatypes Version: 0.18 Release: 1 Patch: %{name}-%{version}-case.diff Source: http://cpan.org/modules/by-module/Clone/Clone-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects. Authors: -------- Ray Finch %prep %setup -q -n Clone-%{version} %patch %build perl Makefile.PL %{__make} %check make test %install %perl_make_install %perl_process_packlist %clean [ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-, root, root) %{perl_vendorarch}/Clone.pm %dir %{perl_vendorarch}/auto/Clone %{perl_vendorarch}/auto/Clone/.packlist %{perl_vendorarch}/auto/Clone/* %{_mandir}/man3/Clone.3pm.gz /var/adm/perl-modules/%{name} %changelog * Wed Mar 26 2008 anicka@suse.cz - package created (version 0.18)