1 %include /usr/lib/rpm/macros.perl
2 Summary: Shell tool for executing jobs in parallel
7 Group: X11/Applications
8 URL: http://www.gnu.org/software/parallel/
9 Source0: http://ftp.gnu.org/gnu/parallel/%{name}-%{version}.tar.bz2
10 # Source0-md5: 782e594b226454ef58ac4e3d4addaba4
11 BuildRequires: perl-tools-pod
12 BuildRequires: rpm-perlprov
16 GNU Parallel is a shell tool for executing jobs in parallel using one
17 or more machines. A job is typically a single command or a small
18 script that has to be run for each of the lines in the input. The
19 typical input is a list of files, a list of hosts, a list of users, or
22 If you use xargs today you will find GNU Parallel very easy to use. If
23 you write loops in shell, you will find GNU Parallel may be able to
24 replace most of the loops and make them run faster by running jobs in
25 parallel. If you use ppss or pexec you will find GNU Parallel will
26 often make the command easier to read.
28 GNU Parallel also makes sure output from the commands is the same
29 output as you would get had you run the commands sequentially. This
30 makes it possible to use output from GNU Parallel as input for other
33 GNU Parallel is command-line-compatible with moreutils' parallel, but
34 offers additional features.
46 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
50 find $RPM_BUILD_ROOT -iname "*.html" -delete
51 find $RPM_BUILD_ROOT -iname "*.texi" -delete
52 find $RPM_BUILD_ROOT -iname "*.pod" -delete
54 mv $RPM_BUILD_ROOT%{_mandir}/man1/sql.1 $RPM_BUILD_ROOT%{_mandir}/man1/parallel-sql.1
56 install -d $RPM_BUILD_ROOT%{_sysconfdir}/parallel
57 :> $RPM_BUILD_ROOT%{_sysconfdir}/parallel/config
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc README NEWS COPYING src/parallel.html src/sem.html src/sql.html
65 %doc src/niceload.html src/*.texi
66 %attr(755,root,root) %{_bindir}/parallel
67 %attr(755,root,root) %{_bindir}/sem
68 %attr(755,root,root) %{_bindir}/sql
69 %attr(755,root,root) %{_bindir}/niceload
70 %dir %{_sysconfdir}/parallel/
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/parallel/config
72 %{_mandir}/man1/niceload.1.*
73 %{_mandir}/man1/parallel.1.*
74 %{_mandir}/man1/sem.1.*
75 %{_mandir}/man1/parallel-sql.1.*