Group :: Development/Perl
RPM: perl-File-Find-Object
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
## SPEC file for Perl module File::Find::Object
%define _unpackaged_files_terminate_build 1
%define real_name File-Find-Object
Name: perl-File-Find-Object
Version: 0.3.7
Serial: 1
Release: alt1
Summary: an object oriented File::Find replacement
License: %perl_license
Group: Development/Perl
URL: https://metacpan.org/dist/File-Find-Object
Packager: Nikolay A. Fetisov <naf at altlinux.org>
BuildArch: noarch
Source: %real_name-%version.tar
AutoReqProv: perl, yes
BuildRequires(pre): perl-devel rpm-build-licenses
# Automatically added by buildreq on Fri Jan 13 2023
# optimized out: libgpg-error perl perl-CPAN-Meta perl-CPAN-Meta-Requirements perl-CPAN-Meta-YAML perl-Encode perl-JSON-PP perl-Module-Metadata perl-Parse-CPAN-Meta perl-Perl-OSType perl-Pod-Escapes perl-Pod-Simple perl-Tie-RefHash perl-autodie perl-devel perl-parent perl-podlators python-modules python2-base python3-base sh4
BuildRequires: perl-Class-XSAccessor perl-File-TreeCreate perl-HTML-Parser perl-Module-Build perl-Test-File
%description
Perl module File::Find::Object does the same job as File::Find
but works like an object and with an iterator. As File::Find
is not object oriented, one cannot perform multiple searches
in the same application. The second problem of File::Find is
its file processing: after starting its main loop, one cannot
easily wait for another event and so get the next result.
With File::Find::Object you can get the next file by calling
the next() function, but setting a callback is still possible.
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README.md
%perl_vendor_privlib/File/Find/Object*
%changelog
…
Full changelog you can see here
%define _unpackaged_files_terminate_build 1
%define real_name File-Find-Object
Name: perl-File-Find-Object
Version: 0.3.7
Serial: 1
Release: alt1
Summary: an object oriented File::Find replacement
License: %perl_license
Group: Development/Perl
URL: https://metacpan.org/dist/File-Find-Object
Packager: Nikolay A. Fetisov <naf at altlinux.org>
BuildArch: noarch
Source: %real_name-%version.tar
AutoReqProv: perl, yes
BuildRequires(pre): perl-devel rpm-build-licenses
# Automatically added by buildreq on Fri Jan 13 2023
# optimized out: libgpg-error perl perl-CPAN-Meta perl-CPAN-Meta-Requirements perl-CPAN-Meta-YAML perl-Encode perl-JSON-PP perl-Module-Metadata perl-Parse-CPAN-Meta perl-Perl-OSType perl-Pod-Escapes perl-Pod-Simple perl-Tie-RefHash perl-autodie perl-devel perl-parent perl-podlators python-modules python2-base python3-base sh4
BuildRequires: perl-Class-XSAccessor perl-File-TreeCreate perl-HTML-Parser perl-Module-Build perl-Test-File
%description
Perl module File::Find::Object does the same job as File::Find
but works like an object and with an iterator. As File::Find
is not object oriented, one cannot perform multiple searches
in the same application. The second problem of File::Find is
its file processing: after starting its main loop, one cannot
easily wait for another event and so get the next result.
With File::Find::Object you can get the next file by calling
the next() function, but setting a callback is still possible.
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README.md
%perl_vendor_privlib/File/Find/Object*
%changelog
…
Full changelog you can see here