[packages/parallel] - initial

arekm arekm at pld-linux.org
Sun Dec 29 20:03:57 CET 2013


commit 0a10c02290247b5f468a1a7310269309c634d4b7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Dec 29 20:03:46 2013 +0100

    - initial

 parallel.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/parallel.spec b/parallel.spec
new file mode 100644
index 0000000..f6e5034
--- /dev/null
+++ b/parallel.spec
@@ -0,0 +1,75 @@
+%include        /usr/lib/rpm/macros.perl
+Summary:	Shell tool for executing jobs in parallel
+Name:		parallel
+Version:	20131222
+Release:	1
+License:	GPL v3+
+Group:		X11/Applications
+URL:		http://www.gnu.org/software/parallel/
+Source0:	http://ftp.gnu.org/gnu/parallel/%{name}-%{version}.tar.bz2
+# Source0-md5:	782e594b226454ef58ac4e3d4addaba4
+BuildRequires:	perl-tools-pod
+BuildRequires:	rpm-perlprov
+BuildArch:	noarch
+
+%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}
+
+%install
+
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -iname "*.html" -delete
+find $RPM_BUILD_ROOT -iname "*.texi" -delete
+find $RPM_BUILD_ROOT -iname "*.pod" -delete
+
+mv $RPM_BUILD_ROOT%{_mandir}/man1/sql.1 $RPM_BUILD_ROOT%{_mandir}/man1/parallel-sql.1
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/parallel
+:> $RPM_BUILD_ROOT%{_sysconfdir}/parallel/config
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README NEWS COPYING src/parallel.html src/sem.html src/sql.html
+%doc src/niceload.html src/*.texi
+%attr(755,root,root) %{_bindir}/parallel
+%attr(755,root,root) %{_bindir}/sem
+%attr(755,root,root) %{_bindir}/sql
+%attr(755,root,root) %{_bindir}/niceload
+%dir %{_sysconfdir}/parallel/
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/parallel/config
+%{_mandir}/man1/niceload.1.*
+%{_mandir}/man1/parallel.1.*
+%{_mandir}/man1/sem.1.*
+%{_mandir}/man1/parallel-sql.1.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/parallel.git/commitdiff/0a10c02290247b5f468a1a7310269309c634d4b7



More information about the pld-cvs-commit mailing list