--- libclone-pp-perl-1.02.orig/debian/changelog +++ libclone-pp-perl-1.02/debian/changelog @@ -0,0 +1,5 @@ +libclone-pp-perl (1.02-1) unstable; urgency=low + + * Initial Release (closes: #472939). + + -- Krzysztof Krzyżaniak (eloy) Wed, 23 May 2007 16:08:05 +0200 --- libclone-pp-perl-1.02.orig/debian/control +++ libclone-pp-perl-1.02/debian/control @@ -0,0 +1,33 @@ +Source: libclone-pp-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-7) +Maintainer: Debian Perl Group +Uploaders: Krzysztof Krzyżaniak (eloy) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Clone-PP/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclone-pp-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclone-pp-perl/ + + +Package: libclone-pp-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: Recursively copy Perl datatypes + Clone::PP provides a general-purpose clone function to make deep + copies of Perl data structures. It calls itself recursively to copy + nested hash, array, scalar and reference types, including tied + variables and objects. + . + The clone() function takes a scalar argument to copy. To duplicate + arrays or hashes, pass them in by reference: + . + my $copy = clone(\@array); my @copy = @{ clone(\@array) }; + my $copy = clone(\%hash); my %copy = %{ clone(\%hash) }; + . + The clone() function also accepts an optional second parameter that + can be used to limit the depth of the copy. If you pass a limit of + 0, clone will return the same value you supplied; for a limit of + 1, a shallow copy is constructed; for a limit of 2, two layers of + copying are done, and so on. --- libclone-pp-perl-1.02.orig/debian/rules +++ libclone-pp-perl-1.02/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +export PERL_MM_USE_DEFAULT=1 +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall -O2 -g" + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libclone-pp-perl-1.02.orig/debian/compat +++ libclone-pp-perl-1.02/debian/compat @@ -0,0 +1 @@ +5 --- libclone-pp-perl-1.02.orig/debian/copyright +++ libclone-pp-perl-1.02/debian/copyright @@ -0,0 +1,30 @@ +This is the debian package for the Clone::PP module. +It was created by Krzysztof Krzyzaniak (eloy) using dh-make-perl. + +It was downloaded from http://www.cpan.org/ + +Developed by Matthew Simon Cavalletto at Evolution Softworks. +More free Perl software is available at www.evoscript.org. + +Copyright 2003 Matthew Simon Cavalletto. +You may contact the author directly at evo@cpan.org or simonm@cavalletto.org. + +Code initially derived from Ref.pm. Portions Copyright 1994 David Muir Sharnoff. + +Interface based by Clone by Ray Finch with contributions from chocolateboy. +Portions Copyright 2001 Ray Finch. Portions Copyright 2001 chocolateboy. + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +Perl is distributed under licenses: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in /usr/share/common-licenses/GPL' and + the Artistic Licence in /usr/share/common-licenses/Artistic'. --- libclone-pp-perl-1.02.orig/debian/watch +++ libclone-pp-perl-1.02/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Clone-PP/ .*/Clone-PP-v?(\d.+)\.(?:tar\.gz|tar|tgz)$