Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37818317
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-Data-BitStream-XS

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Benchmark.pm) perl(Config.pm) perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(FindBin.pm) perl(Imager.pm) perl(Inline.pm) perl(Inline/Files.pm) perl(List/Util.pm) perl(Storable.pm) perl(Test/More.pm) perl(Test/Perl/Critic.pm) perl(Time/HiRes.pm) perl(XSLoader.pm) perl(base.pm)
#BuildRequires: perl(Math/Primality.pm) perl(Math/Prime/FastSieve.pm) perl(Math/Prime/XS.pm)
# END SourceDeps(oneline)
%define module_version 0.08
%define module_name Data-BitStream-XS
BuildRequires: rpm-build-perl perl-devel perl-podlators

Name: perl-%module_name
Version: 0.08
Release: alt1.1.1.1
Summary: A class implementing a stream of bits and coding methods
Group: Development/Perl
License: perl
Url: %CPAN %module_name

Source: http://www.cpan.org/authors/id/D/DA/DANAJ/Data-BitStream-XS-%{version}.tar.gz

%description
An XS implementation providing read/write access to bit streams.  This includes.many integer coding methods as well as straightforward ways to implement new
codes.

Bit streams are often used in data compression and in embedded products where
memory is at a premium.

This code provides a nearly drop-in XS replacement for the the Data::BitStream manpage
module.  If you do not need the flexibility of the Moose/Mouse/Moo system, you
can use this directly.

Versions 0.03 and later of the the Data::BitStream manpage class will attempt to use
this XS class if it is available.  Most operations will be 50-100 times faster,
while not sacrificing any of its flexibility, so it is highly recommended.  In
other words, if this module is installed, any code using the Data::BitStream manpage
will automatically speed up.

While direct use of the XS class is a bit faster than going through
Moose/Mouse/Moo, the vast majority of the benefit is internal.  Hence, for
maximum portability and flexibility just install this module for the speed,
and continue using the the Data::BitStream manpage class as usual.





%prep
%setup -n %module_name-%module_version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc TODO Changes README LICENSE examples
%perl_vendor_archlib/D*
%perl_vendor_autolib/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin