1RPMDEV-NEWSPEC(1) User Commands RPMDEV-NEWSPEC(1)
2
3
4
6 rpmdev-newspec - manual page for rpmdev-newspec version 2.4
7
9 rpmdev-newspec [option]... [appname[.spec]]
10
12 rpmdev-newspec generates new rpm .spec files from templates.
13
15 -o FILE, --output FILE
16
17 Output the specfile to FILE. "-" means stdout. The default is
18 derived from <appname>, or "newpackage.spec" if <appname> is not
19 given.
20
21 -t TYPE, --type TYPE
22
23 Force use of the TYPE spec template. The default is guessed from
24 <appname>, falling back to "minimal" if the guesswork does not
25 result in a more specific one or if <appname> is not given.
26
27 -m, --macros
28 Emit templates using macros instead of shell style variables.
29 Configuration variable: NEWSPEC_PREFER_MACROS, default is off.
30
31 -r VERSION, --rpm-version VERSION
32
33 Filter out some spec file constructs not needed by the specified
34 rpm(build) version and newer ones. Configuration variable:
35 NEWSPEC_MIN_RPMVER, default is system rpm version.
36
37 -h, --help
38 Show this usage message and exit.
39
40 -v, --version
41 Print version information and exit.
42
44 /etc/rpmdevtools
45
46 Directory for specfile templates.
47
48 /etc/rpmdevtools/newspec.conf
49
50 System wide configuration.
51
53 Report bugs at <https://bugzilla.redhat.com/>, component rpmdevtools,
54 or at <https://pagure.io/rpmdevtools/issues>.
55
57 Copyright © Warren Togami <warren@togami.com>, Ville Skyttä
58 <ville.skytta@iki.fi> This program is free software; you can redis‐
59 tribute it and/or modify it under the terms of the GNU General Public
60 License as published by the Free Software Foundation; either version 2
61 of the License, or (at your option) any later version.
62
63
64
65rpmdev-newspec version 2.4 May 2019 RPMDEV-NEWSPEC(1)