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

Группа :: Разработка/Perl
Пакет: perl-Array-Iterator

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

%define _unpackaged_files_terminate_build 1
%define module_name Array-Iterator
# BEGIN SourceDeps(oneline):
BuildRequires: perl(ExtUtils/MakeMaker.pm) perl(Test/More.pm) perl(blib.pm) perl-devel
# END SourceDeps(oneline)
%define upstream_name    Array-Iterator
%define upstream_version 0.11

Name:       perl-%{upstream_name}
Version:    0.130
Release:    alt1

Summary:    A subclass of Array::Iterator to allow forwards and backwards iteration
License:    perl
Group:      Development/Perl
URL:        http://search.cpan.org/dist/Array-Iterator/
Source0:    http://www.cpan.org/authors/id/P/PE/PERLANCAR/%{module_name}-%{version}.tar.gz

BuildRequires: perl(Capture/Tiny.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Test/Exception.pm)
BuildArch:  noarch
Source44: import.info

%description
This class provides a very simple iterator interface. It is
uni-directional and can only be used once. It provides no means of
reversing or resetting the iterator. It is not recommended to alter the
array during iteration, however no attempt is made to enforce this
(although I will if I can find an efficient means of doing so). This class
only intends to provide a clear and simple means of generic iteration,
nothing more (yet).

%prep
%setup -q -n %{module_name}-%{version}

%build
# %%{__perl} Build.PL --install_path bindoc=%_man1dir installdirs=vendor
%{__perl} Makefile.PL INSTALLMAN1DIR=%_man1dir INSTALLDIRS=vendor

# ./Build

make

%check
# ./Build test
make test

%install
# ./Build install destdir=%%{buildroot}
%makeinstall_std

%files
%doc README Changes
%perl_vendor_privlib/*


%changelog

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

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