From 1d55521328aacbab93cdbe684671e21b82a2adfa Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 25 Mar 2024 10:10:00 +0300 Subject: [PATCH] import parallel-20190922-1.el8 --- .gitignore | 1 + .parallel.metadata | 1 + SPECS/parallel.spec | 159 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 .gitignore create mode 100644 .parallel.metadata create mode 100644 SPECS/parallel.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6151ca8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/parallel-20190922.tar.bz2 diff --git a/.parallel.metadata b/.parallel.metadata new file mode 100644 index 0000000..2c36cea --- /dev/null +++ b/.parallel.metadata @@ -0,0 +1 @@ +cb827e2e5a3ab4d8ad68a7fd316243d7bb8e53b6 SOURCES/parallel-20190922.tar.bz2 diff --git a/SPECS/parallel.spec b/SPECS/parallel.spec new file mode 100644 index 0000000..b8e8bc5 --- /dev/null +++ b/SPECS/parallel.spec @@ -0,0 +1,159 @@ +Name: parallel +Summary: Shell tool for executing jobs in parallel +Version: 20190922 +Release: 1%{?dist} + +License: GPLv3+ +URL: http://www.gnu.org/software/parallel/ +Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 + +BuildArch: noarch + +BuildRequires: perl-generators +BuildRequires: %{_bindir}/pod2man + +# Due to a naming conflict, both packages cannot be installed in parallel +# To prevent user confusion, GNU parallel is installed in a compatibility +# mode to be commandline compatible to moreutils' parallel. +# This mode can be turned off system wide or on a per-user base. +Conflicts: moreutils-parallel + +%description +GNU Parallel is a shell tool for executing jobs in parallel using one or more +machines. A job is typically a single command or a small script that has to be +run for each of the lines in the input. The typical input is a list of files, a +list of hosts, a list of users, or a list of tables. + +If you use xargs today you will find GNU Parallel very easy to use. If you +write loops in shell, you will find GNU Parallel may be able to replace most of +the loops and make them run faster by running jobs in parallel. If you use ppss +or pexec you will find GNU Parallel will often make the command easier to read. + +GNU Parallel also makes sure output from the commands is the same output as you +would get had you run the commands sequentially. This makes it possible to use +output from GNU Parallel as input for other programs. + +GNU Parallel is command-line-compatible with moreutils' parallel, but offers +additional features. + +%prep +%autosetup + +%build +%configure +%make_build + +%install +%make_install +rm -vrf %{buildroot}%{_pkgdocdir} +sed -i -e '1s|!#/usr/bin/env perl|#!%{__perl}|' %{buildroot}%{_bindir}/* +# FIXME: do it properly +sed -i -e '1{\@^#!@d}' %{buildroot}%{_bindir}/env_parallel.* +chmod -x %{buildroot}%{_bindir}/env_parallel.* + +%files +%license COPYING +%doc README NEWS +%{_bindir}/parallel +%{_bindir}/parcat +%{_bindir}/parset +%{_mandir}/man1/parallel.1* +%{_mandir}/man1/parcat.1* +%{_mandir}/man1/parset.1* +%{_mandir}/man7/parallel* +%exclude %{_bindir}/env_parallel* +%exclude %{_mandir}/man1/env_parallel.1* +%{_bindir}/sem +%{_mandir}/man1/sem.1* +%{_bindir}/sql +%{_mandir}/man1/sql.1* +%{_bindir}/niceload +%{_mandir}/man1/niceload.1* + +%changelog +* Mon Mar 25 2024 Sergey Cherevko - 20190922-1 +- Rebuilt for MSVSphere 8.9 + +* Wed Oct 16 2019 Jirka Hladky - 20190922-1 +- Update to 20190922 + +* Fri Jul 26 2019 Fedora Release Engineering - 20180322-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 20180322-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 20180322-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Apr 15 2018 Filipe Rosset - 20180322-1 +- update to latest upstream 20180322 fixes rhbz #1520477 + +* Thu Feb 08 2018 Fedora Release Engineering - 20160722-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 20160722-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 20160722-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Aug 30 2016 Igor Gnatenko - 20160722-2 +- Fix shebang (RHBZ #1370706) + +* Sun Aug 21 2016 Igor Gnatenko - 20160722-1 +- Update to 20160722 + +* Mon Apr 04 2016 Golo Fuchert 20160222-1 +- Update to version 20160222-1 to fix bugs (#1285888,1307846,1320511,1320956,1320958) + +* Thu Feb 04 2016 Fedora Release Engineering - 20141122-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 20141122-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Dec 03 2014 Golo Fuchert 20141122-1 +- Updated to newest version 20141122 + +* Fri Jun 06 2014 Fedora Release Engineering - 20131222-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jan 22 2014 Golo Fuchert 20131222-2 +- Corrected typo in changelog +- Removed directory, which is no longer needed + +* Sun Jan 19 2014 Golo Fuchert 20131222-1 +- Updated to newest versoin 20131222 +- Removed patches that are no longer needed (see below for details) +- Remvoal of parallel-config, feature deprecated +* Sat Aug 03 2013 Fedora Release Engineering - 20130522-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild +* Wed Jul 17 2013 Petr Pisar - 20130522-3 +- Perl 5.18 rebuild +* Thu Jun 13 2013 Golo Fuchert - 20130522-2 +- Patch of parallel.pod due to new syntax +* Wed May 22 2013 Golo Fuchert - 20130522-1 +- Updated to newest version 20130522 +* Thu Feb 14 2013 Fedora Release Engineering - 20121222-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild +* Wed Jan 16 2013 Golo Fuchert - 20121222-1 +- Updated to newest version 20121222 (due to #895971) +* Wed Mar 21 2012 Golo Fuchert - 20120222-1 +- Updated to newest version 20120222 +- renamed manpage sql to parallel-sql (naming conflict, bug 797823) +* Fri Jan 13 2012 Fedora Release Engineering - 20110722-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild +* Fri Sep 09 2011 Golo Fuchert - 20110722-3 +- Added niceload.html to doc +* Fri Sep 09 2011 Golo Fuchert - 20110722-2 +- Minor cosmetic changes and consistent macro usage +* Sat Aug 13 2011 Golo Fuchert - 20110722-1 +- Updated to newest version 20110722 +* Sun May 22 2011 Golo Fuchert - 20110522-1 +- Update to version 20110522 +- Conflict with moreutils-parallel +- Incl. config file to make gnu parallel compatible with moreutils' by default +- Added a comment to the description, concerning the moreutils compatibility +* Sun Feb 6 2011 Golo Fuchert - 20110205-1 +- Initial package. Based on a package by Ole Tange and Markus Ammer.