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