26 #define POPT_USECATALOG -1011
27 #define POPT_NOLANG -1012
28 #define POPT_RMSOURCE -1013
29 #define POPT_RMBUILD -1014
32 #define POPT_NOBUILD -1017
33 #define POPT_SHORTCIRCUIT -1018
34 #define POPT_RMSPEC -1019
35 #define POPT_SIGN -1020
37 #define POPT_REBUILD 0x4220
38 #define POPT_RECOMPILE 0x4320
39 #define POPT_BA 0x6261
40 #define POPT_BB 0x6262
41 #define POPT_BC 0x6263
42 #define POPT_BI 0x6269
43 #define POPT_BL 0x626c
44 #define POPT_BP 0x6270
45 #define POPT_BS 0x6273
46 #define POPT_BT 0x6274
47 #define POPT_BF 0x6266
48 #define POPT_TA 0x7461
49 #define POPT_TB 0x7462
50 #define POPT_TC 0x7463
51 #define POPT_TI 0x7469
52 #define POPT_TL 0x746c
53 #define POPT_TP 0x7470
54 #define POPT_TS 0x7473
73 enum poptCallbackReason reason,
74 const struct poptOption * opt,
100 rba->
buildMode = (char)((((
unsigned int)opt->val) >> 8) & 0xff);
101 rba->
buildChar = (char)(opt->val & 0xff);
139 { NULL,
'\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE,
143 {
"bp", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BP,
144 N_(
"build through %prep (unpack sources and apply patches) from <specfile>"),
146 {
"bc", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BC,
147 N_(
"build through %build (%prep, then compile) from <specfile>"),
149 {
"bi", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BI,
150 N_(
"build through %install (%prep, %build, then install) from <specfile>"),
152 {
"bl", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BL,
153 N_(
"verify %files section from <specfile>"),
155 {
"ba", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BA,
156 N_(
"build source and binary packages from <specfile>"),
158 {
"bb", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BB,
159 N_(
"build binary package only from <specfile>"),
161 {
"bs", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_BS,
162 N_(
"build source package only from <specfile>"),
165 {
"bt", 0, POPT_ARGFLAG_ONEDASH, 0,
POPT_BT,
166 N_(
"track versions of sources from <specfile>"),
168 {
"bf", 0, POPT_ARGFLAG_ONEDASH, 0,
POPT_BF,
169 N_(
"fetch missing source and patch files"),
172 {
"tp", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TP,
173 N_(
"build through %prep (unpack sources and apply patches) from <tarball>"),
175 {
"tc", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TC,
176 N_(
"build through %build (%prep, then compile) from <tarball>"),
178 {
"ti", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TI,
179 N_(
"build through %install (%prep, %build, then install) from <tarball>"),
181 {
"tl", 0, POPT_ARGFLAG_ONEDASH|POPT_ARGFLAG_DOC_HIDDEN, NULL,
POPT_TL,
182 N_(
"verify %files section from <tarball>"),
184 {
"ta", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TA,
185 N_(
"build source and binary packages from <tarball>"),
187 {
"tb", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TB,
188 N_(
"build binary package only from <tarball>"),
190 {
"ts", 0, POPT_ARGFLAG_ONEDASH, NULL,
POPT_TS,
191 N_(
"build source package only from <tarball>"),
195 N_(
"build binary package from <source package>"),
196 N_(
"<source package>") },
198 N_(
"build through %install (%prep, %build, then install) from <source package>"),
199 N_(
"<source package>") },
202 N_(
"remove build tree when done"), NULL},
204 N_(
"do not execute any stages of the build"), NULL },
206 N_(
"do not verify build dependencies"), NULL },
207 {
"noautoprov",
'\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 1,
208 N_(
"disable automagic Provides: extraction"), NULL },
209 {
"noautoreq",
'\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 2,
210 N_(
"disable automagic Requires: extraction"), NULL },
211 {
"notinlsb",
'\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, &
_rpmbuildFlags, 4,
212 N_(
"disable tags forbidden by LSB"), NULL },
215 N_(
"don't verify package digest(s)"), NULL },
217 N_(
"don't verify database header(s) when retrieved"), NULL },
219 N_(
"don't verify package signature(s)"), NULL },
222 N_(
"do not accept i18n msgstr's from specfile"), NULL},
224 N_(
"remove sources when done"), NULL},
226 N_(
"remove specfile when done"), NULL},
228 N_(
"skip straight to specified stage (only for c,i)"), NULL },
230 N_(
"generate PGP/GPG signature"), NULL },
232 N_(
"override target platform"),
N_(
"CPU-VENDOR-OS") },
234 N_(
"look up i18n strings in specfile catalog"), NULL},