%define upstream_name Path-Class-Rule %define upstream_version 0.013 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: File finder using Path::Class License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Path/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(Data::Clone) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(File::pushd) BuildRequires: perl(List::Util) BuildRequires: perl(Number::Compare) >= 0.20.0 BuildRequires: perl(Path::Class) BuildRequires: perl(Path::Class::Dir) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.920.0 BuildRequires: perl(Text::Glob) BuildRequires: perl(Try::Tiny) BuildRequires: perl(autodie) BuildRequires: perl(re) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(warnings::register) BuildArch: noarch %description This module iterates over files and directories to identify ones matching a user-defined set of rules. The API is based heavily on the File::Find::Rule manpage, but with more explicit distinction between matching rules and options that influence how directories are searched. A 'Path::Class::Rule' object is a collection of rules (match criteria) with methods to add additional criteria. Options that control directory traversal are given as arguments to the method that generates an iterator. Here is a summary of features for comparison to other file finding modules: * * %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes LICENSE META.json META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.13.0-2.mga3 + Revision: 371594 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 0.13.0-1.mga3 + Revision: 342474 - update to 0.013 * Wed Nov 07 2012 jquelin <jquelin> 0.12.0-1.mga3 + Revision: 315814 - update to 0.012 * Wed Jul 04 2012 jquelin <jquelin> 0.11.0-1.mga3 + Revision: 267230 - imported package perl-Path-Class-Rule