ruby-rpm 1.2.4 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{ChangeLog → CHANGELOG.rdoc} +7 -0
- data/README.rdoc +40 -0
- data/ext/rpm/db.c +27 -27
- data/ext/rpm/dependency.c +5 -5
- data/ext/rpm/extconf.rb +1 -1
- data/ext/rpm/file.c +1 -1
- data/ext/rpm/package.c +40 -40
- data/ext/rpm/private.h +3 -4
- data/ext/rpm/rpm.c +15 -26
- data/ext/rpm/ruby-rpm.h +0 -2
- data/ext/rpm/source.c +2 -2
- data/ext/rpm/spec.c +5 -5
- data/ext/rpm/version.c +12 -12
- data/lib/rpm.rb +3 -1
- data/lib/rpm/version.rb +4 -0
- metadata +66 -41
- data/COPYING +0 -340
- data/NEWS +0 -20
- data/README +0 -38
- data/Rakefile +0 -111
- data/doc/refm.rd.ja +0 -913
- data/ext/rpm/MANIFEST +0 -13
- data/ext/rpm/extconf.h +0 -10
- data/install.rb +0 -1015
- data/spec/fedora/ruby-rpm.spec +0 -244
- data/tests/runner.rb +0 -15
- data/tests/test_db.rb +0 -58
- data/tests/test_dependency.rb +0 -29
- data/tests/test_file.rb +0 -13
- data/tests/test_rpm.rb +0 -13
- data/tests/test_source.rb +0 -31
- data/tests/test_ts.rb +0 -169
- data/tests/test_version.rb +0 -60
data/NEWS
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
1.2.3: 2007-05-07
|
2
|
-
- Make RPM::Version hashable (r42)
|
3
|
-
- Treat zero epoch the same as no epoch in RPM::Version::<=> (r41)
|
4
|
-
- Force GC on close of RPM db to make sure garbage objects don't keep
|
5
|
-
db open
|
6
|
-
|
7
|
-
1.2.2: 2007-03-21
|
8
|
-
- Fix Dependency.satisfy? and add tests/test_dependency.rb (r25)
|
9
|
-
- Fix segfault when RPM::File.new is called with link_to = nil (r24)
|
10
|
-
- Fix segfault in RPM::Version.inspect (r21)
|
11
|
-
- Patch from Pascal Terjan (Mandriva) for rpm 4.4.6 (r28)
|
12
|
-
- Better Rakefile, builds a gem; though install.rb is still needed
|
13
|
-
|
14
|
-
1.2.1: 2006-12-12
|
15
|
-
- First release from http://rubyforge.org/scm/?group_id=1924
|
16
|
-
- Incorporate various patches from Suse, Mandrive, and tinysofa
|
17
|
-
(see doc/patches)
|
18
|
-
|
19
|
-
1.2.0: 2004-03-14
|
20
|
-
- Last known release from Momonga Linux (http://www.momonga-linux.org/)
|
data/README
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
Ruby/RPM README
|
2
|
-
===============
|
3
|
-
|
4
|
-
Ruby/RPM is an interface to access RPM database for Ruby.
|
5
|
-
|
6
|
-
Requirements
|
7
|
-
------------
|
8
|
-
|
9
|
-
* ruby 1.6
|
10
|
-
* gcc
|
11
|
-
* rpm 4.0.0 or newer (tested on 4.0.4 and 4.2.1)
|
12
|
-
|
13
|
-
Install
|
14
|
-
-------
|
15
|
-
|
16
|
-
De-Compress archive and enter its top directory.
|
17
|
-
Then type:
|
18
|
-
|
19
|
-
$ ruby install.rb config
|
20
|
-
$ ruby install.rb setup
|
21
|
-
$ su
|
22
|
-
# ruby install.rb install
|
23
|
-
|
24
|
-
You can also install files into your favorite directory
|
25
|
-
by supplying install.rb some options. Try "ruby setup.rb --help".
|
26
|
-
|
27
|
-
Usage
|
28
|
-
-----
|
29
|
-
|
30
|
-
require 'rpm'
|
31
|
-
|
32
|
-
License
|
33
|
-
-------
|
34
|
-
|
35
|
-
See COPYING file.
|
36
|
-
|
37
|
-
|
38
|
-
Kenta MURATA <muraken@kondara.org>
|
data/Rakefile
DELETED
@@ -1,111 +0,0 @@
|
|
1
|
-
# Rakefile for ruby-rpm -*- ruby -*-
|
2
|
-
require 'rake/clean'
|
3
|
-
require 'rake/testtask'
|
4
|
-
require 'rake/gempackagetask'
|
5
|
-
|
6
|
-
PKG_NAME='ruby-rpm'
|
7
|
-
PKG_VERSION='1.2.4'
|
8
|
-
|
9
|
-
EXT_CONF='ext/rpm/extconf.rb'
|
10
|
-
MAKEFILE="ext/rpm/Makefile"
|
11
|
-
RPM_MODULE="ext/rpm/rpmmodule.so"
|
12
|
-
SPEC_FILE="spec/fedora/ruby-rpm.spec"
|
13
|
-
|
14
|
-
#
|
15
|
-
# Additional files for clean/clobber
|
16
|
-
#
|
17
|
-
|
18
|
-
CLEAN.include "**/*~"
|
19
|
-
|
20
|
-
CLOBBER.include [ "config.save",
|
21
|
-
"ext/**/*.o", RPM_MODULE,
|
22
|
-
"ext/**/depend", "ext/**/mkmf.log",
|
23
|
-
MAKEFILE ]
|
24
|
-
|
25
|
-
#
|
26
|
-
# Build locally
|
27
|
-
#
|
28
|
-
# FIXME: We can't get rid of install.rb yet, since there's no way
|
29
|
-
# to pass config options to extconf.rb
|
30
|
-
file MAKEFILE => EXT_CONF do |t|
|
31
|
-
Dir::chdir(File::dirname(EXT_CONF)) do
|
32
|
-
unless sh "ruby #{File::basename(EXT_CONF)}"
|
33
|
-
$stderr.puts "Failed to run extconf"
|
34
|
-
break
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
file RPM_MODULE => MAKEFILE do |t|
|
39
|
-
Dir::chdir(File::dirname(EXT_CONF)) do
|
40
|
-
unless sh "make"
|
41
|
-
$stderr.puts "make failed"
|
42
|
-
break
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
desc "Build the native library"
|
47
|
-
task :build => RPM_MODULE
|
48
|
-
|
49
|
-
Rake::TestTask.new(:test) do |t|
|
50
|
-
t.test_files = FileList['tests/test*.rb'].exclude("tests/test_ts.rb")
|
51
|
-
t.libs = [ 'lib', 'ext/rpm' ]
|
52
|
-
end
|
53
|
-
task :test => :build
|
54
|
-
|
55
|
-
#
|
56
|
-
# Package tasks
|
57
|
-
#
|
58
|
-
|
59
|
-
PKG_FILES = FileList[
|
60
|
-
"Rakefile", "ChangeLog", "COPYING", "README", "NEWS",
|
61
|
-
"install.rb",
|
62
|
-
"doc/refm.rd.ja",
|
63
|
-
"lib/**/*.rb",
|
64
|
-
"ext/**/*.[ch]", "ext/**/MANIFEST", "ext/**/extconf.rb",
|
65
|
-
"tests/**/*",
|
66
|
-
"spec/**/*"
|
67
|
-
]
|
68
|
-
|
69
|
-
SPEC = Gem::Specification.new do |s|
|
70
|
-
s.name = PKG_NAME
|
71
|
-
s.version = PKG_VERSION
|
72
|
-
s.email = "ruby-rpm-devel@rubyforge.org"
|
73
|
-
s.homepage = "http://rubyforge.org/projects/ruby-rpm/"
|
74
|
-
s.summary = "Ruby bindings for RPM"
|
75
|
-
s.files = PKG_FILES
|
76
|
-
s.test_file = "tests/runner.rb"
|
77
|
-
s.autorequire = "rpm"
|
78
|
-
s.required_ruby_version = '>= 1.8.1'
|
79
|
-
s.extensions = "ext/rpm/extconf.rb"
|
80
|
-
s.description = <<EOF
|
81
|
-
Provides bindings for accessing RPM packages and databases from Ruby. It
|
82
|
-
includes the low-level C API to talk to rpm as well as Ruby classes to
|
83
|
-
model the various objects that RPM deals with (such as packages,
|
84
|
-
dependencies, and files).
|
85
|
-
EOF
|
86
|
-
end
|
87
|
-
|
88
|
-
Rake::GemPackageTask.new(SPEC) do |pkg|
|
89
|
-
pkg.need_tar = true
|
90
|
-
pkg.need_zip = true
|
91
|
-
end
|
92
|
-
|
93
|
-
desc "Build (S)RPM for #{PKG_NAME}"
|
94
|
-
task :rpm => [ :package ] do |t|
|
95
|
-
system("sed -i -e 's/^Version:.*$/Version: #{PKG_VERSION}/' #{SPEC_FILE}")
|
96
|
-
Dir::chdir("pkg") do |dir|
|
97
|
-
dir = File::expand_path(".")
|
98
|
-
system("rpmbuild --define '_topdir #{dir}' --define '_sourcedir #{dir}' --define '_srcrpmdir #{dir}' --define '_rpmdir #{dir}' -ba ../#{SPEC_FILE} > rpmbuild.log 2>&1")
|
99
|
-
if $? != 0
|
100
|
-
raise "rpmbuild failed"
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
desc "Release a version"
|
106
|
-
task :dist => [ :rpm, :test ] do |t|
|
107
|
-
puts "svn commit -m 'Release #{PKG_VERSION}' #{SPEC_FILE}"
|
108
|
-
puts "svn cp -m 'Tag release #{PKG_VERSION}' svn+ssh://lutter@rubyforge.org/var/svn/ruby-rpm/trunk svn+ssh://lutter@rubyforge.org/var/svn/ruby-rpm/tags/release-#{PKG_VERSION}"
|
109
|
-
puts "Upload files"
|
110
|
-
puts "Announce on rubyforge and freshmeat"
|
111
|
-
end
|
data/doc/refm.rd.ja
DELETED
@@ -1,913 +0,0 @@
|
|
1
|
-
### -*- RD -*-
|
2
|
-
=begin
|
3
|
-
|
4
|
-
= Ruby/RPM Reference Manual
|
5
|
-
|
6
|
-
version 1.0.0
|
7
|
-
Copyright (C) 2002 Kenta MURATA <muraken@kondara.org>.
|
8
|
-
|
9
|
-
== �ܼ�
|
10
|
-
|
11
|
-
* ((<RPM>))
|
12
|
-
* ((<RPM::Version>))
|
13
|
-
* ((<RPM::Source>))
|
14
|
-
* ((<RPM::Patch>))
|
15
|
-
* ((<RPM::Icon>))
|
16
|
-
* ((<RPM::File>))
|
17
|
-
* ((<RPM::Dependency>))
|
18
|
-
* ((<RPM::Provide>))
|
19
|
-
* ((<RPM::Require>))
|
20
|
-
* ((<RPM::Conflict>))
|
21
|
-
* ((<RPM::Obsolete>))
|
22
|
-
* ((<RPM::Package>))
|
23
|
-
* ((<RPM::ChangeLog>))
|
24
|
-
* ((<RPM::Spec>))
|
25
|
-
* ((<RPM::DB>))
|
26
|
-
* ((<RPM::Transaction>))
|
27
|
-
* ((<RPM::CallbackData>))
|
28
|
-
* ((<RPM::Problem>))
|
29
|
-
|
30
|
-
== RPM
|
31
|
-
|
32
|
-
=== ���
|
33
|
-
|
34
|
-
--- RPM::VERSION
|
35
|
-
|
36
|
-
���γ�ĥ�⥸�塼��ΥС������
|
37
|
-
|
38
|
-
--- RPM::LOG_EMERG
|
39
|
-
--- RPM::LOG_ALERT
|
40
|
-
--- RPM::LOG_CRIT
|
41
|
-
--- RPM::LOG_ERR
|
42
|
-
--- RPM::LOG_WARNING
|
43
|
-
--- RPM::LOG_NOTICE
|
44
|
-
--- RPM::LOG_INFO
|
45
|
-
--- RPM::LOG_DEBUG
|
46
|
-
--- RPM::MESS_DEBUG
|
47
|
-
--- RPM::MESS_VERBOSE
|
48
|
-
--- RPM::MESS_NORMAL
|
49
|
-
--- RPM::MESS_WARNING
|
50
|
-
--- RPM::MESS_ERROR
|
51
|
-
--- RPM::MESS_FATALERROR
|
52
|
-
--- RPM::MESS_QUIET
|
53
|
-
|
54
|
-
((<RPM.verbosity=>)) �ǻ��ꤹ�롢��å������ξ�Ĺ�١��ǥե���
|
55
|
-
�Ȥ� RPM::LOG_EMERG �ˤʤäƤ��롣
|
56
|
-
|
57
|
-
--- RPM::DBI_PACKAGES
|
58
|
-
--- RPM::DBI_DEPENDS
|
59
|
-
--- RPM::DBI_LABEL
|
60
|
-
--- RPM::DBI_ADDED
|
61
|
-
--- RPM::DBI_REMOVE
|
62
|
-
--- RPM::DBI_AVAILABLE
|
63
|
-
--- RPM::TAG_HEADERIMAGE
|
64
|
-
--- RPM::TAG_HEADERSIGNATURES
|
65
|
-
--- RPM::TAG_HEADERIMMUTABLE
|
66
|
-
--- RPM::TAG_HEADERREGIONS
|
67
|
-
--- RPM::TAG_HEADERI18NTABLE
|
68
|
-
--- RPM::TAG_SIGSIZE
|
69
|
-
--- RPM::TAG_SIGPGP
|
70
|
-
--- RPM::TAG_SIGMD5
|
71
|
-
--- RPM::TAG_SIGGPG
|
72
|
-
--- RPM::TAG_SHA1HEADER
|
73
|
-
--- RPM::TAG_NAME
|
74
|
-
--- RPM::TAG_VERSION
|
75
|
-
--- RPM::TAG_RELEASE
|
76
|
-
--- RPM::TAG_EPOCH
|
77
|
-
--- RPM::TAG_SUMMARY
|
78
|
-
--- RPM::TAG_DESCRIPTION
|
79
|
-
--- RPM::TAG_BUILDTIME
|
80
|
-
--- RPM::TAG_BUILDHOST
|
81
|
-
--- RPM::TAG_INSTALLTIME
|
82
|
-
--- RPM::TAG_SIZE
|
83
|
-
--- RPM::TAG_DISTRIBUTION
|
84
|
-
--- RPM::TAG_VENDOR
|
85
|
-
--- RPM::TAG_GIF
|
86
|
-
--- RPM::TAG_XPM
|
87
|
-
--- RPM::TAG_LICENSE
|
88
|
-
--- RPM::TAG_PACKAGER
|
89
|
-
--- RPM::TAG_GROUP
|
90
|
-
--- RPM::TAG_SOURCE
|
91
|
-
--- RPM::TAG_PATCH
|
92
|
-
--- RPM::TAG_URL
|
93
|
-
--- RPM::TAG_OS
|
94
|
-
--- RPM::TAG_ARCH
|
95
|
-
--- RPM::TAG_PREIN
|
96
|
-
--- RPM::TAG_POSTIN
|
97
|
-
--- RPM::TAG_PREUN
|
98
|
-
--- RPM::TAG_POSTUN
|
99
|
-
--- RPM::TAG_FILESIZES
|
100
|
-
--- RPM::TAG_FILESTATES
|
101
|
-
--- RPM::TAG_FILEMODES
|
102
|
-
--- RPM::TAG_FILERDEVS
|
103
|
-
--- RPM::TAG_FILEMTIMES
|
104
|
-
--- RPM::TAG_FILEMD5S
|
105
|
-
--- RPM::TAG_FILELINKTOS
|
106
|
-
--- RPM::TAG_FILEFLAGS
|
107
|
-
--- RPM::TAG_FILEUSERNAME
|
108
|
-
--- RPM::TAG_FILEGROUPNAME
|
109
|
-
--- RPM::TAG_ICON
|
110
|
-
--- RPM::TAG_SOURCERPM
|
111
|
-
--- RPM::TAG_FILEVERIFYFLAGS
|
112
|
-
--- RPM::TAG_ARCHIVESIZE
|
113
|
-
--- RPM::TAG_PROVIDENAME
|
114
|
-
--- RPM::TAG_REQUIREFLAGS
|
115
|
-
--- RPM::TAG_REQUIRENAME
|
116
|
-
--- RPM::TAG_REQUIREVERSION
|
117
|
-
--- RPM::TAG_CONFLICTFLAGS
|
118
|
-
--- RPM::TAG_CONFLICTNAME
|
119
|
-
--- RPM::TAG_CONFLICTVERSION
|
120
|
-
--- RPM::TAG_EXCLUDEARCH
|
121
|
-
--- RPM::TAG_EXCLUDEOS
|
122
|
-
--- RPM::TAG_EXCLUSIVEARCH
|
123
|
-
--- RPM::TAG_EXCLUSIVEOS
|
124
|
-
--- RPM::TAG_RPMVERSION
|
125
|
-
--- RPM::TAG_TRIGGERSCRIPTS
|
126
|
-
--- RPM::TAG_TRIGGERNAME
|
127
|
-
--- RPM::TAG_TRIGGERVERSION
|
128
|
-
--- RPM::TAG_TRIGGERFLAGS
|
129
|
-
--- RPM::TAG_TRIGGERINDEX
|
130
|
-
--- RPM::TAG_VERIFYSCRIPT
|
131
|
-
--- RPM::TAG_CHANGELOGTIME
|
132
|
-
--- RPM::TAG_CHANGELOGNAME
|
133
|
-
--- RPM::TAG_CHANGELOGTEXT
|
134
|
-
--- RPM::TAG_PREINPROG
|
135
|
-
--- RPM::TAG_POSTINPROG
|
136
|
-
--- RPM::TAG_PREUNPROG
|
137
|
-
--- RPM::TAG_POSTUNPROG
|
138
|
-
--- RPM::TAG_BUILDARCHS
|
139
|
-
--- RPM::TAG_OBSOLETENAME
|
140
|
-
--- RPM::TAG_VERIFYSCRIPTPROG
|
141
|
-
--- RPM::TAG_TRIGGERSCRIPTPROG
|
142
|
-
--- RPM::TAG_COOKIE
|
143
|
-
--- RPM::TAG_FILEDEVICES
|
144
|
-
--- RPM::TAG_FILEINODES
|
145
|
-
--- RPM::TAG_FILELANGS
|
146
|
-
--- RPM::TAG_PREFIXES
|
147
|
-
--- RPM::TAG_INSTPREFIXES
|
148
|
-
--- RPM::TAG_PROVIDEFLAGS
|
149
|
-
--- RPM::TAG_PROVIDEVERSION
|
150
|
-
--- RPM::TAG_OBSOLETEFLAGS
|
151
|
-
--- RPM::TAG_OBSOLETEVERSION
|
152
|
-
--- RPM::TAG_DIRINDEXES
|
153
|
-
--- RPM::TAG_BASENAMES
|
154
|
-
--- RPM::TAG_DIRNAMES
|
155
|
-
--- RPM::TAG_OPTFLAGS
|
156
|
-
--- RPM::TAG_PAYLOADFORMAT
|
157
|
-
--- RPM::TAG_PAYLOADCOMPRESSOR
|
158
|
-
--- RPM::TAG_PAYLOADFLAGS
|
159
|
-
--- RPM::TAG_MULTILIBS
|
160
|
-
--- RPM::TAG_INSTALLTID
|
161
|
-
--- RPM::TAG_REMOVETID
|
162
|
-
--- RPM::TAG_RHNPLATFORM
|
163
|
-
--- RPM::TAG_PLATFORM
|
164
|
-
|
165
|
-
������
|
166
|
-
|
167
|
-
--- RPM::FILE_STATE_NORMAL
|
168
|
-
--- RPM::FILE_STATE_REPLACED
|
169
|
-
--- RPM::FILE_STATE_NOTINSTALLED
|
170
|
-
--- RPM::FILE_STATE_NETSHARED
|
171
|
-
|
172
|
-
���ȡ���Ѥߥե�����ξ��֡�
|
173
|
-
|
174
|
-
--- RPM::FILE_NONE
|
175
|
-
--- RPM::FILE_CONFIG
|
176
|
-
--- RPM::FILE_DOC
|
177
|
-
--- RPM::FILE_DONOTUSE
|
178
|
-
--- RPM::FILE_MISSINGOK
|
179
|
-
--- RPM::FILE_SPECFILE
|
180
|
-
--- RPM::FILE_GHOST
|
181
|
-
--- RPM::FILE_LICENSE
|
182
|
-
--- RPM::FILE_README
|
183
|
-
--- RPM::FILE_EXCLUDE
|
184
|
-
--- RPM::FILE_MULTILIB_SHIFT
|
185
|
-
--- RPM::FILE_MULTILIB_MASK
|
186
|
-
--- RPM::FILE_ALL
|
187
|
-
|
188
|
-
�ѥå������˴ޤޤ��ե�����Υե饰��
|
189
|
-
|
190
|
-
--- RPM::SENSE_ANY
|
191
|
-
--- RPM::SENSE_SERIAL
|
192
|
-
--- RPM::SENSE_LESS
|
193
|
-
--- RPM::SENSE_GREATER
|
194
|
-
--- RPM::SENSE_EQUAL
|
195
|
-
--- RPM::SENSE_PROVIDES
|
196
|
-
--- RPM::SENSE_CONFLICTS
|
197
|
-
--- RPM::SENSE_PREREQ
|
198
|
-
--- RPM::SENSE_OBSOLETES
|
199
|
-
--- RPM::SENSE_INTERP
|
200
|
-
--- RPM::SENSE_SCRIPT_PRE
|
201
|
-
--- RPM::SENSE_SCRIPT_POST
|
202
|
-
--- RPM::SENSE_SCRIPT_PREUN
|
203
|
-
--- RPM::SENSE_SCRIPT_POSTUN
|
204
|
-
--- RPM::SENSE_SCRIPT_VERIFY
|
205
|
-
--- RPM::SENSE_FIND_REQUIRES
|
206
|
-
--- RPM::SENSE_FIND_PROVIDES
|
207
|
-
--- RPM::SENSE_TRIGGERIN
|
208
|
-
--- RPM::SENSE_TRIGGERUN
|
209
|
-
--- RPM::SENSE_TRIGGERPOSTUN
|
210
|
-
--- RPM::SENSE_MULTILIB
|
211
|
-
--- RPM::SENSE_SCRIPT_PREP
|
212
|
-
--- RPM::SENSE_SCRIPT_BUILD
|
213
|
-
--- RPM::SENSE_SCRIPT_INSTALL
|
214
|
-
--- RPM::SENSE_SCRIPT_CLEAN
|
215
|
-
--- RPM::SENSE_RPMLIB
|
216
|
-
--- RPM::SENSE_TRIGGERPREIN
|
217
|
-
--- RPM::SENSE_KEYRING
|
218
|
-
--- RPM::SENSE_TRIGGER
|
219
|
-
|
220
|
-
((<RPM::Dependency>)) ���ΰ�̣�������
|
221
|
-
|
222
|
-
--- RPM::PROB_BADARCH
|
223
|
-
--- RPM::PROB_BADOS
|
224
|
-
--- RPM::PROB_PKG_INSTALLED
|
225
|
-
--- RPM::PROB_BADRELOCATE
|
226
|
-
--- RPM::PROB_REQUIRES
|
227
|
-
--- RPM::PROB_CONFLICT
|
228
|
-
--- RPM::PROB_NEW_FILE_CONFLICT
|
229
|
-
--- RPM::PROB_FILE_CONFLICT
|
230
|
-
--- RPM::PROB_OLDPACKAGE
|
231
|
-
--- RPM::PROB_DISKSPACE
|
232
|
-
--- RPM::PROB_DISKNODES
|
233
|
-
--- RPM::PROB_BADPRETRANS
|
234
|
-
|
235
|
-
((<RPM::Problem>)) �μ����ɽ�������
|
236
|
-
|
237
|
-
--- RPM::CALLBACK_INST_PROGRESS
|
238
|
-
--- RPM::CALLBACK_INST_START
|
239
|
-
--- RPM::CALLBACK_INST_OPEN_FILE
|
240
|
-
--- RPM::CALLBACK_INST_CLOSE_FILE
|
241
|
-
--- RPM::CALLBACK_TRANS_PROGRESS
|
242
|
-
--- RPM::CALLBACK_TRANS_START
|
243
|
-
--- RPM::CALLBACK_TRANS_STOP
|
244
|
-
--- RPM::CALLBACK_UNINST_PROGRESS
|
245
|
-
--- RPM::CALLBACK_UNINST_START
|
246
|
-
--- RPM::CALLBACK_UNINST_STOP
|
247
|
-
|
248
|
-
((<RPM::CallbackData>)) �μ����ɽ�魯�����
|
249
|
-
|
250
|
-
--- RPM::TRANS_FLAG_NONE
|
251
|
-
--- RPM::TRANS_FLAG_TEST
|
252
|
-
--- RPM::TRANS_FLAG_BUILD_PROBS
|
253
|
-
--- RPM::TRANS_FLAG_NOSCRIPTS
|
254
|
-
--- RPM::TRANS_FLAG_JUSTDB
|
255
|
-
--- RPM::TRANS_FLAG_NOTRIGGERS
|
256
|
-
--- RPM::TRANS_FLAG_NODOCS
|
257
|
-
--- RPM::TRANS_FLAG_ALLFILES
|
258
|
-
--- RPM::TRANS_FLAG_KEEPOBSOLETE
|
259
|
-
--- RPM::TRANS_FLAG_MULTILIB
|
260
|
-
--- RPM::TRANS_FLAG_DIRSTASH
|
261
|
-
--- RPM::TRANS_FLAG_REPACKAGE
|
262
|
-
--- RPM::TRANS_FLAG_PKGCOMMIT
|
263
|
-
--- RPM::TRANS_FLAG_PKGUNDO
|
264
|
-
--- RPM::TRANS_FLAG_COMMIT
|
265
|
-
--- RPM::TRANS_FLAG_UNDO
|
266
|
-
--- RPM::TRANS_FLAG_REVERSE
|
267
|
-
--- RPM::TRANS_FLAG_NOTRIGGERPREIN
|
268
|
-
--- RPM::TRANS_FLAG_NOPRE
|
269
|
-
--- RPM::TRANS_FLAG_NOPOST
|
270
|
-
--- RPM::TRANS_FLAG_NOTRIGGERIN
|
271
|
-
--- RPM::TRANS_FLAG_NOTRIGGERUN
|
272
|
-
--- RPM::TRANS_FLAG_NOPREUN
|
273
|
-
--- RPM::TRANS_FLAG_NOPOSTUN
|
274
|
-
--- RPM::TRANS_FLAG_NOTRIGGERPOSTUN
|
275
|
-
--- RPM::TRANS_FLAG_NOPAYLOAD
|
276
|
-
--- RPM::TRANS_FLAG_APPLYONLY
|
277
|
-
--- RPM::TRANS_FLAG_CHAINSAW
|
278
|
-
--- RPM::TRANS_FLAG_NOMD5
|
279
|
-
|
280
|
-
((<RPM::Transaction#commit>)) ����1�������Ϥ��ȥ����������
|
281
|
-
�Υ��ץ���������
|
282
|
-
|
283
|
-
--- RPM::PROB_FILTER_NONE
|
284
|
-
--- RPM::PROB_FILTER_IGNOREOS
|
285
|
-
--- RPM::PROB_FILTER_IGNOREARCH
|
286
|
-
--- RPM::PROB_FILTER_REPLACEPKG
|
287
|
-
--- RPM::PROB_FILTER_FORCERELOCATE
|
288
|
-
--- RPM::PROB_FILTER_REPLACENEWFILES
|
289
|
-
--- RPM::PROB_FILTER_REPLACEOLDFILES
|
290
|
-
--- RPM::PROB_FILTER_OLDPACKAGE
|
291
|
-
--- RPM::PROB_FILTER_DISKSPACE
|
292
|
-
--- RPM::PROB_FILTER_DISKNODES
|
293
|
-
--- RPM::PROB_FILTER_FORCE
|
294
|
-
--- RPM::PROB_FILTER_REPLACEFILES
|
295
|
-
--- RPM::PROB_FILTER_IGNORESIZE
|
296
|
-
|
297
|
-
((<RPM::Transaction#commit>)) ����2�����ǻ��ꤹ������ե��륿����
|
298
|
-
����
|
299
|
-
|
300
|
-
=== �⥸�塼��ؿ�
|
301
|
-
|
302
|
-
--- RPM.[](name)
|
303
|
-
|
304
|
-
�ޥ����Ȥ��롣
|
305
|
-
|
306
|
-
--- RPM.[]=(name, value)
|
307
|
-
|
308
|
-
�ޥ��������ꤹ�롣((|value|)) �� (({nil})) �ξ��ϥޥ����������롣
|
309
|
-
|
310
|
-
--- RPM.readrc(path, ...)
|
311
|
-
|
312
|
-
����ե�������ɤࡣ
|
313
|
-
|
314
|
-
--- RPM.verbosity
|
315
|
-
--- RPM.verbosity=(level)
|
316
|
-
|
317
|
-
rpm �����Ϥ����å������Υ�٥�����롢�ޤ������ꤹ�롣
|
318
|
-
|
319
|
-
== RPM::Version
|
320
|
-
|
321
|
-
=== �����ѥ��饹
|
322
|
-
|
323
|
-
* Object
|
324
|
-
|
325
|
-
=== Mix-in
|
326
|
-
|
327
|
-
* Comparable
|
328
|
-
|
329
|
-
=== �ðۥ�å�
|
330
|
-
|
331
|
-
--- RPM::Version.new(vr, e=nil)
|
332
|
-
--- RPM::Version.new(v, r, e=nil)
|
333
|
-
|
334
|
-
Version ���֥������Ȥ��������롣((|v|)) �ϥС������((|r|)) �ϥ�
|
335
|
-
�����((|e|)) �� Epoch �Ȥʤ롣((|vr|)) �� (({"ver[-rel]"})) ��
|
336
|
-
������ʸ����
|
337
|
-
|
338
|
-
��:
|
339
|
-
|
340
|
-
RPM::Version.new "1.0.0-3"
|
341
|
-
RPM::Version.new "1.04"
|
342
|
-
RPM::Version.new "1.0.0-3k", 1
|
343
|
-
RPM::Version.new "2.0.3", "5k"
|
344
|
-
|
345
|
-
=== ��å�
|
346
|
-
|
347
|
-
--- RPM::Version#<=>(ver)
|
348
|
-
|
349
|
-
�С������ȥ����� ((|ver|)) ����Ӥ�����̤��֤���
|
350
|
-
|
351
|
-
--- RPM::Version#newer?(ver)
|
352
|
-
|
353
|
-
�С����������Epoch ����Ӥ��Ƽ�ʬ������������ (({true})) ���֤���
|
354
|
-
|
355
|
-
--- RPM::Version#older?(ver)
|
356
|
-
|
357
|
-
�С����������Epoch ����Ӥ��Ƽ�ʬ���Ť����� (({true})) ���֤���
|
358
|
-
|
359
|
-
--- RPM::Version#v
|
360
|
-
--- RPM::Version#r
|
361
|
-
--- RPM::Version#e
|
362
|
-
|
363
|
-
���줾��С����������Epoch ���ͤ��֤���
|
364
|
-
|
365
|
-
--- RPM::Version#to_s
|
366
|
-
|
367
|
-
(({"ver-rel"})) �Ȥ���������ʸ������֤���
|
368
|
-
|
369
|
-
--- RPM::Version#to_vre
|
370
|
-
|
371
|
-
(({"epoch:ver-rel"})) �Ȥ���������ʸ������֤���
|
372
|
-
|
373
|
-
|
374
|
-
== RPM::Source
|
375
|
-
|
376
|
-
=== �����ѥ��饹
|
377
|
-
|
378
|
-
* Object
|
379
|
-
|
380
|
-
=== �ðۥ�å�
|
381
|
-
|
382
|
-
--- RPM::Source.new(url, num, nosource=false)
|
383
|
-
|
384
|
-
Source ���֥������Ȥ��������롣((|url|)) �� URL��((|num|)) �ϥ�����
|
385
|
-
���ֹ桢((|nosource|)) �� NoSource �λ� true��
|
386
|
-
|
387
|
-
��:
|
388
|
-
|
389
|
-
RPM::Source.new( 'http://example.com/hoge/hoge.tar.bz2', 0 )
|
390
|
-
RPM::Source.new( 'http://example.com/fuga/fuga.tar.gz', 1, true )
|
391
|
-
|
392
|
-
=== ��å�
|
393
|
-
|
394
|
-
--- RPM::Source#fullname
|
395
|
-
--- RPM::Source#to_s
|
396
|
-
|
397
|
-
�������� URL �ޤ��ϥե�����̾���֤���
|
398
|
-
|
399
|
-
--- RPM::Source#filename
|
400
|
-
|
401
|
-
�������Υե�����̾���֤���
|
402
|
-
|
403
|
-
--- RPM::Source#num
|
404
|
-
|
405
|
-
���������ֹ���֤���
|
406
|
-
|
407
|
-
--- RPM::Source#no?
|
408
|
-
|
409
|
-
NoSource ���ꤵ��Ƥ������ (({true})) ���֤���
|
410
|
-
|
411
|
-
== RPM::Patch
|
412
|
-
|
413
|
-
=== �����ѥ��饹
|
414
|
-
|
415
|
-
* ((<RPM::Source>))
|
416
|
-
|
417
|
-
== RPM::Icon
|
418
|
-
|
419
|
-
=== �����ѥ��饹
|
420
|
-
|
421
|
-
* ((<RPM::Source>))
|
422
|
-
|
423
|
-
== RPM::File
|
424
|
-
|
425
|
-
=== �����ѥ��饹
|
426
|
-
|
427
|
-
* Object
|
428
|
-
|
429
|
-
=== ��å�
|
430
|
-
|
431
|
-
--- RPM::File#path
|
432
|
-
--- RPM::File#to_s
|
433
|
-
|
434
|
-
�ѥ����֤���
|
435
|
-
|
436
|
-
--- RPM::File#md5sum
|
437
|
-
|
438
|
-
MD5 ������������ʸ������֤���
|
439
|
-
|
440
|
-
--- RPM::File#link_to
|
441
|
-
|
442
|
-
�ե����뤬����ܥ�å����ξ��˥����Υѥ����֤���
|
443
|
-
���Υѥ������Хѥ��ξ��⤢�롣���Хѥ��������Хѥ����Ѵ�����ˤϡ�
|
444
|
-
|
445
|
-
File.expand_path(file.link_to, File.dirname(file.path))
|
446
|
-
|
447
|
-
�Ȥ��롣
|
448
|
-
|
449
|
-
--- RPM::File#symlink?
|
450
|
-
|
451
|
-
�ե����뤬����ܥ�å���ξ��� (({true})) ���֤���
|
452
|
-
|
453
|
-
--- RPM::File#size
|
454
|
-
|
455
|
-
�ե�����Υ��������֤���
|
456
|
-
|
457
|
-
--- RPM::File#mtime
|
458
|
-
|
459
|
-
�ե�����κǽ��ѹ������ Time ���֥������Ȥ��֤���
|
460
|
-
|
461
|
-
--- RPM::File#owner
|
462
|
-
|
463
|
-
�ե�������ͭ����桼��̾��(({nil})) ���֤뤳�Ȥ⤢�롣
|
464
|
-
|
465
|
-
--- RPM::File#uid
|
466
|
-
|
467
|
-
�ե�������ͭ����桼���� uid ���֤���
|
468
|
-
|
469
|
-
--- RPM::File#group
|
470
|
-
|
471
|
-
�ե�������ͭ���륰�롼��̾��(({nil})) ���֤뤳�Ȥ⤢�롣
|
472
|
-
|
473
|
-
--- RPM::File#gid
|
474
|
-
|
475
|
-
�ե�������ͭ����桼���� gid ���֤���
|
476
|
-
|
477
|
-
--- RPM::File#rdev
|
478
|
-
|
479
|
-
�ե�����ΥǥХ��������פ��֤���
|
480
|
-
|
481
|
-
--- RPM::File#mode
|
482
|
-
|
483
|
-
�ե�����Υѡ��ߥå������֤���
|
484
|
-
|
485
|
-
--- RPM::File#attr
|
486
|
-
|
487
|
-
�ե������°�����֤���
|
488
|
-
|
489
|
-
--- RPM::File#state
|
490
|
-
|
491
|
-
�ե�����ξ��֤��֤���
|
492
|
-
|
493
|
-
--- RPM::File#config?
|
494
|
-
|
495
|
-
�ե����뤬 %config ���ꤵ��Ƥ������ (({true})) ���֤���
|
496
|
-
|
497
|
-
--- RPM::File#doc?
|
498
|
-
|
499
|
-
�ե����뤬 %doc ���ꤵ��Ƥ������ (({true})) ���֤���
|
500
|
-
|
501
|
-
--- RPM::File#donotuse?
|
502
|
-
|
503
|
-
�ե����뤬 %donotuse ���ꤵ��Ƥ������ (({true})) ���֤���
|
504
|
-
|
505
|
-
--- RPM::File#missingok?
|
506
|
-
|
507
|
-
�ե����뤬 %config(missingok) ���ꤵ��Ƥ������ (({true})) ���֤���
|
508
|
-
|
509
|
-
--- RPM::File#noreplace?
|
510
|
-
|
511
|
-
�ե����뤬 %config(noreplace) ���ꤵ��Ƥ������ (({true})) ���֤���
|
512
|
-
|
513
|
-
--- RPM::File#specfile?
|
514
|
-
|
515
|
-
�ե����뤬 spec �ե�����Ǥ������ (({true})) ���֤���
|
516
|
-
|
517
|
-
--- RPM::File#ghost?
|
518
|
-
|
519
|
-
�ե����뤬 %ghost ���ꤵ��Ƥ������ (({true})) ���֤���
|
520
|
-
|
521
|
-
--- RPM::File#license?
|
522
|
-
|
523
|
-
�ե����뤬 %license ���ꤵ��Ƥ������ (({true})) ���֤���
|
524
|
-
|
525
|
-
--- RPM::File#readme?
|
526
|
-
|
527
|
-
�ե����뤬 %readme ���ꤵ��Ƥ������ (({true})) ���֤���
|
528
|
-
|
529
|
-
--- RPM::File#exclude?
|
530
|
-
|
531
|
-
�ե����뤬 %exclude ���ꤵ��Ƥ������ (({true})) ���֤���
|
532
|
-
|
533
|
-
--- RPM::File#replaced?
|
534
|
-
|
535
|
-
�ե����뤬�֤��������ƥ��ȡ��뤵�줿���� (({true})) ���֤���
|
536
|
-
|
537
|
-
--- RPM::File#notinstalled?
|
538
|
-
|
539
|
-
�ե����뤬���ȡ��뤵��Ƥ��ʤ����� (({true})) ���֤���
|
540
|
-
|
541
|
-
--- RPM::File#netshared?
|
542
|
-
|
543
|
-
�ե����뤬�ͥåȥ����ͳ�Ƕ�ͭ����Ƥ������ (({true})) ���֤���
|
544
|
-
|
545
|
-
== RPM::Dependency
|
546
|
-
|
547
|
-
=== �����ѥ��饹
|
548
|
-
|
549
|
-
* Object
|
550
|
-
|
551
|
-
=== ��å�
|
552
|
-
|
553
|
-
--- RPM::Dependency#name
|
554
|
-
|
555
|
-
��¸�ѥå�����̾���֤���
|
556
|
-
|
557
|
-
--- RPM::Dependency#version
|
558
|
-
|
559
|
-
��¸�ѥå������ΥС��������֤���
|
560
|
-
|
561
|
-
--- RPM::Dependency#flags
|
562
|
-
|
563
|
-
��¸�ե饰���֤���
|
564
|
-
|
565
|
-
--- RPM::Dependency#target
|
566
|
-
|
567
|
-
��¸���Ƥ��륪�֥������� (((<Package|RPM::Package>)) ��
|
568
|
-
((<Spec|RPM::Spec>)) ��) ���֤���
|
569
|
-
|
570
|
-
--- RPM::Dependency#lt?
|
571
|
-
|
572
|
-
�С���������Ӥ� (({<})) �ޤ��� (({<=})) �Ǥ������ (({true})) ���֤���
|
573
|
-
|
574
|
-
--- RPM::Dependency#gt?
|
575
|
-
|
576
|
-
�С���������Ӥ� (({>})) �ޤ��� (({>=})) �Ǥ������ (({true})) ���֤���
|
577
|
-
|
578
|
-
--- RPM::Dependency#eq?
|
579
|
-
|
580
|
-
�С���������Ӥ� (({<=})) �ޤ��� (({>=})) �⤷���� (({==})) �Ǥ������ (({true})) ���֤���
|
581
|
-
|
582
|
-
--- RPM::Dependency#le?
|
583
|
-
|
584
|
-
�С���������Ӥ� (({<=})) �Ǥ������ (({true})) ���֤���
|
585
|
-
|
586
|
-
--- RPM::Dependency#ge?
|
587
|
-
|
588
|
-
�С���������Ӥ� (({>=})) �Ǥ������ (({true})) ���֤���
|
589
|
-
|
590
|
-
--- RPM::Dependency#satisfy?(ver)
|
591
|
-
|
592
|
-
((|ver|)) ������ Dependency ������������ (({true})) ���֤���
|
593
|
-
|
594
|
-
== RPM::Provide
|
595
|
-
|
596
|
-
=== �����ѥ��饹
|
597
|
-
|
598
|
-
* ((<RPM::Dependency>))
|
599
|
-
|
600
|
-
== RPM::Require
|
601
|
-
|
602
|
-
=== �����ѥ��饹
|
603
|
-
|
604
|
-
* ((<RPM::Dependency>))
|
605
|
-
|
606
|
-
=== ��å�
|
607
|
-
|
608
|
-
--- RPM::Require#pre?
|
609
|
-
|
610
|
-
PreReq �ΰ�¸�ط��Ǥ������ (({true})) ���֤���
|
611
|
-
|
612
|
-
== RPM::Conflict
|
613
|
-
|
614
|
-
=== �����ѥ��饹
|
615
|
-
|
616
|
-
* ((<RPM::Dependency>))
|
617
|
-
|
618
|
-
== RPM::Obsolete
|
619
|
-
|
620
|
-
=== �����ѥ��饹
|
621
|
-
|
622
|
-
* ((<RPM::Dependency>))
|
623
|
-
|
624
|
-
== RPM::Package
|
625
|
-
|
626
|
-
=== �����ѥ��饹
|
627
|
-
|
628
|
-
* Data
|
629
|
-
|
630
|
-
=== �ðۥ�å�
|
631
|
-
|
632
|
-
--- RPM::Package.open(filename)
|
633
|
-
--- RPM::Package.new(filename)
|
634
|
-
|
635
|
-
�ե����� ((|filename|)) ����ѥå��������֥������Ȥ�������롣
|
636
|
-
|
637
|
-
=== ��å�
|
638
|
-
|
639
|
-
--- RPM::Package#[](tag)
|
640
|
-
|
641
|
-
�ѥå������Υ�����Ϣ�ۤ�����ͤ��֤���
|
642
|
-
|
643
|
-
--- RPM::Package#name
|
644
|
-
|
645
|
-
�ѥå�����̾���֤���
|
646
|
-
|
647
|
-
--- RPM::Package#version
|
648
|
-
|
649
|
-
�ѥå������ΥС������ (((<Version|RPM::Version>))) ���֤���
|
650
|
-
|
651
|
-
--- RPM::Package#files
|
652
|
-
|
653
|
-
�ѥå������˴ޤޤ��ե����� (((<File|RPM::File>))) ��������֤���
|
654
|
-
|
655
|
-
--- RPM::Package#provides
|
656
|
-
|
657
|
-
�ѥå������� Provides ��������֤���
|
658
|
-
|
659
|
-
--- RPM::Package#requires
|
660
|
-
|
661
|
-
�ѥå������� Requires ��������֤���
|
662
|
-
|
663
|
-
--- RPM::Package#conflicts
|
664
|
-
|
665
|
-
�ѥå������� Conflicts ��������֤���
|
666
|
-
|
667
|
-
--- RPM::Package#changelog
|
668
|
-
|
669
|
-
�ѥå������ι��������������֤�����������ϡ�(({:time}))��
|
670
|
-
(({:name}))��(({:text})) ��3�ĤΥ�������ä��ϥå���Ǥ��롣
|
671
|
-
|
672
|
-
--- RPM::Package#to_s
|
673
|
-
|
674
|
-
(({"name-version-release"})) �Ȥ���ʸ������֤���
|
675
|
-
|
676
|
-
== RPM::ChangeLog
|
677
|
-
|
678
|
-
=== �����ѥ��饹
|
679
|
-
|
680
|
-
* Struct
|
681
|
-
|
682
|
-
=== ��å�
|
683
|
-
|
684
|
-
--- RPM::ChangeLog#time
|
685
|
-
--- RPM::ChangeLog#name
|
686
|
-
--- RPM::ChangeLog#text
|
687
|
-
|
688
|
-
== RPM::Spec
|
689
|
-
|
690
|
-
=== �����ѥ��饹
|
691
|
-
|
692
|
-
* Data
|
693
|
-
|
694
|
-
=== �ðۥ�å�
|
695
|
-
|
696
|
-
--- RPM::Spec.open(filename)
|
697
|
-
--- RPM::Spec.new(filename)
|
698
|
-
|
699
|
-
((|filename|)) �ǻ��ꤵ�줿 spec �ե����뤫�� Spec ���֥������Ȥ��������롣
|
700
|
-
|
701
|
-
=== ��å�
|
702
|
-
|
703
|
-
--- RPM::Spec#buildroot
|
704
|
-
|
705
|
-
BuildRoot ���֤���
|
706
|
-
|
707
|
-
--- RPM::Spec#buildsubdir
|
708
|
-
|
709
|
-
BuildRoot ��˺��������ǥ��쥯�ȥ�̾���֤���
|
710
|
-
|
711
|
-
--- RPM::Spec#buildarchs
|
712
|
-
|
713
|
-
Build �оݤΥ������ƥ�����̾��������֤� (�ä˻���Τʤ����� nil)��
|
714
|
-
|
715
|
-
--- RPM::Spec#buildprereq
|
716
|
-
|
717
|
-
BuildPreReq ��������֤���
|
718
|
-
|
719
|
-
--- RPM::Spec#buildrequires
|
720
|
-
|
721
|
-
BuildRequires ��������֤���
|
722
|
-
|
723
|
-
--- RPM::Spec#buildconflicts
|
724
|
-
|
725
|
-
BuildConflicts ��������֤���
|
726
|
-
|
727
|
-
--- RPM::Spec#sources
|
728
|
-
|
729
|
-
�������ե����� (((<Source|RPM::Source>)),
|
730
|
-
((<Patch|RPM::Patch>)), ((<Icon|RPM::Icon>))) ��������֤���
|
731
|
-
|
732
|
-
--- RPM::Spec#packages
|
733
|
-
|
734
|
-
Spec ��ӥ�ɤ��ƺ����ѥå����� (((<Package|RPM::Package>))) ��������֤���
|
735
|
-
���� Package ���֥������Ȥ��Դ����Ǥ��� (�㤨�С�
|
736
|
-
((<Package#files|RPM::Package#files>)) ��åɤ� (({nil})) ���֤�)��
|
737
|
-
|
738
|
-
== RPM::DB
|
739
|
-
|
740
|
-
=== �����ѥ��饹
|
741
|
-
|
742
|
-
* Data
|
743
|
-
|
744
|
-
=== Mix-in
|
745
|
-
|
746
|
-
* Enumerable
|
747
|
-
|
748
|
-
=== �ðۥ�å�
|
749
|
-
|
750
|
-
--- RPM::DB.open(writable=false, root='')
|
751
|
-
--- RPM::DB.new(writable=false, root='')
|
752
|
-
|
753
|
-
�ѥå������ǡ����١�������((|writable|)) �� (({false})) �ξ�硢
|
754
|
-
�ȥ�����������ϤǤ��ʤ� (see ((<RPM::DB#transaction>)))��
|
755
|
-
((|writable|)) �� (({false})) �ξ�硢��������륪�֥������Ȥ�
|
756
|
-
(({freeze})) ���줿��ΤȤʤ롣
|
757
|
-
|
758
|
-
�ǡ����١����� (({"#{root}/var/lib/rpm"})) ��¸�ߤ��Ƥ��ʤ���Ф�
|
759
|
-
��ʤ���
|
760
|
-
|
761
|
-
--- RPM::DB.init(root, writable=false)
|
762
|
-
|
763
|
-
�ѥå������ǡ����١������������롣
|
764
|
-
|
765
|
-
�ǡ����١����� (({"#{root}/var/lib/rpm"})) �˺�������롣
|
766
|
-
|
767
|
-
--- RPM::DB.rebuild(root='')
|
768
|
-
|
769
|
-
�ѥå������ǡ����١�����ƹ��ۤ��롣
|
770
|
-
|
771
|
-
�ǡ����١����� (({"#{root}/var/lib/rpm"})) ��¸�ߤ��Ƥ��ʤ���Ф�
|
772
|
-
��ʤ���
|
773
|
-
|
774
|
-
=== ��å�
|
775
|
-
|
776
|
-
--- RPM::DB#root
|
777
|
-
|
778
|
-
�롼�ȥǥ��쥯�ȥ���֤���
|
779
|
-
|
780
|
-
--- RPM::DB#home
|
781
|
-
|
782
|
-
�ǡ����١����Υۡ���ǥ��쥯�ȥ���֤���
|
783
|
-
|
784
|
-
--- RPM::DB#writable?
|
785
|
-
|
786
|
-
�ǡ����١��������߲�ǽ�ʾ��� (({true})) ���֤���
|
787
|
-
|
788
|
-
--- RPM::DB#each {|pkg| ... }
|
789
|
-
|
790
|
-
�ǡ����١����˴ޤޤ��ƥѥå������ˤĤ��ƥ֥��å���ɾ�����롣
|
791
|
-
|
792
|
-
--- RPM::DB#each_match(tag, val) {|pkg| ... }
|
793
|
-
|
794
|
-
�ǡ����١����˴ޤޤ�륿�� ((|tag|)) ���ͤ� ((|val|)) �˰��פ����
|
795
|
-
�ѥå������ˤĤ��ƥ֥��å���ɾ�����롣
|
796
|
-
|
797
|
-
--- RPM::DB#transaction(root=nil) {|ts| ... }
|
798
|
-
|
799
|
-
�ȥ���������������롣(({freeze})) ���줿�ǡ����١����ϥȥ�
|
800
|
-
�����������Ǥ��ʤ����ȥ����������������˽�λ�������
|
801
|
-
�� (({true})) ���֤����֥��å����
|
802
|
-
((<Transaction#abort|RPM::Transaction#abort>)) ��������
|
803
|
-
(({false})) ���֤����ȥ����������������꤬ȯ���������ϡ�
|
804
|
-
���� Symbol ���Ȥ����ϥå����������֤���
|
805
|
-
|
806
|
-
: (({:type}))
|
807
|
-
����μ��ࡣ
|
808
|
-
: (({:key}))
|
809
|
-
�ȥ�������Υ�����
|
810
|
-
: (({:package}))
|
811
|
-
����Ȥʤä��ѥå�������
|
812
|
-
: (({:message}))
|
813
|
-
����ˤĤ��Ƥ�������
|
814
|
-
|
815
|
-
((|root|)) �� (({nil})) �ξ�� ((<RPM::DB#root>)) ���ͤ����Ѥ���롣
|
816
|
-
|
817
|
-
== RPM::Transaction
|
818
|
-
|
819
|
-
=== �����ѥ��饹
|
820
|
-
|
821
|
-
* Data
|
822
|
-
|
823
|
-
=== ��å�
|
824
|
-
|
825
|
-
--- RPM::Transaction#db
|
826
|
-
|
827
|
-
�ȥ���������б�����ǡ����١������֤���
|
828
|
-
|
829
|
-
--- RPM::Transaction#script_file
|
830
|
-
--- RPM::Transaction#script_file=(file)
|
831
|
-
|
832
|
-
�ȥ�������Υ�����Ф��ե��������������ꤹ�롣
|
833
|
-
|
834
|
-
--- RPM::Transaction#install(key, pkg)
|
835
|
-
|
836
|
-
���ȡ���ȥ���������ɲä��롣
|
837
|
-
|
838
|
-
--- RPM::Transaction#upgrade(key, pkg)
|
839
|
-
|
840
|
-
���åץ��졼�ɥȥ���������ɲä��롣
|
841
|
-
|
842
|
-
--- RPM::Transaction#available(key, pkg)
|
843
|
-
|
844
|
-
���饽
|
845
|
-
|
846
|
-
--- RPM::Transaction#delete(key)
|
847
|
-
|
848
|
-
�ȥ�������������롣
|
849
|
-
|
850
|
-
--- RPM::Transaction#check
|
851
|
-
|
852
|
-
��¸�ط�������å����롣��¸�ط���������Ƥ��ʤ����ϡ�
|
853
|
-
((<Dependency|RPM::Dependency>)) ��������֤�����¸�ط�����������
|
854
|
-
�Ƥ������ (({nil})) ���֤���
|
855
|
-
|
856
|
-
--- RPM::Transaction#order
|
857
|
-
|
858
|
-
�����������ꤹ�롣
|
859
|
-
|
860
|
-
--- RPM::Transaction#keys
|
861
|
-
|
862
|
-
�ɲä��줿���ȥ���������б����Ƥ��륭����������֤���
|
863
|
-
|
864
|
-
--- RPM::Transaction#commit(flag=RPM::TRANS_FLAG_NONE, filter=RPM::PROB_FILTER_NONE)
|
865
|
-
--- RPM::Transaction#commit(flag=RPM::TRANS_FLAG_NONE, filter=RPM::PROB_FILTER_NONE) {|sig| ... }
|
866
|
-
|
867
|
-
�ɲä����ȥ��������¹Ԥ��롣�֥��å���Ϳ����줿��硢
|
868
|
-
�ȥ�������ο�Ľ�������Ǽ���Ƥ��뼡�� Symbol ���Ȥ���ϥ�
|
869
|
-
���������ˤ��ơ��֥��å���ɾ�����롣
|
870
|
-
|
871
|
-
: (({:type}))
|
872
|
-
���٥�ȤΥ����ס�
|
873
|
-
: (({:key}))
|
874
|
-
�ȥ�������Υ�����
|
875
|
-
: (({:package}))
|
876
|
-
������Υѥå�������
|
877
|
-
: (({:amount}))
|
878
|
-
��Ľ������
|
879
|
-
: (({:total}))
|
880
|
-
�ȡ����륵������
|
881
|
-
|
882
|
-
--- RPM::Transaction#abort
|
883
|
-
|
884
|
-
�ȥ�����������Ǥ��롣�ǡ����١������ѹ�����ʤ���
|
885
|
-
|
886
|
-
== RPM::CallbackData
|
887
|
-
|
888
|
-
=== �����ѥ��饹
|
889
|
-
|
890
|
-
* Struct
|
891
|
-
|
892
|
-
=== ��å�
|
893
|
-
|
894
|
-
--- RPM::CallbackData#type
|
895
|
-
--- RPM::CallbackData#key
|
896
|
-
--- RPM::CallbackData#package
|
897
|
-
--- RPM::CallbackData#amount
|
898
|
-
--- RPM::CallbackData#total
|
899
|
-
|
900
|
-
== RPM::Problem
|
901
|
-
|
902
|
-
=== �����ѥ��饹
|
903
|
-
|
904
|
-
* Struct
|
905
|
-
|
906
|
-
=== ��å�
|
907
|
-
|
908
|
-
--- RPM::Problem#type
|
909
|
-
--- RPM::Problem#key
|
910
|
-
--- RPM::Problem#package
|
911
|
-
--- RPM::Problem#description
|
912
|
-
|
913
|
-
=end
|