Released as 20231222 ('SundhnĂșkagĂ­gur')
[parallel.git] / packager / obs / home-tange / parallel / .osc / parallel.spec
blobb69804d40c5fa2b5739762ef9b62793935d5f8ad
2 Summary: Shell tool for executing jobs in parallel
3 Name: parallel
4 Version: 20231222
5 Release: 2.1
6 License: GPL-3.0-or-later
7 Group: Productivity/File utilities
8 URL: ftp://ftp.gnu.org/gnu/parallel
9 Source0: %{name}_%{version}.tar.gz
10 BuildArch: noarch
11 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
13 %description
14 GNU Parallel is a shell tool for executing jobs in parallel using one
15 or more computers. A job can be a single command or a small script
16 that has to be run for each of the lines in the input. The typical
17 input is a list of files, a list of hosts, a list of users, a list of
18 URLs, or a list of tables. A job can also be a command that reads from
19 a pipe. GNU Parallel can then split the input and pipe it into
20 commands in parallel.
22 If you use xargs and tee today you will find GNU Parallel very easy to
23 use as GNU Parallel is written to have the same options as xargs. If
24 you write loops in shell, you will find GNU Parallel may be able to
25 replace most of the loops and make them run faster by running several
26 jobs in parallel.
28 GNU Parallel makes sure output from the commands is the same output as
29 you would get had you run the commands sequentially. This makes it
30 possible to use output from GNU Parallel as input for other programs.
32 For each line of input GNU Parallel will execute command with the line
33 as arguments. If no command is given, the line of input is
34 executed. Several lines will be run in parallel. GNU Parallel can
35 often be used as a substitute for xargs or cat | bash.
37 %prep
38 if [ "${RPM_BUILD_ROOT}x" == "x" ]; then
39 echo "RPM_BUILD_ROOT empty, bad idea!"
40 exit 1
42 if [ "${RPM_BUILD_ROOT}" == "/" ]; then
43 echo "RPM_BUILD_ROOT is set to "/", bad idea!"
44 exit 1
46 %setup -q
48 %build
49 ./configure
50 make
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 make install prefix=$RPM_BUILD_ROOT%{_prefix} exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
55 datarootdir=$RPM_BUILD_ROOT%{_prefix} docdir=$RPM_BUILD_ROOT%{_docdir} \
56 mandir=$RPM_BUILD_ROOT%{_mandir}
58 rm $RPM_BUILD_ROOT%{_docdir}/parallel.html
59 rm $RPM_BUILD_ROOT%{_docdir}/env_parallel.html
60 rm $RPM_BUILD_ROOT%{_docdir}/parallel_examples.html
61 rm $RPM_BUILD_ROOT%{_docdir}/parallel_tutorial.html
62 rm $RPM_BUILD_ROOT%{_docdir}/parallel_design.html
63 rm $RPM_BUILD_ROOT%{_docdir}/parallel_alternatives.html
64 rm $RPM_BUILD_ROOT%{_docdir}/parallel_book.html
65 rm $RPM_BUILD_ROOT%{_docdir}/niceload.html
66 rm $RPM_BUILD_ROOT%{_docdir}/sem.html
67 rm $RPM_BUILD_ROOT%{_docdir}/sql.html
68 rm $RPM_BUILD_ROOT%{_docdir}/parcat.html
69 rm $RPM_BUILD_ROOT%{_docdir}/parset.html
70 rm $RPM_BUILD_ROOT%{_docdir}/parsort.html
71 rm $RPM_BUILD_ROOT%{_docdir}/parallel.texi
72 rm $RPM_BUILD_ROOT%{_docdir}/env_parallel.texi
73 rm $RPM_BUILD_ROOT%{_docdir}/parallel_examples.texi
74 rm $RPM_BUILD_ROOT%{_docdir}/parallel_tutorial.texi
75 rm $RPM_BUILD_ROOT%{_docdir}/parallel_design.texi
76 rm $RPM_BUILD_ROOT%{_docdir}/parallel_alternatives.texi
77 rm $RPM_BUILD_ROOT%{_docdir}/parallel_book.texi
78 rm $RPM_BUILD_ROOT%{_docdir}/niceload.texi
79 rm $RPM_BUILD_ROOT%{_docdir}/sem.texi
80 rm $RPM_BUILD_ROOT%{_docdir}/sql.texi
81 rm $RPM_BUILD_ROOT%{_docdir}/parcat.texi
82 rm $RPM_BUILD_ROOT%{_docdir}/parset.texi
83 rm $RPM_BUILD_ROOT%{_docdir}/parsort.texi
84 rm $RPM_BUILD_ROOT%{_docdir}/parallel.pdf
85 rm $RPM_BUILD_ROOT%{_docdir}/env_parallel.pdf
86 rm $RPM_BUILD_ROOT%{_docdir}/parallel_examples.pdf
87 rm $RPM_BUILD_ROOT%{_docdir}/parallel_tutorial.pdf
88 rm $RPM_BUILD_ROOT%{_docdir}/parallel_design.pdf
89 rm $RPM_BUILD_ROOT%{_docdir}/parallel_alternatives.pdf
90 rm $RPM_BUILD_ROOT%{_docdir}/parallel_book.pdf
91 rm $RPM_BUILD_ROOT%{_docdir}/niceload.pdf
92 rm $RPM_BUILD_ROOT%{_docdir}/sem.pdf
93 rm $RPM_BUILD_ROOT%{_docdir}/sql.pdf
94 rm $RPM_BUILD_ROOT%{_docdir}/parcat.pdf
95 rm $RPM_BUILD_ROOT%{_docdir}/parset.pdf
96 rm $RPM_BUILD_ROOT%{_docdir}/parsort.pdf
97 rm $RPM_BUILD_ROOT%{_docdir}/parallel_cheat_bw.pdf
98 rm $RPM_BUILD_ROOT%{_docdir}/parallel_options_map.pdf
99 rm $RPM_BUILD_ROOT%{_docdir}/parallel.rst
100 rm $RPM_BUILD_ROOT%{_docdir}/env_parallel.rst
101 rm $RPM_BUILD_ROOT%{_docdir}/parallel_examples.rst
102 rm $RPM_BUILD_ROOT%{_docdir}/parallel_tutorial.rst
103 rm $RPM_BUILD_ROOT%{_docdir}/parallel_design.rst
104 rm $RPM_BUILD_ROOT%{_docdir}/parallel_alternatives.rst
105 rm $RPM_BUILD_ROOT%{_docdir}/parallel_book.rst
106 rm $RPM_BUILD_ROOT%{_docdir}/niceload.rst
107 rm $RPM_BUILD_ROOT%{_docdir}/sem.rst
108 rm $RPM_BUILD_ROOT%{_docdir}/sql.rst
109 rm $RPM_BUILD_ROOT%{_docdir}/parcat.rst
110 rm $RPM_BUILD_ROOT%{_docdir}/parset.rst
111 rm $RPM_BUILD_ROOT%{_docdir}/parsort.rst
113 %clean
114 rm -rf $RPM_BUILD_ROOT
116 %files
117 %defattr(-,root,root,-)
118 /usr/bin/*
119 /usr/share/bash-completion
120 /usr/share/bash-completion/completions
121 /usr/share/bash-completion/completions/parallel
122 /usr/share/zsh
123 /usr/share/zsh/site-functions
124 /usr/share/zsh/site-functions/_parallel
125 /usr/share/man/man1/*
126 /usr/share/man/man7/*
127 %doc README NEWS src/parallel.html src/env_parallel.html src/parallel_examples.html src/parallel_tutorial.html src/parallel_design.html src/parallel_alternatives.html src/parallel_book.html src/sem.html src/sql.html src/parcat.html src/parset.html src/parsort.html src/niceload.html src/parallel.texi src/env_parallel.texi src/parallel_examples.texi src/parallel_tutorial.texi src/parallel_design.texi src/parallel_alternatives.texi src/parallel_book.texi src/niceload.texi src/sem.texi src/sql.texi src/parcat.texi src/parset.texi src/parsort.texi src/parallel.pdf src/env_parallel.pdf src/parallel_examples.pdf src/parallel_tutorial.pdf src/parallel_design.pdf src/parallel_alternatives.pdf src/parallel_book.pdf src/niceload.pdf src/sem.pdf src/sql.pdf src/parcat.pdf src/parset.pdf src/parsort.pdf src/parallel_cheat_bw.pdf src/parallel_options_map.pdf src/parallel.rst src/env_parallel.rst src/parallel_examples.rst src/parallel_tutorial.rst src/parallel_design.rst src/parallel_alternatives.rst src/parallel_book.rst src/niceload.rst src/sem.rst src/sql.rst src/parcat.rst src/parset.rst src/parsort.rst
129 %changelog
130 * Sat Jan 22 2011 Ole Tange
131 - Upgrade to 20110122
132 * Wed Dec 22 2010 Ole Tange
133 - Upgrade to 20101222
134 * Wed Sep 22 2010 Ole Tange
135 - Upgrade to 20100922
136 * Mon Sep 06 2010 Ole Tange
137 - Upgrade to current git-version of source. Tested on build.opensuse.org
138 * Fri Aug 27 2010 Ole Tange
139 - Untested upgrade to current git-version of source.