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