Merge branch 'master' of gitorious.org:ruby-rpm/ruby-rpm into work-1.4
[ruby-rpm:ruby-rpm.git] / refm.rd.en
1 This is Google's cache of http://ruby-rpm.rubyforge.org/svn/trunk/doc/refm.rd.ja. It is a snapshot of the page as it appeared on 24 Aug 2011 20:43:58 GMT. The current page could have changed in the meantime. Learn more
2
3 Text-only version
4
5 # # # -*- RD -*-
6 = Begin
7
8 = Ruby / RPM Reference Manual
9
10         version 1.0.0
11         Copyright (C) 2002 Kenta MURATA <muraken@kondara.org>.
12
13 Table of Contents ==
14
15 * ((<RPM>))
16 * ((<RPM::Version>))
17 * ((<RPM::Source>))
18 * ((<RPM::Patch>))
19 * ((<RPM::Icon>))
20 * ((<RPM::File>))
21 * ((<RPM::Dependency>))
22 * ((<RPM::Provide>))
23 * ((<RPM::Require>))
24 * ((<RPM::Conflict>))
25 * ((<RPM::Obsolete>))
26 * ((<RPM::Package>))
27 * ((<RPM::ChangeLog>))
28 * ((<RPM::Spec>))
29 * ((<RPM::DB>))
30 * ((<RPM::Transaction>))
31 * ((<RPM::CallbackData>))
32 * ((<RPM::Problem>))
33
34 == RPM
35
36 === Constants
37
38 --- RPM:: VERSION
39
40     Version of this extension.
41
42 --- RPM:: LOG_EMERG
43 --- RPM:: LOG_ALERT
44 --- RPM:: LOG_CRIT
45 --- RPM:: LOG_ERR
46 --- RPM:: LOG_WARNING
47 --- RPM:: LOG_NOTICE
48 --- RPM:: LOG_INFO
49 --- RPM:: LOG_DEBUG
50 --- RPM:: MESS_DEBUG
51 --- RPM:: MESS_VERBOSE
52 --- RPM:: MESS_NORMAL
53 --- RPM:: MESS_WARNING
54 --- RPM:: MESS_ERROR
55 --- RPM:: MESS_FATALERROR
56 --- RPM:: MESS_QUIET
57
58     ((<RPM.verbosity=>)) To be specified in the message redundancy. Default
59     And RPM:: that is LOG_EMERG.
60
61 --- RPM:: DBI_PACKAGES
62 --- RPM:: DBI_DEPENDS
63 --- RPM:: DBI_LABEL
64 --- RPM:: DBI_ADDED
65 --- RPM:: DBI_REMOVE
66 --- RPM:: DBI_AVAILABLE
67 --- RPM:: TAG_HEADERIMAGE
68 --- RPM:: TAG_HEADERSIGNATURES
69 --- RPM:: TAG_HEADERIMMUTABLE
70 --- RPM:: TAG_HEADERREGIONS
71 --- RPM:: TAG_HEADERI18NTABLE
72 --- RPM:: TAG_SIGSIZE
73 --- RPM:: TAG_SIGPGP
74 --- RPM:: TAG_SIGMD5
75 --- RPM:: TAG_SIGGPG
76 --- RPM:: TAG_SHA1HEADER
77 --- RPM:: TAG_NAME
78 --- RPM:: TAG_VERSION
79 --- RPM:: TAG_RELEASE
80 --- RPM:: TAG_EPOCH
81 --- RPM:: TAG_SUMMARY
82 --- RPM:: TAG_DESCRIPTION
83 --- RPM:: TAG_BUILDTIME
84 --- RPM:: TAG_BUILDHOST
85 --- RPM:: TAG_INSTALLTIME
86 --- RPM:: TAG_SIZE
87 --- RPM:: TAG_DISTRIBUTION
88 --- RPM:: TAG_VENDOR
89 --- RPM:: TAG_GIF
90 --- RPM:: TAG_XPM
91 --- RPM:: TAG_LICENSE
92 --- RPM:: TAG_PACKAGER
93 --- RPM:: TAG_GROUP
94 --- RPM:: TAG_SOURCE
95 --- RPM:: TAG_PATCH
96 --- RPM:: TAG_URL
97 --- RPM:: TAG_OS
98 --- RPM:: TAG_ARCH
99 --- RPM:: TAG_PREIN
100 --- RPM:: TAG_POSTIN
101 --- RPM:: TAG_PREUN
102 --- RPM:: TAG_POSTUN
103 --- RPM:: TAG_FILESIZES
104 --- RPM:: TAG_FILESTATES
105 --- RPM:: TAG_FILEMODES
106 --- RPM:: TAG_FILERDEVS
107 --- RPM:: TAG_FILEMTIMES
108 --- RPM:: TAG_FILEMD5S
109 --- RPM:: TAG_FILELINKTOS
110 --- RPM:: TAG_FILEFLAGS
111 --- RPM:: TAG_FILEUSERNAME
112 --- RPM:: TAG_FILEGROUPNAME
113 --- RPM:: TAG_ICON
114 --- RPM:: TAG_SOURCERPM
115 --- RPM:: TAG_FILEVERIFYFLAGS
116 --- RPM:: TAG_ARCHIVESIZE
117 --- RPM:: TAG_PROVIDENAME
118 --- RPM:: TAG_REQUIREFLAGS
119 --- RPM:: TAG_REQUIRENAME
120 --- RPM:: TAG_REQUIREVERSION
121 --- RPM:: TAG_CONFLICTFLAGS
122 --- RPM:: TAG_CONFLICTNAME
123 --- RPM:: TAG_CONFLICTVERSION
124 --- RPM:: TAG_EXCLUDEARCH
125 --- RPM:: TAG_EXCLUDEOS
126 --- RPM:: TAG_EXCLUSIVEARCH
127 --- RPM:: TAG_EXCLUSIVEOS
128 --- RPM:: TAG_RPMVERSION
129 --- RPM:: TAG_TRIGGERSCRIPTS
130 --- RPM:: TAG_TRIGGERNAME
131 --- RPM:: TAG_TRIGGERVERSION
132 --- RPM:: TAG_TRIGGERFLAGS
133 --- RPM:: TAG_TRIGGERINDEX
134 --- RPM:: TAG_VERIFYSCRIPT
135 --- RPM:: TAG_CHANGELOGTIME
136 --- RPM:: TAG_CHANGELOGNAME
137 --- RPM:: TAG_CHANGELOGTEXT
138 --- RPM:: TAG_PREINPROG
139 --- RPM:: TAG_POSTINPROG
140 --- RPM:: TAG_PREUNPROG
141 --- RPM:: TAG_POSTUNPROG
142 --- RPM:: TAG_BUILDARCHS
143 --- RPM:: TAG_OBSOLETENAME
144 --- RPM:: TAG_VERIFYSCRIPTPROG
145 --- RPM:: TAG_TRIGGERSCRIPTPROG
146 --- RPM:: TAG_COOKIE
147 --- RPM:: TAG_FILEDEVICES
148 --- RPM:: TAG_FILEINODES
149 --- RPM:: TAG_FILELANGS
150 --- RPM:: TAG_PREFIXES
151 --- RPM:: TAG_INSTPREFIXES
152 --- RPM:: TAG_PROVIDEFLAGS
153 --- RPM:: TAG_PROVIDEVERSION
154 --- RPM:: TAG_OBSOLETEFLAGS
155 --- RPM:: TAG_OBSOLETEVERSION
156 --- RPM:: TAG_DIRINDEXES
157 --- RPM:: TAG_BASENAMES
158 --- RPM:: TAG_DIRNAMES
159 --- RPM:: TAG_OPTFLAGS
160 --- RPM:: TAG_PAYLOADFORMAT
161 --- RPM:: TAG_PAYLOADCOMPRESSOR
162 --- RPM:: TAG_PAYLOADFLAGS
163 --- RPM:: TAG_MULTILIBS
164 --- RPM:: TAG_INSTALLTID
165 --- RPM:: TAG_REMOVETID
166 --- RPM:: TAG_RHNPLATFORM
167 --- RPM:: TAG_PLATFORM
168
169     Tag.
170
171 --- RPM:: FILE_STATE_NORMAL
172 --- RPM:: FILE_STATE_REPLACED
173 --- RPM:: FILE_STATE_NOTINSTALLED
174 --- RPM:: FILE_STATE_NETSHARED
175
176     Status of installed files.
177
178 --- RPM:: FILE_NONE
179 --- RPM:: FILE_CONFIG
180 --- RPM:: FILE_DOC
181 --- RPM:: FILE_DONOTUSE
182 --- RPM:: FILE_MISSINGOK
183 --- RPM:: FILE_SPECFILE
184 --- RPM:: FILE_GHOST
185 --- RPM:: FILE_LICENSE
186 --- RPM:: FILE_README
187 --- RPM:: FILE_EXCLUDE
188 --- RPM:: FILE_MULTILIB_SHIFT
189 --- RPM:: FILE_MULTILIB_MASK
190 --- RPM:: FILE_ALL
191
192     Flags of the files contained in the package.
193
194 --- RPM:: SENSE_ANY
195 --- RPM:: SENSE_SERIAL
196 --- RPM:: SENSE_LESS
197 --- RPM:: SENSE_GREATER
198 --- RPM:: SENSE_EQUAL
199 --- RPM:: SENSE_PROVIDES
200 --- RPM:: SENSE_CONFLICTS
201 --- RPM:: SENSE_PREREQ
202 --- RPM:: SENSE_OBSOLETES
203 --- RPM:: SENSE_INTERP
204 --- RPM:: SENSE_SCRIPT_PRE
205 --- RPM:: SENSE_SCRIPT_POST
206 --- RPM:: SENSE_SCRIPT_PREUN
207 --- RPM:: SENSE_SCRIPT_POSTUN
208 --- RPM:: SENSE_SCRIPT_VERIFY
209 --- RPM:: SENSE_FIND_REQUIRES
210 --- RPM:: SENSE_FIND_PROVIDES
211 --- RPM:: SENSE_TRIGGERIN
212 --- RPM:: SENSE_TRIGGERUN
213 --- RPM:: SENSE_TRIGGERPOSTUN
214 --- RPM:: SENSE_MULTILIB
215 --- RPM:: SENSE_SCRIPT_PREP
216 --- RPM:: SENSE_SCRIPT_BUILD
217 --- RPM:: SENSE_SCRIPT_INSTALL
218 --- RPM:: SENSE_SCRIPT_CLEAN
219 --- RPM:: SENSE_RPMLIB
220 --- RPM:: SENSE_TRIGGERPREIN
221 --- RPM:: SENSE_KEYRING
222 --- RPM:: SENSE_TRIGGER
223
224     ((<RPM::Dependency>)) Indicate the meaning of such constants.
225
226 --- RPM:: PROB_BADARCH
227 --- RPM:: PROB_BADOS
228 --- RPM:: PROB_PKG_INSTALLED
229 --- RPM:: PROB_BADRELOCATE
230 --- RPM:: PROB_REQUIRES
231 --- RPM:: PROB_CONFLICT
232 --- RPM:: PROB_NEW_FILE_CONFLICT
233 --- RPM:: PROB_FILE_CONFLICT
234 --- RPM:: PROB_OLDPACKAGE
235 --- RPM:: PROB_DISKSPACE
236 --- RPM:: PROB_DISKNODES
237 --- RPM:: PROB_BADPRETRANS
238
239     ((<RPM::Problem>)) Represents the type of constant.
240
241 --- RPM:: CALLBACK_INST_PROGRESS
242 --- RPM:: CALLBACK_INST_START
243 --- RPM:: CALLBACK_INST_OPEN_FILE
244 --- RPM:: CALLBACK_INST_CLOSE_FILE
245 --- RPM:: CALLBACK_TRANS_PROGRESS
246 --- RPM:: CALLBACK_TRANS_START
247 --- RPM:: CALLBACK_TRANS_STOP
248 --- RPM:: CALLBACK_UNINST_PROGRESS
249 --- RPM:: CALLBACK_UNINST_START
250 --- RPM:: CALLBACK_UNINST_STOP
251
252     ((<RPM::CallbackData>)) Represents a kind of constant.
253
254 --- RPM:: TRANS_FLAG_NONE
255 --- RPM:: TRANS_FLAG_TEST
256 --- RPM:: TRANS_FLAG_BUILD_PROBS
257 --- RPM:: TRANS_FLAG_NOSCRIPTS
258 --- RPM:: TRANS_FLAG_JUSTDB
259 --- RPM:: TRANS_FLAG_NOTRIGGERS
260 --- RPM:: TRANS_FLAG_NODOCS
261 --- RPM:: TRANS_FLAG_ALLFILES
262 --- RPM:: TRANS_FLAG_KEEPOBSOLETE
263 --- RPM:: TRANS_FLAG_MULTILIB
264 --- RPM:: TRANS_FLAG_DIRSTASH
265 --- RPM:: TRANS_FLAG_REPACKAGE
266 --- RPM:: TRANS_FLAG_PKGCOMMIT
267 --- RPM:: TRANS_FLAG_PKGUNDO
268 --- RPM:: TRANS_FLAG_COMMIT
269 --- RPM:: TRANS_FLAG_UNDO
270 --- RPM:: TRANS_FLAG_REVERSE
271 --- RPM:: TRANS_FLAG_NOTRIGGERPREIN
272 --- RPM:: TRANS_FLAG_NOPRE
273 --- RPM:: TRANS_FLAG_NOPOST
274 --- RPM:: TRANS_FLAG_NOTRIGGERIN
275 --- RPM:: TRANS_FLAG_NOTRIGGERUN
276 --- RPM:: TRANS_FLAG_NOPREUN
277 --- RPM:: TRANS_FLAG_NOPOSTUN
278 --- RPM:: TRANS_FLAG_NOTRIGGERPOSTUN
279 --- RPM:: TRANS_FLAG_NOPAYLOAD
280 --- RPM:: TRANS_FLAG_APPLYONLY
281 --- RPM:: TRANS_FLAG_CHAINSAW
282 --- RPM:: TRANS_FLAG_NOMD5
283
284     ((<RPM::Transaction#commit>)) The first argument passed to the transaction processing
285     Constant option.
286
287 --- RPM:: PROB_FILTER_NONE
288 --- RPM:: PROB_FILTER_IGNOREOS
289 --- RPM:: PROB_FILTER_IGNOREARCH
290 --- RPM:: PROB_FILTER_REPLACEPKG
291 --- RPM:: PROB_FILTER_FORCERELOCATE
292 --- RPM:: PROB_FILTER_REPLACENEWFILES
293 --- RPM:: PROB_FILTER_REPLACEOLDFILES
294 --- RPM:: PROB_FILTER_OLDPACKAGE
295 --- RPM:: PROB_FILTER_DISKSPACE
296 --- RPM:: PROB_FILTER_DISKNODES
297 --- RPM:: PROB_FILTER_FORCE
298 --- RPM:: PROB_FILTER_REPLACEFILES
299 --- RPM:: PROB_FILTER_IGNORESIZE
300
301     ((<RPM::Transaction#commit>)) For the filter constant argument to the second problem
302     Number.
303
304
305
306 --- RPM:: DB # transaction (root = nil) {| ts | ...}
307
308     Into the transaction processing. (({Freeze})) database is a tiger
309     Transaction can not be processed. If a successful transaction processing
310     Is (({true})) is returned. Within the block
311     ((<Transaction#abort|RPM::Transaction#abort>)) If you are
312     (({False})) is returned. If you encounter problems during the transaction,
313     Returns an array of hash keys and the Symbol below.
314
315     : (({: Type}))
316       Type of problem.
317     : (({: Key}))
318       Key transactions.
319     : (({: Package}))
320       Package became a problem.
321     : (({: Message}))
322       Description of the problem.
323
324     ((| Root |)) is (({nil})) if ((<RPM::DB#root>)) are used values.
325
326
327