| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH RPMDEV-SPECTOOL "1" "August 2020" "rpmdev-spectool v1.0.10rpmdev2" "User Commands" |
| 3 |
.SH NAME |
| 4 |
rpmdev-spectool \- manual page for rpmdev-spectool v1.0.10rpmdev2 |
| 5 |
.SH SYNOPSIS |
| 6 |
.B rpmdev-spectool |
| 7 |
[\fI\,<options>\/\fR] \fI\,<specfile>\/\fR |
| 8 |
.SH DESCRIPTION |
| 9 |
Spectool is a tool to expand and download sources and patches from specfiles. |
| 10 |
.PP |
| 11 |
If you experience problems with specific specfiles, try to run |
| 12 |
.IP |
| 13 |
rpmbuild \fB\-\-nobuild\fR \fB\-\-nodeps\fR <specfile> |
| 14 |
.PP |
| 15 |
on the file which might give a clue why rpmdev\-spectool fails on a file (ignore |
| 16 |
anything about missing sources or patches). The plan is to catch errors like |
| 17 |
this in rpmdev\-spectool itself and warn the user about it in the future. |
| 18 |
.SH OPTIONS |
| 19 |
.SS "Operating mode:" |
| 20 |
.TP |
| 21 |
\fB\-l\fR, \fB\-\-lf\fR, \fB\-\-list\-files\fR |
| 22 |
lists the expanded sources/patches (default) |
| 23 |
.TP |
| 24 |
\fB\-g\fR, \fB\-\-gf\fR, \fB\-\-get\-files\fR |
| 25 |
gets the sources/patches that are listed with |
| 26 |
a URL |
| 27 |
.TP |
| 28 |
\fB\-h\fR, \fB\-\-help\fR |
| 29 |
display this help screen |
| 30 |
.SS "Files on which to operate:" |
| 31 |
.TP |
| 32 |
\fB\-A\fR, \fB\-\-all\fR |
| 33 |
all files, sources and patches (default) |
| 34 |
.TP |
| 35 |
\fB\-S\fR, \fB\-\-sources\fR |
| 36 |
all sources |
| 37 |
.TP |
| 38 |
\fB\-P\fR, \fB\-\-patches\fR |
| 39 |
all patches |
| 40 |
.TP |
| 41 |
\fB\-s\fR, \fB\-\-source\fR x[,y[,...]] |
| 42 |
specified sources |
| 43 |
.TP |
| 44 |
\fB\-p\fR, \fB\-\-patch\fR a[,b[,...]] |
| 45 |
specified patches |
| 46 |
.SS "Miscellaneous:" |
| 47 |
.TP |
| 48 |
\fB\-d\fR, \fB\-\-define\fR 'macro value' |
| 49 |
defines RPM macro 'macro' to be 'value' |
| 50 |
.TP |
| 51 |
\fB\-C\fR, \fB\-\-directory\fR dir |
| 52 |
download into specified directory (default '.') |
| 53 |
.TP |
| 54 |
\fB\-R\fR, \fB\-\-sourcedir\fR |
| 55 |
download into rpm's %{_sourcedir} |
| 56 |
.TP |
| 57 |
\fB\-n\fR, \fB\-\-dryrun\fR, \fB\-\-dry\-run\fR |
| 58 |
don't download anything, just show what would be |
| 59 |
done |
| 60 |
.TP |
| 61 |
\fB\-f\fR, \fB\-\-force\fR |
| 62 |
try to unlink and download if target files exist |
| 63 |
.TP |
| 64 |
\fB\-D\fR, \fB\-\-debug\fR |
| 65 |
output debug info, don't clean up when done |
| 66 |
.SH FILES |
| 67 |
\fI\,/etc/rpmdevtools/curlrc\/\fP |
| 68 |
.IP |
| 69 |
optional curl(1) configuration |