|
|
|
@ -1,3 +1,135 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 2;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: parallel
|
|
|
|
|
Summary: Shell tool for executing jobs in parallel
|
|
|
|
|
Version: 20230422
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
|
|
|
|
|
License: GFDL and GPLv3+
|
|
|
|
|
URL: https://www.gnu.org/software/parallel/
|
|
|
|
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-podlators
|
|
|
|
|
BuildRequires: perl-FileHandle
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
|
|
|
|
|
%define __requires_exclude sh$
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
# Replace shebang by replacing "env" by removing "env ".
|
|
|
|
|
# FIXME: this is quite a hack
|
|
|
|
|
sed -i '1s:/env :/:' src/env_parallel.*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ivf
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
rm -vrf %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSES/GPL-3.0-or-later.txt LICENSES/GFDL-1.3-or-later.txt
|
|
|
|
|
%doc README NEWS
|
|
|
|
|
%{_bindir}/parallel
|
|
|
|
|
%{_bindir}/parcat
|
|
|
|
|
%{_bindir}/parset
|
|
|
|
|
%{_bindir}/parsort
|
|
|
|
|
%{_mandir}/man1/parallel.1*
|
|
|
|
|
%{_mandir}/man1/parcat.1*
|
|
|
|
|
%{_mandir}/man1/parset.1*
|
|
|
|
|
%{_mandir}/man1/parsort.1*
|
|
|
|
|
%{_mandir}/man7/parallel*
|
|
|
|
|
%{_bindir}/env_parallel*
|
|
|
|
|
%{_mandir}/man1/env_parallel.1*
|
|
|
|
|
%{_bindir}/sem
|
|
|
|
|
%{_mandir}/man1/sem.1*
|
|
|
|
|
%{_bindir}/sql
|
|
|
|
|
%{_mandir}/man1/sql.1*
|
|
|
|
|
%{_bindir}/niceload
|
|
|
|
|
%{_mandir}/man1/niceload.1*
|
|
|
|
|
%{_datadir}/bash-completion/completions/parallel
|
|
|
|
|
%{_datadir}/zsh/site-functions/_parallel
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 02 2023 Filipe Rosset <rosset.filipe@gmail.com> - 20230422-2
|
|
|
|
|
- update parallel to 20230422
|
|
|
|
|
|
|
|
|
|
* Tue May 02 2023 Filipe Rosset <rosset.filipe@gmail.com> - 20230422-1
|
|
|
|
|
- update parallel to 20230422
|
|
|
|
|
|
|
|
|
|
* Fri Mar 31 2023 Filipe Rosset <rosset.filipe@gmail.com> - 20230322-1
|
|
|
|
|
- update to 20230322
|
|
|
|
|
|
|
|
|
|
* Sun Feb 19 2023 Filipe Rosset <rosset.filipe@gmail.com> - 20230122-1
|
|
|
|
|
- update to 20230122
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221122-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 24 2022 Filipe Rosset <rosset.filipe@gmail.com> - 20221122-1
|
|
|
|
|
- updated to latest version
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Filipe Rosset <rosset.filipe@gmail.com> - 20221022-1
|
|
|
|
|
- update to 20221022
|
|
|
|
|
|
|
|
|
|
* Sat Sep 24 2022 Filipe Rosset <rosset.filipe@gmail.com> - 20220922-1
|
|
|
|
|
- Update to 20220922
|
|
|
|
|
|
|
|
|
|
* Tue Aug 23 2022 Filipe Rosset <rosset.filipe@gmail.com> - 20220822-1
|
|
|
|
|
- update to 20220822
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20220322-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Filipe Rosset <rosset.filipe@gmail.com> - 20220322-1
|
|
|
|
|
- update to 20220322
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211222-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 05 2022 Jirka Hladky <jhladky@redhat.com> - 20211222-2
|
|
|
|
|
- Remove all shell dependencies
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20201222-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -105,3 +237,4 @@
|
|
|
|
|
- Added a comment to the description, concerning the moreutils compatibility
|
|
|
|
|
* Sun Feb 6 2011 Golo Fuchert <packages@golotop.de> - 20110205-1
|
|
|
|
|
- Initial package. Based on a package by Ole Tange and Markus Ammer.
|
|
|
|
|
|