5fb12e1
Name:           perl-Parallel-ForkManager
0b8552e
Version:        1.18
468b26e
Release:        2%{?dist}
5fb12e1
Summary:        Simple parallel processing fork manager
5fb12e1
License:        GPL+ or Artistic
5fb12e1
Group:          Development/Libraries
5fb12e1
URL:            http://search.cpan.org/dist/Parallel-ForkManager/
3061181
Source0:        http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Parallel-ForkManager-%{version}.tar.gz
5fb12e1
BuildArch:      noarch
695685d
BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More) perl(utf8::all)
99df730
BuildRequires:  perl(Storable) perl(Time::HiRes) perl(Test::Warn)
5fb12e1
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
5fb12e1
5fb12e1
%description
5fb12e1
This module is intended for use in operations that can be done in parallel
5fb12e1
where the number of processes to be forked off should be limited. Typical
5fb12e1
use is a downloader which will be retrieving hundreds/thousands of files.
5fb12e1
5fb12e1
%prep
5fb12e1
%setup -q -n Parallel-ForkManager-%{version}
5fb12e1
5fb12e1
# Prepare the example scripts for inclusion as documentation, as they are not
5fb12e1
# generally useful and have additional dependencies.
954725d
sed -i -e '1d' examples/*.pl
954725d
chmod 644 examples/*.pl
5fb12e1
468b26e
i=lib/Parallel/ForkManager.pm
5fb12e1
iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i
5fb12e1
5fb12e1
%build
5fb12e1
%{__perl} Makefile.PL INSTALLDIRS=vendor
5fb12e1
make %{?_smp_mflags}
5fb12e1
5fb12e1
%install
954725d
make pure_install PERL_INSTALL_ROOT=%{buildroot}
5fb12e1
954725d
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
954725d
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
5fb12e1
954725d
%{_fixperms} %{buildroot}/*
5fb12e1
5fb12e1
%check
5fb12e1
make test
5fb12e1
5fb12e1
%files
695685d
%doc Changes examples/
5fb12e1
%{perl_vendorlib}/*
5fb12e1
%{_mandir}/man3/*
5fb12e1
5fb12e1
%changelog
468b26e
* Thu Mar 31 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-2
468b26e
- Run iconv on the right file.
468b26e
abf6f2a
* Tue Mar 29 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.18-1
abf6f2a
- Update to 1.18.
abf6f2a
caf1b48
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-3
caf1b48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
caf1b48
d7859c0
* Mon Jan 25 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.17-2
d7859c0
- Remove pointless %%defattr statement.
d7859c0
f73d900
* Wed Dec 02 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.17-1
f73d900
- Update to 1.17.
f73d900
99df730
* Thu Oct 08 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.16-1
99df730
- Update to 1.16; rhbz#1270082.  Add new Test::Warn build dep.
99df730
1ecd43d
* Fri Aug 07 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.15-2
1ecd43d
- Add a couple of build dependencies that dropped out of the dep tree.
1ecd43d
fda408b
* Wed Jul 08 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.15-1
fda408b
- Update to latest upstream version.
fda408b
4b9419b
* Tue Jun 23 2015 Marianne Lombard <jehane@fedoraproject.org> - 1.14
4b9419b
- Update to latest upstream version
4b9419b
689852e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
689852e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
689852e
2aa80ef
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-2
2aa80ef
- Perl 5.22 rebuild
2aa80ef
3061181
* Tue Feb 24 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.12-1
3061181
- Update to latest upstream version.
3061181
- Use most direct download location.
3061181
ff0f890
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-3
ff0f890
- Perl 5.20 rebuild
ff0f890
93818c9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
93818c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
93818c9
695685d
* Thu Oct 17 2013 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.05-1
695685d
- Update to 1.05; new source location, additional build deps.  Should fix the
695685d
  longstanding security bug, 751886.
695685d
0686f22
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-9
0686f22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0686f22
55cc8dd
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.7.9-8
55cc8dd
- Perl 5.18 rebuild
55cc8dd
2aa9e0c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-7
2aa9e0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2aa9e0c
6c1fd5e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-6
6c1fd5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6c1fd5e
924fe8f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.7.9-5
924fe8f
- Perl 5.16 rebuild
924fe8f
736f079
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-4
736f079
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
736f079
aca9f42
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7.9-3
aca9f42
- Perl mass rebuild
aca9f42
3dfc512
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.9-2
3dfc512
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3dfc512
954725d
* Mon Jan 24 2011 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.7.9-1
954725d
- Update to current upstream version.
954725d
- Handle new upstream treatment of the examples.
954725d
- Update to modern packaging guidelines.
954725d
8a8ea99
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.5-7
8a8ea99
- 661697 rebuild for fixing problems with vendorach/lib
8a8ea99
dac740b
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.5-6
dac740b
- Mass rebuild with perl-5.12.0
dac740b
3189839
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.7.5-5
3189839
- rebuild against perl 5.10.1
3189839
0bd937b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
0bd937b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0bd937b
3b3c3c5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
3b3c3c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3b3c3c5
443fff9
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.5-2
443fff9
Rebuild for new perl
443fff9
5fb12e1
* Wed Jan 16 2008 Jason Tibbitts <tibbs@math.uh.edu> 0.7.5-1
5fb12e1
- Specfile autogenerated by cpanspec 1.74.
5fb12e1
- Make the .pl files documentation instead of installing them to avoid
5fb12e1
  additional dependencies.  Also remove their shebang lines to quiet rpmlint.