Group :: Desenvolvimento/Perl
RPM: perl-Bit-Vector
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: perl-Bit-Vector-7.1-alt1.1.patch
Download
Download
.gear/rules | 2 +
.../tags/db89e374668eb91f611c83c0c84030415e565dae | 13 +++
.gear/tags/list | 1 +
Vector.pm | 6 +-
Vector.xs | 1 +
perl-Bit-Vector.spec | 89 ++++++++++++++++++++
6 files changed, 109 insertions(+), 3 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..93e99ac
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=Bit-Vector-@version@
+diff: @version@:. . name=perl-Bit-Vector-@version@-@release@.patch
diff --git a/.gear/tags/db89e374668eb91f611c83c0c84030415e565dae b/.gear/tags/db89e374668eb91f611c83c0c84030415e565dae
new file mode 100644
index 0000000..96f8f04
--- /dev/null
+++ b/.gear/tags/db89e374668eb91f611c83c0c84030415e565dae
@@ -0,0 +1,13 @@
+object b920d69856c1439ebf2d8e3d2d52de7742df9b96
+type commit
+tag 7.1
+tagger Alexey Tourbin <at@altlinux.ru> 1256054590 +0400
+
+7.1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iEYEABECAAYFAkrd3z4ACgkQfBKgtDjnu0bhuQCfQdiE41WjxIcUDZVlJaETIRrF
+L18AoKxluqAgRYtjo6OxH+2l2pooq6Ws
+=J1TB
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..f08a5a9
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+db89e374668eb91f611c83c0c84030415e565dae 7.1
diff --git a/Vector.pm b/Vector.pm
index 763bb02..2592a90 100644
--- a/Vector.pm
+++ b/Vector.pm
@@ -15,9 +15,8 @@ use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION @CONFIG);
require Exporter;
-require DynaLoader;
-@ISA = qw(Exporter DynaLoader);
+@ISA = qw(Exporter);
@EXPORT = qw();
@@ -25,7 +24,8 @@ require DynaLoader;
$VERSION = '7.1';
-bootstrap Bit::Vector $VERSION;
+require XSLoader;
+XSLoader::load(__PACKAGE__, $VERSION);
sub STORABLE_freeze
{
diff --git a/Vector.xs b/Vector.xs
index c20f31c..e7bf399 100644
--- a/Vector.xs
+++ b/Vector.xs
@@ -11,6 +11,7 @@
/*****************************************************************************/
+#define PERL_NO_GET_CONTEXT /* we want efficiency */
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec
new file mode 100644
index 0000000..85a7c7c
--- /dev/null
+++ b/perl-Bit-Vector.spec
@@ -0,0 +1,89 @@
+%define dist Bit-Vector
+Name: perl-%dist
+Version: 7.1
+Release: alt1.1
+
+Summary: Efficient bit vector, set of integers and "big int" math library
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+# Automatically added by buildreq on Mon Sep 20 2010
+BuildRequires: perl-Carp-Clan perl-Storable perl-devel
+
+%description
+Bit::Vector is an efficient C library which allows you to handle
+bit vectors, sets (of integers), "big integer arithmetic" and
+boolean matrices, all of arbitrary sizes.
+
+The library is efficient (in terms of algorithmical complexity)
+and therefore fast (in terms of execution speed) for instance
+through the widespread use of divide-and-conquer algorithms.
+
+The package also includes an object-oriented Perl module for
+accessing the C library from Perl, and optionally features
+overloaded operators for maximum ease of use.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc CHANGES.txt CREDITS.txt README.txt examples/
+%dir %perl_vendor_archlib/Bit
+ %perl_vendor_archlib/Bit/Vector.pm
+%doc %perl_vendor_archlib/Bit/Vector.pod
+%dir %perl_vendor_archlib/Bit/Vector
+ %perl_vendor_archlib/Bit/Vector/*.pm
+%doc %perl_vendor_archlib/Bit/Vector/*.pod
+%dir %perl_vendor_autolib/Bit
+%dir %perl_vendor_autolib/Bit/Vector
+ %perl_vendor_autolib/Bit/Vector/Vector.so
+
+%changelog
+* Mon Sep 20 2010 Alexey Tourbin <at@altlinux.ru> 7.1-alt1.1
+- rebuilt for perl-5.12
+
+* Tue Oct 20 2009 Alexey Tourbin <at@altlinux.ru> 7.1-alt1
+- 7.0 -> 7.1
+
+* Fri Aug 28 2009 Alexey Tourbin <at@altlinux.ru> 7.0-alt1
+- 6.6 -> 7.0
+
+* Mon Aug 03 2009 Alexey Tourbin <at@altlinux.ru> 6.6-alt1
+- 6.4 -> 6.6
+
+* Mon Apr 13 2009 Alexey Tourbin <at@altlinux.ru> 6.4-alt2
+- rebuild
+
+* Mon Oct 16 2006 Alexey Tourbin <at@altlinux.ru> 6.4-alt1
+- 6.3 -> 6.4
+- imported sources into git and built with gear
+- use -fvisibility=hidden to hide underlying C library symbols
+- use PERL_NO_GET_CONTEXT for some marginal performance gain
+- for the same reason, use XSLoader instead of DynaLoader
+
+* Sat Feb 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 6.3-alt2.1
+- Rebuilt with rpm-build-perl-0.5.1.
+
+* Mon Nov 04 2002 Stanislav Ievlev <inger@altlinux.ru> 6.3-alt2
+- rebuild with new perl
+
+* Mon Sep 30 2002 Igor Homyakov <homyakov at altlinux dot ru> 6.3-alt1
+- 6.3
+
+* Tue Sep 17 2002 Igor Homyakov <homyakov at altlinux dot ru> 6.2-alt1
+- 6.2-alt1
+- cleanup spec file
+
+* Wed Nov 14 2001 Igor Homyakov <homyakov@altlinux.ru> alt1
+- Build package for ALTLinux