b941a86
Name:           parallel
b941a86
Summary:        Shell tool for executing jobs in parallel
b941a86
Version:        20160722
b941a86
Release:        1%{?dist}
b941a86
b941a86
License:        GPLv3+
b941a86
URL:            http://www.gnu.org/software/parallel/
b941a86
Source0:        http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
b941a86
b941a86
BuildArch:      noarch
b941a86
b941a86
BuildRequires:  perl-generators
b941a86
BuildRequires:  %{_bindir}/pod2man
golfu a382514
golfu a382514
# Due to a naming conflict, both packages cannot be installed in parallel
golfu a382514
# To prevent user confusion, GNU parallel is installed in a compatibility
golfu a382514
# mode to be commandline compatible to moreutils' parallel.
golfu a382514
# This mode can be turned off system wide or on a per-user base.
b941a86
Conflicts:      moreutils-parallel
golfu a382514
golfu a382514
%description
golfu a382514
GNU Parallel is a shell tool for executing jobs in parallel using one or more
golfu a382514
machines. A job is typically a single command or a small script that has to be
golfu a382514
run for each of the lines in the input. The typical input is a list of files, a
golfu a382514
list of hosts, a list of users, or a list of tables.
golfu a382514
golfu a382514
If you use xargs today you will find GNU Parallel very easy to use. If you
golfu a382514
write loops in shell, you will find GNU Parallel may be able to replace most of
golfu a382514
the loops and make them run faster by running jobs in parallel. If you use ppss
golfu a382514
or pexec you will find GNU Parallel will often make the command easier to read.
golfu a382514
golfu a382514
GNU Parallel also makes sure output from the commands is the same output as you
golfu a382514
would get had you run the commands sequentially. This makes it possible to use
golfu a382514
output from GNU Parallel as input for other programs.
golfu a382514
golfu a382514
GNU Parallel is command-line-compatible with moreutils' parallel, but offers
golfu a382514
additional features.
golfu a382514
golfu a382514
%prep
b941a86
%autosetup
golfu a382514
golfu a382514
%build
golfu a382514
%configure 
b941a86
%make_build
golfu a382514
golfu a382514
%install
b941a86
%make_install
b941a86
rm -vrf %{buildroot}%{_pkgdocdir}
b941a86
sed -i -e '1s|!/usr/bin/env perl|#!%{__perl}|' %{buildroot}%{_bindir}/*
b941a86
# FIXME: do it properly
b941a86
sed -i -e '1{\@^#!@d}' %{buildroot}%{_bindir}/env_parallel.*
b941a86
chmod -x %{buildroot}%{_bindir}/env_parallel.*
golfu a382514
golfu a382514
%files
b941a86
%license COPYING
b941a86
%doc README NEWS
golfu a382514
%{_bindir}/parallel
b941a86
%{_mandir}/man1/parallel.1*
b941a86
%exclude %{_bindir}/env_parallel*
b941a86
%exclude %{_mandir}/man1/env_parallel.1*
golfu a382514
%{_bindir}/sem
b941a86
%{_mandir}/man1/sem.1*
golfu a382514
%{_bindir}/sql
b941a86
%{_mandir}/man1/sql.1*
golfu a382514
%{_bindir}/niceload
b941a86
%{_mandir}/man1/niceload.1*
b941a86
%{_mandir}/man7/parallel_tutorial.7*
b941a86
%{_mandir}/man7/parallel_design.7*
golfu a382514
golfu a382514
%changelog
b941a86
* Sun Aug 21 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 20160722-1
b941a86
- Update to 20160722
b941a86
Golo Fuchert 7732115
* Mon Apr 04 2016 Golo Fuchert <packages@golotop.de> 20160222-1
Golo Fuchert 7732115
- Update to version 20160222-1 to fix bugs (#1285888,1307846,1320511,1320956,1320958)
Golo Fuchert 7732115
089af5a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20141122-3
089af5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
089af5a
1cbf989
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20141122-2
1cbf989
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1cbf989
golfu 5395634
* Wed Dec 03 2014 Golo Fuchert <packages@golotop.de> 20141122-1
golfu 5395634
- Updated to newest version 20141122
golfu 5395634
8213799
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20131222-3
8213799
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8213799
golfu 2596acb
* Wed Jan 22 2014 Golo Fuchert <packages@golotop.de> 20131222-2
golfu 2596acb
- Corrected typo in changelog
golfu 2596acb
- Removed directory, which is no longer needed
golfu 2596acb
golfu 22e8b95
* Sun Jan 19 2014 Golo Fuchert <packages@golotop.de> 20131222-1
golfu 22e8b95
- Updated to newest versoin 20131222
golfu 73c3959
- Removed patches that are no longer needed (see below for details)
golfu 22e8b95
- Remvoal of parallel-config, feature deprecated
c37261b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130522-4
c37261b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f04be55
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 20130522-3
f04be55
- Perl 5.18 rebuild
golfu b221a02
* Thu Jun 13 2013 Golo Fuchert <packages@golotop.de> - 20130522-2
golfu b221a02
- Patch of parallel.pod due to new syntax 
golfu 8d47b33
* Wed May 22 2013 Golo Fuchert <packages@golotop.de> - 20130522-1
golfu 8d47b33
- Updated to newest version 20130522 
0fddd9e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20121222-2
0fddd9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
golfu a382514
* Wed Jan 16 2013 Golo Fuchert <packages@golotop.de> - 20121222-1
golfu a382514
- Updated to newest version 20121222 (due to #895971)
golfu a382514
* Wed Mar 21 2012 Golo Fuchert <packages@golotop.de> - 20120222-1
golfu a382514
- Updated to newest version 20120222
golfu a382514
- renamed manpage sql to parallel-sql (naming conflict, bug 797823)
golfu a382514
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110722-4
golfu a382514
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
golfu a382514
* Fri Sep 09 2011 Golo Fuchert <packages@golotop.de> - 20110722-3
golfu a382514
- Added niceload.html to doc
golfu a382514
* Fri Sep 09 2011 Golo Fuchert <packages@golotop.de> - 20110722-2
golfu a382514
- Minor cosmetic changes and consistent macro usage
golfu a382514
* Sat Aug 13 2011 Golo Fuchert <packages@golotop.de> - 20110722-1
golfu a382514
- Updated to newest version 20110722
golfu a382514
* Sun May 22 2011 Golo Fuchert <packages@golotop.de> - 20110522-1
golfu a382514
- Update to version 20110522
golfu a382514
- Conflict with moreutils-parallel
golfu a382514
- Incl. config file to make gnu parallel compatible with moreutils' by default
golfu a382514
- Added a comment to the description, concerning the moreutils compatibility
golfu a382514
* Sun Feb 6 2011 Golo Fuchert <packages@golotop.de> - 20110205-1
golfu a382514
- Initial package. Based on a package by Ole Tange and Markus Ammer.