OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / rpm / draft / man8 / rpmbuild.8
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .\"
7 .\" This program is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2, or (at your option)
10 .\" any later version.
11 .\"
12 .\" This program is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\" GNU General Public License for more details.
16 .\"
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program; if not, write to the Free Software
19 .\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
20 .\" USA.
21 .\"
22 .\" Japanese Version Copyright (C) 2003 System Design and Research
23 .\" Institute Co.,Ltd. All rights reserved.
24 .\"
25 .\" Translated 14 March 2003 by
26 .\"   System Design and Research Institute Co.,Ltd. <info@sdri.co.jp>
27 .\"
28 .TH "RPMBUILD" "8" "09 June 2002" "Red Hat, Inc." "Red Hat Linux"
29 .\"O .SH NAME
30 .SH Ì¾Á°
31 .\"O rpmbuild \- Build RPM Package(s)
32 rpmbuils \- RPM ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ó¥ë¥É
33 .\"O .SH SYNOPSIS
34 .SH ½ñ¼°
35 .\"O .SS "BUILDING PACKAGES:"
36 .SS ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ó¥ë¥É:
37 .\"O .PP
38 .\"O 
39 .\"O 
40 \fBrpmbuild\fR {\fB-ba|-bb|-bp|-bc|-bi|-bl|-bs\fR} [\fBrpmbuild-options\fR] \fB\fISPECFILE\fB\fR\fI ...\fR
41 .\"O 
42 .\"O 
43
44 \fBrpmbuild\fR {\fB-ta|-tb|-tp|-tc|-ti|-tl|-ts\fR} [\fBrpmbuild-options\fR] \fB\fITARBALL\fB\fR\fI ...\fR
45 .\"O 
46 .\"O 
47
48 \fBrpmbuild\fR {\fB--rebuild|--recompile\fR} \fB\fISOURCEPKG\fB\fR\fI ...\fR
49 .\"O 
50 .\"O .SS "MISCELLANEOUS:"
51 .SS ¤½¤Î¾:
52 .\"O .PP
53 .\"O 
54 .\"O 
55 \fBrpmbuild\fR \fB--showrc\fR
56 .\"O 
57 .\"O .SS "rpmbuild-options"
58 .SS rpmbuild ¤Î¥ª¥×¥·¥ç¥ó
59 .\"O .PP
60 .\"O 
61 .\"O 
62   [\fB--buildroot \fIDIRECTORY\fB\fR] [\fB--clean\fR] [\fB--nobuild\fR]
63   [\fB--rmsource\fR] [\fB--rmspec\fR] [\fB--short-circuit\fR] [\fB--sign\fR]
64   [\fB--target \fIPLATFORM\fB\fR]
65 .\"O 
66 .\"O .SH "DESCRIPTION"
67 .SH ÀâÌÀ
68 .\"O .PP
69 .\"O \fBrpmbuild\fR is used to build both binary and source software packages.
70 .\"O A \fBpackage\fR consists of an archive of files and
71 .\"O meta-data used to install and erase the archive files. The meta-data
72 .\"O includes helper scripts, file attributes, and descriptive information
73 .\"O about the package.
74 .B rpmbuild
75 ¤Ï¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤È¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ÎξÊý¤Î¥Ó¥ë¥É(ºîÀ®)¤ËÍøÍѤµ¤ì¤ë¡£
76 .B ¥Ñ¥Ã¥±¡¼¥¸
77 ¤Ï¥Õ¥¡¥¤¥ë¤Î¥¢¡¼¥«¥¤¥Ö¤È¡¢¥¢¡¼¥«¥¤¥Ö¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î
78 ¥¤¥ó¥¹¥È¡¼¥ë¡¦¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤Ë»È¤ï¤ì¤ë¥á¥¿¥Ç¡¼¥¿¤«¤é¹½À®¤µ¤ì¤ë¡£
79 ¥á¥¿¥Ç¡¼¥¿¤ÏÊä½õ¥¹¥¯¥ê¥×¥È¡¢¥Õ¥¡¥¤¥ë°À­¡¢
80 ¥Ñ¥Ã¥±¡¼¥¸¤ÎÀâÌÀ¤Ë´Ø¤¹¤ë¾ðÊ󤫤é¤Ê¤ë¡£
81 .\"O \fBPackages\fR come in two varieties: binary packages,
82 .\"O used to encapsulate software to be installed, and source packages,
83 .\"O containing the source code and recipe necessary to produce binary
84 .\"O packages.
85 .B ¥Ñ¥Ã¥±¡¼¥¸
86 ¤Ë¤Ï 2 ¼ïÎढ¤ê¡¢
87 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò¥«¥×¥»¥ë²½¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë¥Ð¥¤¥Ê¥ê
88 ¥Ñ¥Ã¥±¡¼¥¸¤È¡¢¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤òºîÀ®¤¹¤ë¤Î¤ËɬÍפʥ쥷¥Ô¤È¥½¡¼¥¹¥³¡¼¥É
89 ¤«¤é¤Ê¤ë¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤È¤¬¤¢¤ë¡£
90 .PP
91 .\"O One of the following basic modes must be selected:
92 .\"O \fBBuild Package\fR,
93 .\"O \fBBuild Package from Tarball\fR,
94 .\"O \fBRecompile Package\fR,
95 .\"O \fBShow Configuration\fR.
96 ¼¡¤Î´ðËܥ⡼¥É¤«¤é¤¤¤º¤ì¤«°ì¤Ä¤òÁªÂò¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:
97 .BR ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ó¥ë¥É ¡¢ "tar ¥¢¡¼¥«¥¤¥Ö¤«¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ó¥ë¥É" ¡¢
98 .BR ¥Ñ¥Ã¥±¡¼¥¸¤ÎºÆ¥³¥ó¥Ñ¥¤¥ë ¡¢ ÀßÄê¤Îɽ¼¨ ¡£
99 .\"O .SS "GENERAL OPTIONS"
100 .SS °ìÈÌŪ¤Ê¥ª¥×¥·¥ç¥ó
101 .\"O .PP
102 .\"O These options can be used in all the different modes.
103 °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤Ï¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç»ÈÍѲÄǽ¤Ç¤¢¤ë¡£
104 .TP
105 .\"O \fB-?, --help\fR
106 .BR \-? ", " \-\-help
107 .\"O Print a longer usage message then normal.
108 »È¤¤Êý¤òÄ̾ï¤è¤ê¤â¾Ü¤·¤¯É½¼¨¤¹¤ë¡£
109 .TP
110 .\"O \fB--version\fR
111 \fB\-\-version\fR
112 .\"O Print a single line containing the version number of \fBrpm\fR
113 .\"O being used. 
114 »ÈÍÑÃæ¤Î
115 .B rpm
116 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ò 1 ¹Ô¤Çɽ¼¨¤¹¤ë¡£
117 .TP
118 .\"O \fB--quiet\fR
119 \fB\-\-quiet\fR
120 .\"O Print as little as possible - normally only error messages will
121 .\"O be displayed.
122 ɽ¼¨¤ò¤Ç¤­¤ë¤À¤±¾¯¤Ê¤¯¤¹¤ë¡£
123 Ä̾ï¤Ï¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤À¤±¤¬É½¼¨¤µ¤ì¤ë¡£
124 .TP
125 .\"O \fB-v\fR
126 \fB\-v\fR
127 .\"O Print verbose information - normally routine progress messages will be
128 .\"O displayed.
129 ¤è¤ê¿¤¯¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
130 Ä̾ï¤Ï¡¢¥ë¡¼¥Á¥ó¤Î¿ÊĽ¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¡£
131 .TP
132 .\"O \fB-vv\fR
133 \fB\-vv\fR
134 .\"O Print lots of ugly debugging information.
135 Âô»³¤Î±ø¤¤¥Ç¥Ð¥Ã¥°¾ðÊó¤òɽ¼¨¤¹¤ë¡£
136 .TP
137 .\"O \fB--rcfile \fIFILELIST\fB\fR
138 .BI \-\-rcfile " FILELIST"
139 .\"O Each of the files in the colon separated
140 .\"O \fIFILELIST\fR
141 .\"O is read sequentially by \fBrpm\fR for configuration
142 .\"O information.
143 .\"O Only the first file in the list must exist, and tildes will be
144 .\"O expanded to the value of \fB$HOME\fR.
145 .\"O The default \fIFILELIST\fR is
146 .\"O \fI/usr/lib/rpm/rpmrc\fR:\fI/usr/lib/rpm/redhat/rpmrc\fR:\fI~/.rpmrc\fR.
147 .B rpm
148 ¤Ï¡¢¥³¥í¥ó(`:')¤Ç¶èÀÚ¤é¤ì¤¿
149 .I FILELIST
150 ¤Î³Æ¥Õ¥¡¥¤¥ë¤òÀßÄê¾ðÊó¤È¤·¤ÆÆɤ߹þ¤à¡£
151 Æɤ߹þ¤ß¤Ï
152 .I FILELIST
153 ¤Ë»ØÄꤵ¤ì¤¿½çÈ֤ǹԤï¤ì¤ë¡£
154 .I FILELIST
155 ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï
156 .IR /usr/lib/rpm/rpmrc : /usr/lib/rpm/redhat/rpmrc : ~/.rpmrc
157 ¤Ç¤¢¤ë¡£
158 .TP
159 .\"O \fB--pipe \fICMD\fB\fR
160 .BI \-\-pipe  " CMD"
161 .\"O Pipes the output of \fBrpm\fR to the command \fICMD\fR.
162 .B rpm
163 ¥³¥Þ¥ó¥É¤Î½ÐÎϤò
164 .I CMD
165 ¤Ø¥Ñ¥¤¥×¤¹¤ë¡£
166 .TP
167 .\"O \fB--dbpath \fIDIRECTORY\fB\fR
168 .BI \-\-dbpath " DIRECTORY"
169 .\"O Use the database in \fIDIRECTORY\fR rathen
170 .\"O than the default path \fI/var/lib/rpm\fR
171 ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ñ¥¹¤È¤·¤Æ¡¢¥Ç¥Õ¥©¥ë¥È¤Î
172 .I /var/lib/rpm
173 ¤Ç¤Ï¤Ê¤¯
174 .I DIRECTORY
175 ¤ò»È¤¦¡£
176 .TP
177 .\"O \fB--root \fIDIRECTORY\fB\fR
178 .BI \-\-root " DIRECTORY"
179 .\"O Use the file system tree rooted at \fIDIRECTORY\fR for all operations.
180 .\"O Note that this means the database within
181 .\"O \fIDIRECTORY\fR
182 .\"O will be used for dependency checks and any scriptlet(s) (e.g.
183 .\"O \fB%post\fR if installing, or
184 .\"O \fB%prep\fR if building, a package)
185 .\"O will be run after a chroot(2) to
186 .\"O \fIDIRECTORY\fR.
187 .\" motoki: after °Ê²¼¤¬ will be used for ¡Á ¤Ë¤«¤«¤ë¤Î¤«¤¬ÉÔÌÀ¡£
188 .\" motoki: will be run ¤Ë¤À¤±¤«¤«¤ë¤Î¤À¤È»×¤¤¤Þ¤¹¤¬¡¦¡¦¡¦
189 ¤¹¤Ù¤Æ¤ÎÁàºî¤Ë¤ª¤¤¤Æ¡¢
190 .I DIRECTORY
191 ¤ò¥ë¡¼¥È¤È¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò»È¤¦¡£
192 ¤Ä¤Þ¤ê¡¢
193 .I DIRECTORY
194 Æâ¤Ë¤¢¤ë¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬°Í¸À­¤Î¥Á¥§¥Ã¥¯¤Ë»ÈÍѤµ¤ì¡¢
195 .I DIRECTORY
196 ¤Ë chroot(2) ¤·¤¿¸å¤Ç¡¢¤¹¤Ù¤Æ¤Î¥¹¥¯¥ê¥×¥È
197 (Î㤨¤Ð¡¢¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î
198 .B %post
199 ¤ä¡¢¥Ñ¥Ã¥±¡¼¥¸¥Ó¥ë¥É»þ¤Î
200 .B %prep
201 ¤Ê¤É) ¤¬¼Â¹Ô¤µ¤ì¤ë¡£
202 .\"O .SS "BUILD OPTIONS"
203 .SS ¥Ó¥ë¥É¥ª¥×¥·¥ç¥ó
204 .\"O .PP
205 .\"O The general form of an rpm build command is 
206 rpm ¤Î¥Ó¥ë¥É¡¦¥³¥Þ¥ó¥É¤Î°ìÈÌŪ¤Ê·Á¼°¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë:
207 .RS 0.2i
208 .PP
209 .\"O 
210 .\"O \fBrpmbuild\fR \fB-b\fISTAGE\fB|-t\fISTAGE\fB\fR [ \fB     rpmbuild-options
211 .\"O \fR ] \fB\fIFILE\fB\fR\fI ...\fR
212 .B rpmbuild
213 .BI \-b STAGE |\-t STAGE
214 .RB "[ " rpmbuild\-options " ]"
215 .I "FILE ..."
216 .\"O 
217 .RE
218 .PP
219 .\"O The argument used is \fB-b\fR if a spec file is being
220 .\"O used to build the package and \fB-t\fR if \fBrpmbuild\fR
221 .\"O should look inside of a (possibly compressed) tar file for
222 .\"O the spec file to use. After the first argument, the next
223 .\"O character (\fISTAGE\fR) specifies the stages
224 .\"O of building and packaging to be done and is one of:
225 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥Ó¥ë¥É¤Ë spec ¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ¹¤ë¤Î¤Ç¤¢¤ì¤Ð
226 .B \-b
227 ¤ò¡¢
228 .B rpmbuild
229 ¤¬ spec ¥Õ¥¡¥¤¥ë¤ò»È¤¦¤¿¤á¤Ë (°µ½Ì¤µ¤ì¤Æ¤¤¤ë¤³¤È¤â¤¢¤ë) tar ¥Õ¥¡¥¤¥ë¤Î
230 ÆâÉô¤«¤é»ÈÍѤ¹¤ë spec ¥Õ¥¡¥¤¥ë¤òõ¤¹¤Î¤Ç¤¢¤ì¤Ð
231 .B \-t
232 ¤ò¡¢¤½¤ì¤¾¤ì°ú¿ô¤Ë»ØÄꤹ¤ë¡£
233 ºÇ½é¤Î°ú¿ô¤Î¸å¤í¤Ë¤¢¤ë¡¢¼¡¤Îʸ»ú
234 .RI ( STAGE )
235 ¤Ï¥Ó¥ë¥É¤È¥Ñ¥Ã¥±¡¼¥¸²½¤ÎÃʳ¬¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¡¢
236 °Ê²¼¤Î¤¤¤º¤ì¤«¤¬»ØÄꤵ¤ì¤ë
237 (ÌõÃí: °Ê²¼¤Î¤â¤Î¤Ï spec ¥Õ¥¡¥¤¥ë¡¢¤¹¤Ê¤ï¤Á \-b ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ç¤¢¤ê¡¢
238 tar ¥Õ¥¡¥¤¥ë¤«¤é¥Ó¥ë¥É¤¹¤ë¾ì¹ç¤Ï \-ta, \-tb, ... ¤È¤Ê¤ë)¡£
239 .TP
240 .\"O \fB-ba\fR
241 \fB\-ba\fR
242 .\"O Build binary and source packages (after doing the %prep, %build, and
243 .\"O %install stages).
244 (%prep, %build, %install ¤ò¼Â¹Ô¤·¤¿¸å¤Ë)
245 ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤È¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¥Ó¥ë¥É¤¹¤ë¡£
246 .TP
247 .\"O \fB-bb\fR
248 \fB\-bb\fR
249 .\"O Build a binary package (after doing the %prep, %build, and %install
250 .\"O stages).
251 (%prep, %build, %install ¤ò¼Â¹Ô¤·¤¿¸å¤Ë)
252 ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤ò¥Ó¥ë¥É¤¹¤ë¡£
253 .TP
254 .\"O \fB-bp\fR
255 \fB\-bp\fR
256 .\"O Executes the "%prep" stage from the spec file. Normally this
257 .\"O involves unpacking the sources and applying any patches.
258 spec ¥Õ¥¡¥¤¥ë¤«¤é "%prep" Ãʳ¬¤ò¼Â¹Ô¤¹¤ë¡£
259 Ä̾¥½¡¼¥¹¤òŸ³«¤·¥Ñ¥Ã¥Á¤òŬÍѤ¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡£
260 .TP
261 .\"O \fB-bc\fR
262 \fB\-bc\fR
263 .\"O Do the "%build" stage from the spec file (after doing the %prep stage).
264 .\"O This generally involves the equivalent of a "make".
265 (%prep ¤ò¼Â¹Ô¤·¤¿¸å¤Ë)
266 spec ¥Õ¥¡¥¤¥ë¤«¤é "%build" Ãʳ¬¤ò¼Â¹Ô¤¹¤ë¡£
267 °ìÈÌŪ¤Ë¤Ï "make" ¤ÈÅù²Á¤Ç¤¢¤ë¡£
268 .TP
269 .\"O \fB-bi\fR
270 \fB\-bi\fR
271 .\"O Do the "%install" stage from the spec file (after doing the %prep and
272 .\"O %build stages).  This generally involves the equivalent of a
273 .\"O "make install".
274 (%prep, %build ¤ò¼Â¹Ô¤·¤¿¸å¤Ë)
275 spec ¥Õ¥¡¥¤¥ë¤«¤é "%install" Ãʳ¬¤ò¼Â¹Ô¤¹¤ë¡£
276 °ìÈÌŪ¤Ë¤Ï "make install" ¤ÈÅù²Á¤Ç¤¢¤ë¡£
277 .TP
278 .\"O \fB-bl\fR
279 \fB\-bl\fR
280 .\"O Do a "list check".  The "%files" section from the spec file is
281 .\"O macro expanded, and checks are made to verify that each file
282 .\"O exists.
283 "list check" ¤ò¼Â¹Ô¤¹¤ë¡£
284 spec ¥Õ¥¡¥¤¥ë¤Î "%files" ¥»¥¯¥·¥ç¥ó¤Î¥Þ¥¯¥í¤¬Å¸³«¤µ¤ì¡¢
285 ³Æ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤«¤Î¸¡¾Ú¤ò¤¹¤ë¤¿¤á¤Î¥Á¥§¥Ã¥¯¤¬¹Ô¤ï¤ì¤ë¡£
286 .TP
287 .\"O \fB-bs\fR
288 \fB\-bs\fR
289 .\"O Build just the source package.
290 ¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤À¤±¤ò¥Ó¥ë¥É¤¹¤ë¡£
291 .PP
292 .\"O The following options may also be used:
293 ¤µ¤é¤Ë¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬ÍøÍѲÄǽ¤Ç¤¢¤ë:
294 .TP
295 .\"O \fB--buildroot \fIDIRECTORY\fB\fR
296 .BI \-\-buildroot " DIRECTORY"
297 .\"O When building a package, override the BuildRoot tag with directory
298 .\"O \fIDIRECTORY\fR.
299 ¥Ñ¥Ã¥±¡¼¥¸¥Ó¥ë¥É»þ¤Ë BuildRoot ¥¿¥°¤ò
300 .I DIRECTORY
301 ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¾å½ñ¤­¤¹¤ë¡£
302 .TP
303 .\"O \fB--clean\fR
304 \fB\-\-clean\fR
305 .\"O Remove the build tree after the packages are made.
306 ¥Ñ¥Ã¥±¡¼¥¸¤¬ºîÀ®¤µ¤ì¤¿¸å¤Ë¥Ó¥ë¥É¥Ä¥ê¡¼¤òºï½ü¤¹¤ë¡£
307 .TP
308 .\"O \fB--nobuild\fR
309 \fB\-\-nobuild\fR
310 .\"O Do not execute any build stages. Useful for testing out spec files.
311 ²¿¤Î¥Ó¥ë¥É¤â¼Â¹Ô¤·¤Ê¤¤¡£spec ¥Õ¥¡¥¤¥ë¤Î¸¡ºº¤ò¹Ô¤¦¾ì¹ç¤ËÊØÍø¤Ç¤¢¤ë¡£
312 .TP
313 .\"O \fB--rmsource\fR
314 \fB\-\-rmsource\fR
315 .\"O Remove the sources after the build (may also be
316 .\"O used standalone, e.g. "\fBrpmbuild\fR \fB--rmsource foo.spec\fR").
317 ¥Ó¥ë¥É¸å¤Ë¥½¡¼¥¹¤òºï½ü¤¹¤ë
318 (ñÆȤǻÈÍѤ·¤Æ¤â¤è¤¤¡£Îã: "\fBrpmbuild \-\-rmsource foo.spec\fR")¡£
319 .TP
320 .\"O \fB--rmspec\fR
321 \fB\-\-rmspec\fR
322 .\"O Remove the spec file after the build (may also be
323 .\"O used standalone, eg. "\fBrpmbuild\fR \fB--rmspec foo.spec\fR").
324 ¥Ó¥ë¥É¸å¤Ë spec ¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¡£
325 (ñÆȤǻÈÍѤ·¤Æ¤â¤è¤¤¡£Îã: "\fBrpmbuild \-\-rmspec foo.spec\fR")¡£
326 .TP
327 .\"O \fB--short-circuit\fR
328 \fB\-\-short\-circuit\fR
329 .\"O Skip straight to specified stage (i.e., skip all stages leading
330 .\"O up to the specified stage).  Only valid with \fB-bc\fR
331 .\"O and \fB-bi\fR.
332 »ØÄꤵ¤ì¤¿Ãʳ¬¤ØľÀܤ¹¤¹¤à(¤¹¤Ê¤ï¤Á¡¢»ØÄꤵ¤ì¤¿Ãʳ¬¤Þ¤Ç¤ÎÁ´¤Æ¤ÎÃʳ¬¤¬
333 Èô¤Ð¤µ¤ì¤ë)¡£
334 .B \-bc
335 ¤È
336 .B \-bi
337 (ÌõÃí:
338 .B \-tc
339 ¤È
340 .BR \-ti ¤â)
341 ¤Ç¤Î¤ß»ÈÍѤǤ­¤ë¡£
342 .TP
343 .\"O \fB--sign\fR
344 \fB\-\-sign\fR
345 .\"O Embed a GPG signature in the package. This signature can be used
346 .\"O to verify the integrity and the origin of the package.  See the
347 .\"O section on GPG SIGNATURES in
348 .\"O \fBrpm\fR(8)
349 .\"O for configuration details.
350 ¥Ñ¥Ã¥±¡¼¥¸¤Ë GPG ½ð̾¤òËä¤á¹þ¤à¡£
351 ¤³¤Î½ð̾¤Ï¡¢¥Ñ¥Ã¥±¡¼¥¸¤Î½Ð½ê¤È´°Á´À­¤ò¸¡¾Ú¤¹¤ë¤Î¤ËÍѤ¤¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
352 ÀßÄê¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï
353 .BR rpm (8)
354 ¤Î¡ÖGPG ½ð̾¡×¤ÎÀá¤ò»²¾È¤Î¤³¤È¡£
355 .TP
356 .\"O \fB--target \fIPLATFORM\fB\fR
357 .BI \-\-target " PLATFORM"
358 .\"O When building the package, interpret \fIPLATFORM\fR
359 .\"O as \fBarch-vendor-os\fR and set the macros
360 .\"O \fB%_target\fR,
361 .\"O \fB%_target_arch\fR, and
362 .\"O \fB%_target_os\fR
363 .\"O accordingly.
364 ¥Ñ¥Ã¥±¡¼¥¸¥Ó¥ë¥É»þ¤Ë
365 .I PLATFORM
366 ¤ò
367 .B arch-vendor-os
368 ¤È²ò¼á¤·¡¢¤½¤ì¤Ë±þ¤¸¤Æ¥Þ¥¯¥í
369 .BR %_target ,
370 .BR %_target_arch ,
371 .B %_target_os
372 ¤òÀßÄꤹ¤ë¡£
373 .\"O .SS "REBUILD AND RECOMPILE OPTIONS"
374 .SS ¥Ó¥ë¥É¤ÈºÆ¥³¥ó¥Ñ¥¤¥ë¤Î¥ª¥×¥·¥ç¥ó
375 .\"O .PP
376 .\"O There are two other ways to invoke building with rpm:
377 rpm ¤ò»È¤Ã¤Æ¥Ó¥ë¥É¤¹¤ë¤Ë¤Ï¡¢Â¾¤Ë¤â 2 ¤Ä¤Î¤ä¤êÊý¤¬¤¢¤ë¡£
378 .RS 0.2i
379 .PP
380 .\"O 
381 .\"O \fBrpmbuild\fR \fB--rebuild|--recompile\fR \fB\fISOURCEPKG\fB\fR\fI ...\fR
382 .BI "rpmbuild \-\-rebuild|\-\-recompile" " SOURCEPKG ..."
383 .\"O 
384 .RE
385 .PP 
386 .\"O When invoked this way, \fBrpmbuild\fR installs the named source
387 .\"O package, and does a prep, compile and install.  In addition,
388 .\"O \fB--rebuild\fR builds a new binary package. When the build
389 .\"O has completed, the build directory is removed (as in
390 .\"O \fB--clean\fR) and the the sources and spec file for
391 .\"O the package are removed.
392 ¤³¤ÎÊýË¡¤Çµ¯Æ°¤µ¤ì¤¿¾ì¹ç¡¢
393 .B rpmbuild
394 ¤Ï»ØÄꤵ¤ì¤¿¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢
395 ½àÈ÷¡¢¥³¥ó¥Ñ¥¤¥ë¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¦¡£
396 ¤µ¤é¤Ë¡¢
397 .B \-\-rebuild
398 ¤Î¾ì¹ç¡¢¿·¤¿¤Ê¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤ò¥Ó¥ë¥É¤¹¤ë¡£¥Ó¥ë¥É¤«´°Î»¤·¤¿¤é
399 ¥Ó¥ë¥É¥Ç¥£¥ì¥¯¥È¥ê¤Ï
400 .RB ( \-\-clean
401 ¤ò»ØÄꤷ¤¿¾ì¹ç¤ÈƱÍͤË)ºï½ü¤µ¤ì¡¢
402 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥½¡¼¥¹¤È spec ¥Õ¥¡¥¤¥ë¤âºï½ü¤µ¤ì¤ë¡£
403 .SS "SHOWRC"
404 .\"O .PP
405 .\"O The command
406 ¥³¥Þ¥ó¥É
407 .RS .02i
408 .PP
409 .\"O 
410 .\"O \fBrpmbuild\fR \fB--showrc\fR
411 .B "rpmbuild \-\-showrc"
412 .\"O 
413 .RE
414 .PP
415 .\"O shows the values \fBrpmbuild\fR will use for all of the
416 .\"O options are currently set in
417 .\"O \fIrpmrc\fR and
418 .\"O \fImacros\fR
419 .\"O configuration file(s).
420 ¤Ï
421 .B rpmbuild
422 ¤¬»È¤¦ÀßÄê¥Õ¥¡¥¤¥ë¡¢
423 .I rpmrc
424 ¤È
425 .I macros
426 ¤Ç¸½ºß¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¥ª¥×¥·¥ç¥ó¤¹¤Ù¤Æ¤ÎÃͤòɽ¼¨¤¹¤ë¡£
427 .\"O .SH "FILES"
428 .SH ¥Õ¥¡¥¤¥ë
429 .\"O .SS "rpmrc Configuration"
430 .SS "rpmrc ¤ÎÀßÄê"
431 .\"O .PP
432 .nf
433 \fI/usr/lib/rpm/rpmrc\fR
434 \fI/usr/lib/rpm/redhat/rpmrc\fR
435 \fI/etc/rpmrc\fR
436 \fI~/.rpmrc\fR
437 .fi
438 .\"O .SS "Macro Configuration"
439 .SS ¥Þ¥¯¥í¤ÎÀßÄê
440 .\"O .PP
441 .nf
442 \fI/usr/lib/rpm/macros\fR
443 \fI/usr/lib/rpm/redhat/macros\fR
444 \fI/etc/rpm/macros\fR
445 \fI~/.rpmmacros\fR
446 .fi
447 .\"O .SS "Database"
448 .SS ¥Ç¡¼¥¿¥Ù¡¼¥¹
449 .\"O .PP
450 .nf
451 \fI/var/lib/rpm/Basenames\fR
452 \fI/var/lib/rpm/Conflictname\fR
453 \fI/var/lib/rpm/Dirnames\fR
454 \fI/var/lib/rpm/Filemd5s\fR
455 \fI/var/lib/rpm/Group\fR
456 \fI/var/lib/rpm/Installtid\fR
457 \fI/var/lib/rpm/Name\fR
458 \fI/var/lib/rpm/Packages\fR
459 \fI/var/lib/rpm/Providename\fR
460 \fI/var/lib/rpm/Provideversion\fR
461 \fI/var/lib/rpm/Pubkeys\fR
462 \fI/var/lib/rpm/Removed\fR
463 \fI/var/lib/rpm/Requirename\fR
464 \fI/var/lib/rpm/Requireversion\fR
465 \fI/var/lib/rpm/Sha1header\fR
466 \fI/var/lib/rpm/Sigmd5\fR
467 \fI/var/lib/rpm/Triggername\fR
468 .fi
469 .\"O .SS "Temporaray"
470 .SS °ì»þ¥Õ¥¡¥¤¥ë
471 .\"O .PP
472 \fI/var/tmp/rpm*\fR
473 .\"O .SH "SEE ALSO"
474 .SH ´ØÏ¢¹àÌÜ
475 .\"O 
476 .\"O .nf
477 .\"O \fBpopt\fR(3),
478 .\"O \fBrpm2cpio\fR(8),
479 .\"O \fBgendiff\fR(1),
480 .\"O \fBrpm\fR(8),
481 .\"O .fi
482 .BR popt (3),
483 .BR rpm2cpio (8),
484 .BR gendiff (1),
485 .BR rpm (8),
486 .\"O 
487 .\"O \fBhttp://www.rpm.org/ <URL:http://www.rpm.org/>
488 .\"O \fR
489 .nf
490
491 .UR http://www.rpm.org/
492 .B http://www.rpm.org/
493 .UE
494 .fi
495 .\"O .SH "AUTHORS"
496 .SH Ãø¼Ô
497 .\"O 
498 .nf
499 Marc Ewing <marc@redhat.com>
500 Jeff Johnson <jbj@redhat.com>
501 Erik Troan <ewt@redhat.com>
502 .fi