2013-03-04 17:58:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnu_parallel
|
|
|
|
#
|
2014-05-26 11:27:15 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnu_parallel
|
2014-12-08 01:43:17 +01:00
|
|
|
Version: 20141122
|
2013-03-04 17:58:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Shell tool for executing jobs in parallel
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/File utilities
|
|
|
|
Url: http://www.gnu.org/software/parallel/
|
|
|
|
|
2013-05-08 19:37:34 +02:00
|
|
|
#DL-URL: http://ftp.gnu.org/gnu/parallel/
|
|
|
|
Source: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2
|
|
|
|
Source2: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2.sig
|
|
|
|
Source3: %name.keyring
|
2013-03-04 17:58:17 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
%if 0%{?suse_version}
|
2013-05-08 19:37:34 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2013-03-04 17:58:17 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn parallel-%version
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir="%_docdir/%name"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
b="%buildroot"
|
|
|
|
make install DESTDIR="$b" %{?_smp_mflags}
|
2013-05-08 19:37:34 +02:00
|
|
|
cp -a COPYING README NEWS "$b/%_docdir/%name/"
|
2013-03-04 17:58:17 +01:00
|
|
|
%if 0%{?fdupes:1}
|
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/niceload
|
|
|
|
%_bindir/parallel
|
|
|
|
%_bindir/sem
|
|
|
|
%_bindir/sql
|
|
|
|
%_mandir/man1/*.1*
|
|
|
|
%_docdir/%name
|
|
|
|
|
|
|
|
%changelog
|