Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 7f3b84ccc3cc26d5ac5df6db5c7766a0 > files > 2

perl-Clone-0.28-alt1.src.rpm

 .gear-rules                                        |    2 +
 .../3ce68a3a929fe5b30c818882005b068e2a632174       |   13 +++++
 .../6d045799093c56478f55bca6773fce2759ecbc09       |   13 +++++
 .gear-tags/list                                    |    2 +
 Clone.pm                                           |   14 ++----
 perl-Clone.spec                                    |   51 ++++++++++++++++++++
 6 files changed, 85 insertions(+), 10 deletions(-)

diff --git a/.gear-rules b/.gear-rules
new file mode 100644
index 0000000..4198cc1
--- /dev/null
+++ b/.gear-rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=Clone-@version@
+diff: @version@:. . name=perl-Clone-@version@-@release@.patch
diff --git a/.gear-tags/3ce68a3a929fe5b30c818882005b068e2a632174 b/.gear-tags/3ce68a3a929fe5b30c818882005b068e2a632174
new file mode 100644
index 0000000..2479e6e
--- /dev/null
+++ b/.gear-tags/3ce68a3a929fe5b30c818882005b068e2a632174
@@ -0,0 +1,13 @@
+object a56e11ba3692d86ebc8587e4fb9b567ebf571df2
+type commit
+tag 0.27
+tagger Alexey Tourbin <at@altlinux.ru> 1185444391 +0400
+
+0.27
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQBGqHInfBKgtDjnu0YRAtA1AKDRdoToCnxDbZMR7csBpKvenpf5UwCfVadA
+7dcz6j91v8KrbokC4ZMt7o4=
+=dWX5
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/6d045799093c56478f55bca6773fce2759ecbc09 b/.gear-tags/6d045799093c56478f55bca6773fce2759ecbc09
new file mode 100644
index 0000000..e5e64ba
--- /dev/null
+++ b/.gear-tags/6d045799093c56478f55bca6773fce2759ecbc09
@@ -0,0 +1,13 @@
+object dc0ca183c01ae9b5a2f4599dbc124fdf7d3f91e9
+type commit
+tag 0.28
+tagger Alexey Tourbin <at@altlinux.ru> 1204693646 +0300
+
+0.28
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.8 (GNU/Linux)
+
+iEYEABECAAYFAkfOKo4ACgkQfBKgtDjnu0bSigCg2gXbpyYLWaL06yWfg8uv+eeY
+ltMAn0lAwx7TLW88wrq7nYT91y+WH597
+=Yf8u
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/list b/.gear-tags/list
new file mode 100644
index 0000000..217c1a6
--- /dev/null
+++ b/.gear-tags/list
@@ -0,0 +1,2 @@
+3ce68a3a929fe5b30c818882005b068e2a632174 0.27
+6d045799093c56478f55bca6773fce2759ecbc09 0.28
diff --git a/Clone.pm b/Clone.pm
index 3106107..5466755 100755
--- a/Clone.pm
+++ b/Clone.pm
@@ -3,13 +3,10 @@ package Clone;
 
 use strict;
 use Carp;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
 
 require Exporter;
-require DynaLoader;
-require AutoLoader;
-
-@ISA = qw(Exporter DynaLoader);
+@ISA = qw(Exporter);
 # Items to export into callers namespace by default. Note: do not export
 # names by default without a very good reason. Use EXPORT_OK instead.
 # Do not simply export all your public functions/methods/constants.
@@ -18,11 +15,8 @@ require AutoLoader;
 
 $VERSION = '0.28';
 
-bootstrap Clone $VERSION;
-
-# Preloaded methods go here.
-
-# Autoload methods go after =cut, and are processed by the autosplit program.
+require XSLoader;
+XSLoader::load(__PACKAGE__, $VERSION);
 
 1;
 __END__
diff --git a/perl-Clone.spec b/perl-Clone.spec
new file mode 100644
index 0000000..82d1fca
--- /dev/null
+++ b/perl-Clone.spec
@@ -0,0 +1,51 @@
+%define dist Clone
+Name: perl-%dist
+Version: 0.28
+Release: alt1
+
+Summary: Recursively copy Perl datatypes
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+# Automatically added by buildreq on Wed Mar 05 2008
+BuildRequires: perl-Storable perl-devel
+
+%description
+This module provides a clone() method which makes recursive
+copies of nested hash, array, scalar and reference types,
+including tied variables and objects.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%perl_vendor_archlib/Clone*
+%perl_vendor_autolib/Clone*
+
+%changelog
+* Wed Mar 05 2008 Alexey Tourbin <at@altlinux.ru> 0.28-alt1
+- 0.27 -> 0.28
+
+* Thu Jul 26 2007 Alexey Tourbin <at@altlinux.ru> 0.27-alt1
+- 0.22 -> 0.27
+- Clone.pm: replaced DynaLoader with XSLoader, removed AutoLoader
+
+* Tue Feb 27 2007 Alexey Tourbin <at@altlinux.ru> 0.22-alt1
+- 0.20 -> 0.22
+
+* Thu Jul 06 2006 Alexey Tourbin <at@altlinux.ru> 0.20-alt1
+- 0.18 -> 0.20
+
+* Tue Sep 06 2005 Alexey Tourbin <at@altlinux.ru> 0.18-alt1
+- initial revision (for PPI) (also for Class::DBI)