2013-03-04 17:58:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnu_parallel
|
|
|
|
#
|
2022-01-23 17:46:48 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2013-03-04 17:58:17 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-14 21:06:21 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-03-04 17:58:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnu_parallel
|
2022-10-03 15:16:07 +02:00
|
|
|
Version: 20220922
|
2013-03-04 17:58:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Shell tool for executing jobs in parallel
|
2018-03-08 00:26:41 +01:00
|
|
|
License: GPL-3.0-or-later
|
2013-03-04 17:58:17 +01:00
|
|
|
Group: Productivity/File utilities
|
2020-01-10 10:55:01 +01:00
|
|
|
URL: https://www.gnu.org/software/parallel/
|
|
|
|
Source: https://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2
|
|
|
|
Source2: https://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2.sig
|
2015-11-23 13:17:42 +01:00
|
|
|
Source3: %name.keyring
|
2020-03-16 10:41:01 +01:00
|
|
|
Source9: %name-rpmlintrc
|
2017-07-07 17:57:31 +02:00
|
|
|
Patch0: parallel-remove-nag-screen.patch
|
2013-03-04 17:58:17 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNU Parallel is a shell tool for executing jobs in parallel using one
|
|
|
|
or more computers. A job can be 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, a list of
|
|
|
|
URLs, or a list of tables. A job can also be a command that reads from
|
|
|
|
a pipe. GNU Parallel can then split the input and pipe it into
|
|
|
|
commands in parallel.
|
|
|
|
|
2015-03-22 21:26:28 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for GNU parallel
|
2021-03-23 16:38:36 +01:00
|
|
|
License: CC-BY-SA-3.0 AND GFDL-1.3-only
|
2015-03-22 21:26:28 +01:00
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
GNU Parallel is a shell tool for executing jobs in parallel using one
|
|
|
|
or more computers.
|
|
|
|
This subpackage contains the documentation for Parallel.
|
|
|
|
|
2022-07-25 09:43:58 +02:00
|
|
|
%package bash-completion
|
|
|
|
Summary: zsh completion for GNU parallel
|
|
|
|
Requires: %name = %version
|
|
|
|
Supplements: (%name and bash-completion)
|
|
|
|
BuildRequires: bash
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
GNU Parallel is a shell tool for executing jobs in parallel using one
|
|
|
|
or more computers.
|
|
|
|
This subpackage contains the bash completion for Parallel.
|
|
|
|
|
|
|
|
%package zsh-completion
|
|
|
|
Summary: zsh completion for GNU parallel
|
|
|
|
Requires: %name = %version
|
|
|
|
Supplements: (%name and zsh)
|
|
|
|
BuildRequires: zsh
|
|
|
|
|
|
|
|
%description zsh-completion
|
|
|
|
GNU Parallel is a shell tool for executing jobs in parallel using one
|
|
|
|
or more computers.
|
|
|
|
This subpackage contains the zsh completion for Parallel.
|
|
|
|
|
2013-03-04 17:58:17 +01:00
|
|
|
%prep
|
2020-01-10 12:01:43 +01:00
|
|
|
%autosetup -n parallel-%version -p1
|
2013-03-04 17:58:17 +01:00
|
|
|
|
|
|
|
%build
|
2015-11-23 13:17:42 +01:00
|
|
|
%configure --docdir="%_docdir/%name"
|
2020-09-05 17:29:16 +02:00
|
|
|
%make_build
|
2013-03-04 17:58:17 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-05 20:57:46 +01:00
|
|
|
%make_install
|
2021-03-23 16:38:36 +01:00
|
|
|
cp -a CITATION NEWS README "%buildroot/%_docdir/%name/"
|
2013-03-04 17:58:17 +01:00
|
|
|
|
2020-01-10 10:55:01 +01:00
|
|
|
# fix shebang to to not use env & preserve the time stamps
|
2022-08-05 17:43:06 +02:00
|
|
|
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!/usr/bin/perl:" "%buildroot/%_bindir/parallel"
|
2020-01-10 12:01:43 +01:00
|
|
|
touch -r "%buildroot/%_bindir/parallel.orig" "%buildroot/%_bindir/parallel"
|
|
|
|
rm "%buildroot/%_bindir/parallel.orig"
|
2020-01-10 10:55:01 +01:00
|
|
|
|
2013-03-04 17:58:17 +01:00
|
|
|
%files
|
2021-03-23 16:38:36 +01:00
|
|
|
%license LICENSES/GPL-3.0-or-later.txt LICENSES/CC-BY-SA-4.0.txt LICENSES/GFDL-1.3-or-later.txt
|
2016-03-22 23:07:48 +01:00
|
|
|
%_bindir/env_parallel*
|
2015-11-23 13:17:42 +01:00
|
|
|
%_bindir/niceload
|
2020-04-29 09:43:32 +02:00
|
|
|
%_bindir/par*
|
2015-11-23 13:17:42 +01:00
|
|
|
%_bindir/sem
|
|
|
|
%_bindir/sql
|
|
|
|
%_mandir/man1/*.1*
|
|
|
|
%_mandir/man7/*.7*
|
2015-03-22 21:26:28 +01:00
|
|
|
|
2022-07-25 09:43:58 +02:00
|
|
|
%files bash-completion
|
2022-07-25 09:45:32 +02:00
|
|
|
%_datadir/bash-completion/
|
2022-07-25 09:43:58 +02:00
|
|
|
|
|
|
|
%files zsh-completion
|
2022-07-25 09:45:32 +02:00
|
|
|
%_datadir/zsh/
|
2022-07-25 09:43:58 +02:00
|
|
|
|
2015-03-22 21:26:28 +01:00
|
|
|
%files doc
|
2015-11-23 13:17:42 +01:00
|
|
|
%_docdir/%name/
|
2013-03-04 17:58:17 +01:00
|
|
|
|
|
|
|
%changelog
|