2013-03-04 17:58:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnu_parallel
|
|
|
|
#
|
2020-01-10 10:55:01 +01:00
|
|
|
# Copyright (c) 2020 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
|
2020-10-09 20:48:46 +02:00
|
|
|
Version: 20200922
|
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/
|
2013-05-08 19:37:34 +02:00
|
|
|
#DL-URL: http://ftp.gnu.org/gnu/parallel/
|
2020-01-10 10:55:01 +01:00
|
|
|
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
|
2018-03-08 00:26:41 +01:00
|
|
|
License: GFDL-1.3-only AND CC-BY-SA-3.0
|
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.
|
|
|
|
|
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
|
2018-05-26 06:39:01 +02:00
|
|
|
cp -a CITATION NEWS README cc-by-sa.txt fdl.txt "%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
|
2020-01-10 12:01:43 +01:00
|
|
|
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!%__perl:" "%buildroot/%_bindir/parallel"
|
|
|
|
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
|
2018-05-26 06:39:01 +02:00
|
|
|
%license COPYING
|
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
|
|
|
|
|
|
|
%files doc
|
2015-11-23 13:17:42 +01:00
|
|
|
%_docdir/%name/
|
2013-03-04 17:58:17 +01:00
|
|
|
|
|
|
|
%changelog
|