Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37869897
en ru br
ALT Linux repositórios
S:1.16-alt1
5.0: 1.01-alt2.1
4.1: 1.01-alt2.1
4.0: 1.01-alt2.1
3.0: 1.01-alt2.1

Group :: Desenvolvimento/Perl
RPM: perl-Memoize

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define dist Memoize
Name: perl-%dist
Version: 1.01
Release: alt2.1

Summary: Perl functions speedup by caching return values
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source0: %dist-%version.tar.bz2
Source1: %dist-ExpireLRU-0.55.tar.bz2

BuildArch: noarch

# formerly enbundeled...

Requires: perl-DBM >= 1:5.8.4

# Automatically added by buildreq on Mon May 17 2004

BuildRequires: perl-DBM perl-Storable perl-devel

%description
`Memoizing' a function makes it faster by trading space for time.
It does this by caching the return values of the function in a table.
If you call the function again with the same arguments, C<memoize>
jumps in and gives you the value out of the table, instead of letting
the function compute the value all over again.

%prep
%setup -q -n %dist-%version -a1

# ExpireLRU

%__ln_s %dist-ExpireLRU-*/README README.LRU
%__ln_s %dist-ExpireLRU-*/Changes Changes.LRU

# fix syntax (AutoLoader) so that B::Deparse works

%__subst -p 's/^1;$/sub ShowStats;\n&/' %dist-ExpireLRU-*/ExpireLRU.pm

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/Memoize*
%perl_vendor_privlib/auto/Memoize*
%perl_vendor_man3dir/Memoize*
%doc README* Change* TODO *.html

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009