2013-07-05 11:24:56 +00:00
|
|
|
Name: perl-File-Find-Object
|
2016-09-12 13:40:51 +00:00
|
|
|
Version: 0.3.0
|
|
|
|
Release: 1%{?dist}
|
2013-07-05 11:24:56 +00:00
|
|
|
Summary: Object oriented File::Find replacement
|
2015-07-24 11:30:58 +00:00
|
|
|
License: GPLv2+ or Artistic 2.0
|
2013-07-05 11:24:56 +00:00
|
|
|
URL: http://search.cpan.org/dist/File-Find-Object/
|
2016-09-12 13:40:51 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-%{version}.tar.gz
|
2013-07-05 11:24:56 +00:00
|
|
|
BuildArch: noarch
|
2016-02-29 11:57:40 +00:00
|
|
|
# Module Build
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: coreutils
|
2016-09-12 13:40:51 +00:00
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: perl
|
2016-06-24 07:49:17 +00:00
|
|
|
BuildRequires: perl-generators
|
2016-09-12 13:40:51 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2016-02-29 11:57:40 +00:00
|
|
|
# Module Runtime
|
2013-07-05 11:24:56 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: perl(Fcntl)
|
2016-02-29 11:57:40 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: perl(integer)
|
2013-07-05 11:24:56 +00:00
|
|
|
BuildRequires: perl(List::Util)
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: perl(parent)
|
2016-02-29 11:57:40 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
2016-09-12 13:40:51 +00:00
|
|
|
BuildRequires: perl(blib)
|
2015-07-24 11:30:58 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
2016-09-12 13:40:51 +00:00
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
BuildRequires: perl(lib)
|
2013-07-05 11:24:56 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2016-02-29 11:57:40 +00:00
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2016-09-12 13:40:51 +00:00
|
|
|
%setup -qn File-Find-Object-%{version}
|
2016-02-29 11:57:40 +00:00
|
|
|
chmod -c 644 examples/tree
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%build
|
2016-09-12 13:40:51 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%install
|
2016-09-12 13:40:51 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
2016-02-29 11:57:40 +00:00
|
|
|
%{_fixperms} %{buildroot}
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%check
|
2016-09-12 13:40:51 +00:00
|
|
|
make test
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%files
|
2016-02-29 11:57:40 +00:00
|
|
|
%license LICENSE
|
2016-09-12 13:40:51 +00:00
|
|
|
%doc Changes README examples/
|
2016-02-29 11:57:40 +00:00
|
|
|
%{perl_vendorlib}/File/
|
|
|
|
%{_mandir}/man3/File::Find::Object.3*
|
|
|
|
%{_mandir}/man3/File::Find::Object::Base.3*
|
|
|
|
%{_mandir}/man3/File::Find::Object::PathComp.3*
|
|
|
|
%{_mandir}/man3/File::Find::Object::Result.3*
|
2013-07-05 11:24:56 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-09-12 13:40:51 +00:00
|
|
|
* Mon Sep 12 2016 Paul Howarth <paul@city-fan.org> - 0.3.0-1
|
|
|
|
- Update to 0.3.0
|
|
|
|
- Converted the build system to Dist-Zilla
|
|
|
|
- Switch to ExtUtils::MakeMaker-based flow
|
|
|
|
|
2016-05-18 16:01:54 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.13-5
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-15 23:37:48 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.13-4
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-29 11:57:40 +00:00
|
|
|
* Mon Feb 29 2016 Paul Howarth <paul@city-fan.org> - 0.2.13-3
|
|
|
|
- Spec clean-up
|
|
|
|
|
2016-02-04 13:37:18 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-24 11:30:58 +00:00
|
|
|
* Fri Jul 24 2015 Petr Pisar <ppisar@redhat.com> - 0.2.13-1
|
|
|
|
- 0.2.13 bump
|
|
|
|
- License changed to (GPLv2+ or Artistic 2.0)
|
|
|
|
|
2015-06-18 03:06:27 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 13:01:02 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-6
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-06 10:19:00 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-5
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-09-08 20:17:29 +00:00
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-4
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
2014-08-29 16:50:16 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.2.11-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-07-23 14:47:24 +00:00
|
|
|
* Wed Jul 23 2014 Petr Pisar <ppisar@redhat.com> - 0.2.11-2
|
|
|
|
- Break dependency cycle perl-File-Find-Object → perl-Test-TrailingSpace →
|
|
|
|
perl-File-Find-Object-Rule
|
|
|
|
|
2014-06-20 04:14:59 +00:00
|
|
|
* Wed Jun 11 2014 Christopher Meng <rpm@cicku.me> - 0.2.11-1
|
|
|
|
- Update to 0.2.11
|
|
|
|
|
2014-06-07 04:12:21 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 20:46:05 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-21 02:32:04 +00:00
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.2.7-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-07-05 11:24:56 +00:00
|
|
|
* Wed Jul 03 2013 Christopher Meng <rpm@cicku.me> - 0.2.7-2
|
|
|
|
- Fix the license.
|
|
|
|
- Fix the files permissions.
|
|
|
|
- Fill up the BRs.
|
|
|
|
|
|
|
|
* Sun May 26 2013 Christopher Meng <rpm@cicku.me> - 0.2.7-1
|
|
|
|
- Initial Package.
|