31 #define POPT_NOLANG -1012
33 #define POPT_REBUILD 0x4220
34 #define POPT_RECOMPILE 0x4320
35 #define POPT_BA 0x6261
36 #define POPT_BB 0x6262
37 #define POPT_BC 0x6263
38 #define POPT_BI 0x6269
39 #define POPT_BL 0x626c
40 #define POPT_BP 0x6270
41 #define POPT_BS 0x6273
42 #define POPT_BT 0x6274
43 #define POPT_BF 0x6266
44 #define POPT_TA 0x7461
45 #define POPT_TB 0x7462
46 #define POPT_TC 0x7463
47 #define POPT_TI 0x7469
48 #define POPT_TL 0x746c
49 #define POPT_TP 0x7470
50 #define POPT_TS 0x7473
63 enum poptCallbackReason reason,
64 const struct poptOption * opt,
90 rba->
buildMode = (char)((((
unsigned int)opt->val) >> 8) & 0xff);
121 {
NULL,
'\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE,
126 N_(
"build through %prep (unpack sources and apply patches) from <specfile>"),
129 N_(
"build through %build (%prep, then compile) from <specfile>"),
132 N_(
"build through %install (%prep, %build, then install) from <specfile>"),
135 N_(
"verify %files section from <specfile>"),
138 N_(
"build source and binary packages from <specfile>"),
141 N_(
"build binary package only from <specfile>"),
144 N_(
"build source package only from <specfile>"),
147 {
"bt", 0, POPT_ARGFLAG_ONEDASH, 0,
POPT_BT,
148 N_(
"track versions of sources from <specfile>"),
150 {
"bf", 0, POPT_ARGFLAG_ONEDASH, 0,
POPT_BF,
151 N_(
"fetch missing source and patch files"),
155 N_(
"build through %prep (unpack sources and apply patches) from <tarball>"),
158 N_(
"build through %build (%prep, then compile) from <tarball>"),
161 N_(
"build through %install (%prep, %build, then install) from <tarball>"),
163 {
"tl", 0, POPT_ARGFLAG_ONEDASH|POPT_ARGFLAG_DOC_HIDDEN,
NULL,
POPT_TL,
164 N_(
"verify %files section from <tarball>"),
167 N_(
"build source and binary packages from <tarball>"),
170 N_(
"build binary package only from <tarball>"),
173 N_(
"build source package only from <tarball>"),
177 N_(
"build binary package from <source package>"),
178 N_(
"<source package>") },
180 N_(
"build through %install (%prep, %build, then install) from <source package>"),
181 N_(
"<source package>") },
184 N_(
"remove build tree when done"),
NULL},
186 N_(
"do not execute any stages of the build"),
NULL },
188 N_(
"do not verify build dependencies"),
NULL },
190 {
"noautoprov",
'\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 1,
191 N_(
"disable automagic Provides: extraction"),
NULL },
192 {
"noautoreq",
'\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 2,
193 N_(
"disable automagic Requires: extraction"),
NULL },
194 {
"notinlsb",
'\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 4,
195 N_(
"disable tags forbidden by LSB"),
NULL },
198 N_(
"don't verify package digest(s)"), NULL },
200 N_(
"don't verify database header(s) when retrieved"), NULL },
202 N_(
"don't verify package signature(s)"), NULL },
204 {
"pkgdebug",
'\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &
_pkg_debug, -1,
205 N_(
"Debug Package objects"),
NULL},
206 {
"specdebug",
'\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &
_spec_debug, -1,
207 N_(
"Debug Spec objects"),
NULL},
210 N_(
"do not accept i18n msgstr's from specfile"),
NULL},
212 N_(
"remove sources when done"),
NULL},
214 N_(
"remove specfile when done"),
NULL},
216 N_(
"skip straight to specified stage (only for c,i)"),
NULL },
217 {
"sign",
'\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &
rpmBTArgs.
sign, 1,
218 N_(
"generate PGP/GPG signature"),
NULL },
220 N_(
"override target platform"),
N_(
"CPU-VENDOR-OS") },
#define RPMCLI_POPT_TARGETPLATFORM
struct poptOption rpmBuildPoptTable[]
struct rpmBuildArguments_s rpmBTArgs
#define RPMCLI_POPT_NODIGEST
Yet Another syslog(3) API clone.
#define RPMCLI_POPT_NOHDRCHK
static void buildArgCallback(poptContext con, enum poptCallbackReason reason, const struct poptOption *opt, const char *arg, const void *data)
#define RPMCLI_POPT_NOSIGNATURE
This is the only module users of librpmbuild should need to include.
#define RPMCLI_POPT_NODEPS
Common/global popt tokens used for command line option tables.
Describe build command line request.