[parallel] Initial import (#675495)
Golo Fuchert
golfu at fedoraproject.org
Sat Sep 10 23:09:39 UTC 2011
commit 329370a6ba7bfe35d4de828917d221b3fcb20efb
Author: golfu <packages at golotop.de>
Date: Sun Sep 11 01:07:33 2011 +0200
Initial import (#675495)
.gitignore | 1 +
parallel-config | 1 +
parallel.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d5ff97a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/parallel-20110722.tar.bz2
diff --git a/parallel-config b/parallel-config
new file mode 100644
index 0000000..50ac30d
--- /dev/null
+++ b/parallel-config
@@ -0,0 +1 @@
+--tollef
diff --git a/parallel.spec b/parallel.spec
new file mode 100644
index 0000000..2056775
--- /dev/null
+++ b/parallel.spec
@@ -0,0 +1,80 @@
+Summary: Shell tool for executing jobs in parallel
+Name: parallel
+Version: 20110722
+Release: 2%{?dist}
+License: GPLv3+
+Group: Applications/Productivity
+URL: http://www.gnu.org/software/parallel/
+Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
+# Fedora-specific config file (compatibility with moreutils' parallel)
+Source1: %{name}-config
+BuildArch: noarch
+
+# 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
+
+%setup -q
+
+%build
+
+%configure
+make %{?_smp_mflags}
+
+%install
+
+make install DESTDIR=%{buildroot}
+
+find %{buildroot} -iname "*.html" -delete
+
+mkdir -m755 -p %{buildroot}%{_sysconfdir}/parallel
+install -pD -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/parallel/config
+
+%files
+
+%{_bindir}/parallel
+%{_bindir}/sem
+%{_bindir}/sql
+%{_bindir}/niceload
+%dir %{_sysconfdir}/parallel/
+%config(noreplace) %{_sysconfdir}/parallel/config
+%{_mandir}/man1/niceload.1.*
+%{_mandir}/man1/parallel.1.*
+%{_mandir}/man1/sem.1.*
+%{_mandir}/man1/sql.1.*
+%doc README NEWS COPYING src/parallel.html src/sem.html src/sql.html
+
+%changelog
+* Fri Sep 09 2011 Golo Fuchert <packages at golotop.de> - 20110722-2
+- Minor cosmetic changes and consistent macro usage
+* Sat Aug 13 2011 Golo Fuchert <packages at golotop.de> - 20110722-1
+- Updated to newest version 20110722
+* Sun May 22 2011 Golo Fuchert <packages at golotop.de> - 20110522-1
+- Update to version 20110522
+- Conflict with moreutils-parallel
+- Incl. config file to make gnu parallel compatible with moreutils' by default
+- Added a comment to the description, concerning the moreutils compatibility
+* Sun Feb 6 2011 Golo Fuchert <packages at golotop.de> - 20110205-1
+- Initial package. Based on a package by Ole Tange and Markus Ammer.
diff --git a/sources b/sources
index e69de29..307e757 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fddfaad6e944e7d6609bf110f9a562cc parallel-20110722.tar.bz2
More information about the scm-commits
mailing list