chiark / gitweb /
dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / ja / dpkg-gencontrol.man
1 .\" dpkg manual page - dpkg-gencontrol(1)
2 .\"
3 .\" Copyright © 1995-1996 Ian Jackson <ijackson@chiark.greenend.org.uk>
4 .\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org>
5 .\" Copyright © 2006, 2012-2013, 2015 Guillem Jover <guillem@debian.org>
6 .\" Copyright © 2007-2008 Raphaël Hertzog <hertzog@debian.org>
7 .\"
8 .\" This is free software; you can redistribute it and/or modify
9 .\" it under the terms of the GNU General Public License as published by
10 .\" the Free Software Foundation; either version 2 of the License, or
11 .\" (at your option) any later version.
12 .\"
13 .\" This is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 .\" GNU General Public License for more details.
17 .\"
18 .\" You should have received a copy of the GNU General Public License
19 .\" along with this program.  If not, see <https://www.gnu.org/licenses/>.
20 .
21 .\"*******************************************************************
22 .\"
23 .\" This file was generated with po4a. Translate the source file.
24 .\"
25 .\"*******************************************************************
26 .TH dpkg\-gencontrol 1 %RELEASE_DATE% %VERSION% "dpkg suite"
27 .nh
28 .SH 名前
29 dpkg\-gencontrol \- Debian 制御ファイルの生成
30 .
31 .SH 書式
32 \fBdpkg\-gencontrol\fP [\fIoption\fP...]
33 .
34 .SH 説明
35 \fBdpkg\-gencontrol\fP は展開された Debian ソースツリーから情報を読み取り、バイナリパッケージの control ファイル
36 (デフォルトでは debian/tmp/DEBIAN/control) を生成する。生成の過程で、関連するフィールドの単純化も行う。
37 .sp
38 Thus \fBPre\-Depends\fP, \fBDepends\fP, \fBRecommends\fP and \fBSuggests\fP are
39 simplified in this order by removing dependencies which are known to be true
40 according to the stronger dependencies already parsed. It will also remove
41 any self\-dependency (in fact it will remove any dependency which evaluates
42 to true given the current version of the package as installed). Logically it
43 keeps the intersection of multiple dependencies on the same package. The
44 order of dependencies is preserved as best as possible: if any dependency
45 must be discarded due to another dependency appearing further in the field,
46 the superseding dependency will take the place of the discarded one.
47 .sp
48 The other relation fields (\fBEnhances\fP, \fBConflicts\fP, \fBBreaks\fP, \fBReplaces\fP
49 and \fBProvides\fP)  are also simplified individually by computing the union of
50 the various dependencies when a package is listed multiple times in the
51 field.
52 .sp
53 \fBdpkg\-gencontrol\fP は \fBdebian/files\fP へのバイナリパッケージのエントリ追加も行う。
54 .
55 .SH オプション
56 .TP 
57 \fB\-v\fP\fIversion\fP
58 生成されるバイナリパッケージのバージョン番号を設定する。
59 .TP 
60 \fB\-V\fP\fIname\fP\fB=\fP\fIvalue\fP
61 変数を設定する。出力時の置換に関する詳細は、\fBdeb\-substvars\fP(5) を参照のこと。
62 .TP 
63 \fB\-T\fP\fIsubstvars\-file\fP
64 Read substitution variables in \fIsubstvars\-file\fP; the default is
65 \fBdebian/substvars\fP.  This option can be used multiple times to read
66 substitution variables from multiple files (since dpkg 1.15.6).
67 .TP 
68 \fB\-D\fP\fIfield\fP\fB=\fP\fIvalue\fP
69 出力制御ファイルのフィールドを上書きもしくは追加する。
70 .TP 
71 \fB\-U\fP\fIfield\fP
72 出力制御ファイルのフィールドを削除する。
73 .TP 
74 \fB\-c\fP\fIcontrol\-file\fP
75 情報の読み取り元となる主なソース制御ファイルを指定する。デフォルトは \fBdebian/control\fP。
76 .TP 
77 \fB\-l\fP\fIchangelog\-file\fP
78 情報の読み取り元となる changelog ファイルを指定する。デフォルトは \fBdebian/changelog\fP。
79 .TP 
80 \fB\-f\fP\fIfiles\-list\-file\fP
81 \fBdebian/files\fP の代わりにこのファイルに記載されたファイルのリストを読み書きする。
82 .TP 
83 \fB\-F\fP\fIchangelog\-format\fP
84 changelog ファイルのフォーマットを指定する。指定可能なフォーマットについての情報は、\fBdpkg\-parsechangelog\fP(1)
85 を参照のこと。
86 .TP 
87 \fB\-p\fP\fIpackage\fP
88 バイナリパッケージ \fIpackage\fP
89 の情報を生成する。ソース制御ファイルに単一のバイナリパッケージだけが記載されていた場合、このオプションは省略してもよい。それ以外の場合は、どのバイナリパッケージの情報を生成するかを選択する上で、このオプションが不可欠である。
90 .TP 
91 \fB\-n\fP\fIfilename\fP
92 通常の package_version_arch.deb というファイル名ではなく、パッケージのファイル名を \fIfilename\fP とする。
93 .TP 
94 \fB\-is\fP, \fB\-ip\fP, \fB\-isp\fP
95 These options are ignored for compatibility with older versions of the dpkg
96 build scripts but are now deprecated. Previously they were used to tell
97 \fBdpkg\-gencontrol\fP to include the Section and Priority fields in the control
98 file. This is now the default behaviour. If you want to get the old
99 behaviour you can use the \fB\-U\fP option to delete the fields from the control
100 file.
101 .TP 
102 \fB\-P\fP\fIpackage\-build\-dir\fP
103 \fBdpkg\-source\fP に対して、パッケージを \fBdebian/tmp\fP ではなく \fIpackage\-build\-dir\fP
104 内でビルドするように設定する。この値は \fBInstalled\-Size\fP 変数や制御ファイルフィールドの値のデフォルト値を (\fBdu\fP を用いて)
105 算出する際に用いられる他、出力ファイルのデフォルトの場所としても用いられる。
106 .TP 
107 \fB\-O\fP[\fIfilename\fP]
108 Print the control file to standard output (or \fIfilename\fP if specified,
109 since dpkg 1.17.2), rather than to \fBdebian/tmp/DEBIAN/control\fP (or
110 \fIpackage\-build\-dir\fP\fB/DEBIAN/control\fP if \fB\-P\fP was used).
111 .TP 
112 \fB\-?\fP, \fB\-\-help\fP
113 利用方法を表示して終了する。
114 .TP 
115 \fB\-\-version\fP
116 バージョン情報を表示して終了する。
117 .
118 .SH ファイル
119 .TP 
120 \fBdebian/control\fP
121 主たるソース制御情報ファイルであり、生成可能なソースパッケージおよびバイナリパッケージに関するバージョン非依存の情報を提供する。
122 .TP 
123 \fBdebian/files\fP
124 アップロードの準備の一部をなす、生成されたファイルのリスト。\fBdpkg\-gencontrol\fP
125 は、制御ファイルを生成したバイナリパッケージのファイル名を追加する。
126 .SH 関連項目
127 .ad l
128 \fBdeb\-substvars\fP(5), \fBdeb\-src\-control\fP(5), \fBdeb\-changelog\fP(5),
129 \fBdeb\-control\fP(5).
130 .SH 翻訳者
131 高橋 基信 <monyo@monyo.com>.
132 喜瀬 浩 <kise@fuyuneko.jp>.
133 関戸 幸一 <sekido@mbox.kyoto-inet.or.jp>.
134 鍋谷 栄展 <nabe@debian.or.jp>.
135 倉澤 望 <nabetaro@debian.or.jp>.
136 石川 睦 <ishikawa@linux.or.jp>.
137 鵜飼 文敏 <ukai@debian.or.jp>.
138 中野 武雄 <nakano@apm.seikei.ac.jp>.
139 .SH 翻訳校正
140 Debian JP Documentation ML <debian-doc@debian.or.jp>.