[4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at build time
[platform/upstream/rpm.git] / doc / rpmspec.8
1 .TH "RPMSPEC" "8" "29 October 2010" "Red Hat, Inc"
2 .SH NAME
3 rpmspec \- RPM Spec Tool
4 .SH SYNOPSIS
5 .SS "QUERYING SPEC FILES:"
6 .PP
7
8 \fBrpmspec\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR] \fB\fISPEC_FILE\fB\fR\fI ...\fR
9
10 .SS "select-options"
11 .PP
12
13  [\fB\--rpms\fB\fR]
14  [\fB\--srpms\fB\fR]
15
16 .SS "query-options"
17 .PP
18
19  [\fB--qf,--queryformat \fIQUERYFMT\fB\fR]
20  [\fB--target \fITARGET_PLATFORM\fB\fR]
21  
22 .SS "QUERY OPTIONS"
23 .PP
24 The general form of an rpm spec query command is 
25 .PP
26
27 \fBrpm\fR {\fB-q|--query\fR} [\fBselect-options\fR] [\fBquery-options\fR]
28
29 .PP
30 You may specify the format that the information should be
31 printed in. To do this, you use the
32
33  \fB--qf|--queryformat\fR \fB\fIQUERYFMT\fB\fR
34
35 option, followed by the \fIQUERYFMT\fR format string.
36 See \fBrpm(8)\fR for details.
37 .PP
38
39 .SS "SELECT OPTIONS"
40 .PP
41  \fB--rpms\fR
42 Operate on the binary package header(s).
43  \fB--srpm\fR
44 Operate on the source package header(s).
45
46 .SH "SEE ALSO"
47 .nf
48 \fBpopt\fR(3),
49 \fBrpm\fR(8),
50 \fBrpmdb\fR(8),
51 \fBrpmkeys\fR(8),
52 \fBrpmsign\fR(8),
53 \fBrpm2cpio\fR(8),
54 \fBrpmbuild\fR(8),
55 .fi
56
57 \fBrpmspec --help\fR - as rpm supports customizing the options via popt aliases 
58 it's impossible to guarantee that what's described in the manual matches 
59 what's available.
60
61
62 \fBhttp://www.rpm.org/ <URL:http://www.rpm.org/>
63 \fR
64 .SH "AUTHORS"
65
66 .nf
67 Marc Ewing <marc@redhat.com>
68 Jeff Johnson <jbj@redhat.com>
69 Erik Troan <ewt@redhat.com>
70 Panu Matilainen <pmatilai@redhat.com>
71 .fi