diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-18 10:57:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-18 10:57:00 +0000 |
commit | 26eaee15530ebd9feeb8c1966c7f1152ea385d72 (patch) | |
tree | 3e60761653e13d25a669460dc05a8b000ea03b0c | |
parent | 5d410220b2fd8bd116435fd7ee7a673a7a2de700 (diff) |
automatic import of parallelopeneuler22.03_LTS_SP3
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | parallel.spec | 88 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 90 insertions, 0 deletions
@@ -0,0 +1 @@ +/parallel-20240122.tar.bz2 diff --git a/parallel.spec b/parallel.spec new file mode 100644 index 0000000..ac9cf4d --- /dev/null +++ b/parallel.spec @@ -0,0 +1,88 @@ +Name: parallel +Summary: Shell tool for executing jobs in parallel +Version: 20240122 +Release: 1 + +License: GPLv3+ and GFDL-1.3-or-later +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 +BuildRequires: sed + +# Exclude errors for dependencies ending in sh, for example ash, pdksh and so on. +%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 ". +sed -i '1s:/env :/:' src/env_parallel.* + +%build +autoreconf -ivf +%configure +%make_build + +%install +%make_install +rm -rf %{buildroot}%{_docdir}/%{name} + +%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 +* Sun Feb 25 2024 lijian <lijian2@kylinos.cn> - 20240122-1 +- Upgrade to 20240122 + +* Wed Jul 05 2023 lijian <lijian2@kylinos.cn> - 20230622-1 +- Package init. @@ -0,0 +1 @@ +b127719ee7084fe359385805eddb96d7 parallel-20240122.tar.bz2 |