6f8af21
Name:           perl-Parallel-ForkManager
6f8af21
Version:        2.02
6f8af21
Release:        14%{?dist}
6f8af21
Summary:        Simple parallel processing fork manager
6f8af21
License:        GPL+ or Artistic
6f8af21
URL:            https://metacpan.org/release/Parallel-ForkManager
6f8af21
Source0:        https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Parallel-ForkManager-%{version}.tar.gz
6f8af21
BuildArch:      noarch
6f8af21
BuildRequires:  coreutils
6f8af21
BuildRequires:  findutils
6f8af21
BuildRequires:  glibc-common
6f8af21
BuildRequires:  make
6f8af21
BuildRequires:  perl-interpreter
6f8af21
BuildRequires:  perl-generators
6f8af21
BuildRequires:  perl(ExtUtils::MakeMaker)
6f8af21
BuildRequires:  perl(strict)
6f8af21
BuildRequires:  perl(warnings)
6f8af21
BuildRequires:  sed
6f8af21
# Run-time
6f8af21
BuildRequires:  perl(Carp)
6f8af21
BuildRequires:  perl(File::Path)
6f8af21
BuildRequires:  perl(File::Spec)
6f8af21
BuildRequires:  perl(File::Temp)
6f8af21
BuildRequires:  perl(Moo)
6f8af21
BuildRequires:  perl(Moo::Role)
6f8af21
BuildRequires:  perl(POSIX)
6f8af21
BuildRequires:  perl(Storable)
6f8af21
# Tests
6f8af21
BuildRequires:  perl(blib)
6f8af21
BuildRequires:  perl(CPAN::Meta)
6f8af21
BuildRequires:  perl(IO::Handle)
6f8af21
BuildRequires:  perl(IPC::Open3)
6f8af21
BuildRequires:  perl(Test::More) >= 0.94
6f8af21
BuildRequires:  perl(Test::Warn)
6f8af21
BuildRequires:  perl(utf8::all)
6f8af21
6f8af21
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6f8af21
6f8af21
%description
6f8af21
This module is intended for use in operations that can be done in parallel
6f8af21
where the number of processes to be forked off should be limited. Typical
6f8af21
use is a downloader which will be retrieving hundreds/thousands of files.
6f8af21
6f8af21
%prep
6f8af21
%setup -q -n Parallel-ForkManager-%{version}
6f8af21
6f8af21
# Prepare the example scripts for inclusion as documentation, as they are not
6f8af21
# generally useful and have additional dependencies.
6f8af21
sed -i -e '1d' examples/*.pl
6f8af21
chmod 644 examples/*.pl
6f8af21
6f8af21
i=lib/Parallel/ForkManager.pm
6f8af21
iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i
6f8af21
6f8af21
%build
6f8af21
%{__perl} Makefile.PL INSTALLDIRS=vendor
6f8af21
make %{?_smp_mflags}
6f8af21
6f8af21
%install
6f8af21
make pure_install PERL_INSTALL_ROOT=%{buildroot}
6f8af21
6f8af21
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
6f8af21
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
6f8af21
6f8af21
%{_fixperms} %{buildroot}/*
6f8af21
6f8af21
%check
6f8af21
make test
6f8af21
6f8af21
%files
6f8af21
%doc Changes examples/
6f8af21
%{perl_vendorlib}/*
6f8af21
%{_mandir}/man3/*
6f8af21
6f8af21
%changelog
6f8af21
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-14
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6f8af21
6f8af21
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-13
6f8af21
- Perl 5.36 rebuild
6f8af21
6f8af21
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-12
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
6f8af21
6f8af21
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-11
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6f8af21
6f8af21
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-10
6f8af21
- Perl 5.34 rebuild
6f8af21
6f8af21
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-9
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6f8af21
6f8af21
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-8
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6f8af21
6f8af21
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-7
6f8af21
- Perl 5.32 rebuild
6f8af21
6f8af21
* Wed Mar 18 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-6
6f8af21
- Add perl(blib) for tests
6f8af21
6f8af21
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-5
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6f8af21
6f8af21
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-4
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6f8af21
6f8af21
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-3
6f8af21
- Perl 5.30 rebuild
6f8af21
6f8af21
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-2
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6f8af21
6f8af21
* Thu Oct 11 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.02-1
6f8af21
- Update to 2.02.
6f8af21
- Add new runtime dependencies (Moo and Moo::Role).
6f8af21
- Remove RHEL conditionals.
6f8af21
6f8af21
* Thu Jul 19 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.20-1
6f8af21
- Update to 1.20.
6f8af21
- Add CPAN::Meta build dependency.
6f8af21
- Fix RHEL conditional to be version-limited.
6f8af21
6f8af21
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-7
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6f8af21
6f8af21
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-6
6f8af21
- Perl 5.28 rebuild
6f8af21
6f8af21
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-5
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6f8af21
6f8af21
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-4
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6f8af21
6f8af21
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-3
6f8af21
- Perl 5.26 rebuild
6f8af21
6f8af21
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6f8af21
6f8af21
* Fri Aug 26 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-1
6f8af21
- 1.19 bump
6f8af21
6f8af21
* Mon Jun 27 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-5
6f8af21
- Oops, wrong build dep.
6f8af21
6f8af21
* Thu Jun 23 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-4
6f8af21
- Change build dependencies to new recommended usage.
6f8af21
6f8af21
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
6f8af21
- Perl 5.24 rebuild
6f8af21
6f8af21
* Thu Mar 31 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-2
6f8af21
- Run iconv on the right file.
6f8af21
6f8af21
* Tue Mar 29 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-1
6f8af21
- Update to 1.18.
6f8af21
6f8af21
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-3
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6f8af21
6f8af21
* Mon Jan 25 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.17-2
6f8af21
- Remove pointless %%defattr statement.
6f8af21
6f8af21
* Wed Dec 02 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.17-1
6f8af21
- Update to 1.17.
6f8af21
6f8af21
* Thu Oct 08 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.16-1
6f8af21
- Update to 1.16; rhbz#1270082.  Add new Test::Warn build dep.
6f8af21
6f8af21
* Fri Aug 07 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.15-2
6f8af21
- Add a couple of build dependencies that dropped out of the dep tree.
6f8af21
6f8af21
* Wed Jul 08 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.15-1
6f8af21
- Update to latest upstream version.
6f8af21
6f8af21
* Tue Jun 23 2015 Marianne Lombard <jehane@fedoraproject.org> - 1.14
6f8af21
- Update to latest upstream version
6f8af21
6f8af21
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6f8af21
6f8af21
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-2
6f8af21
- Perl 5.22 rebuild
6f8af21
6f8af21
* Tue Feb 24 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.12-1
6f8af21
- Update to latest upstream version.
6f8af21
- Use most direct download location.
6f8af21
6f8af21
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-3
6f8af21
- Perl 5.20 rebuild
6f8af21
6f8af21
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6f8af21
6f8af21
* Thu Oct 17 2013 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.05-1
6f8af21
- Update to 1.05; new source location, additional build deps.  Should fix the
6f8af21
  longstanding security bug, 751886.
6f8af21
6f8af21
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-9
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6f8af21
6f8af21
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.7.9-8
6f8af21
- Perl 5.18 rebuild
6f8af21
6f8af21
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-7
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6f8af21
6f8af21
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-6
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6f8af21
6f8af21
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.7.9-5
6f8af21
- Perl 5.16 rebuild
6f8af21
6f8af21
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-4
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6f8af21
6f8af21
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7.9-3
6f8af21
- Perl mass rebuild
6f8af21
6f8af21
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-2
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6f8af21
6f8af21
* Mon Jan 24 2011 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.7.9-1
6f8af21
- Update to current upstream version.
6f8af21
- Handle new upstream treatment of the examples.
6f8af21
- Update to modern packaging guidelines.
6f8af21
6f8af21
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.5-7
6f8af21
- 661697 rebuild for fixing problems with vendorach/lib
6f8af21
6f8af21
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.5-6
6f8af21
- Mass rebuild with perl-5.12.0
6f8af21
6f8af21
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.7.5-5
6f8af21
- rebuild against perl 5.10.1
6f8af21
6f8af21
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6f8af21
6f8af21
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
6f8af21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6f8af21
6f8af21
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.5-2
6f8af21
Rebuild for new perl
6f8af21
6f8af21
* Wed Jan 16 2008 Jason Tibbitts <tibbs@math.uh.edu> 0.7.5-1
6f8af21
- Specfile autogenerated by cpanspec 1.74.
6f8af21
- Make the .pl files documentation instead of installing them to avoid
6f8af21
  additional dependencies.  Also remove their shebang lines to quiet rpmlint.