1 .\" dpkg manual page - dpkg-name(1)
3 .\" Copyright © 1995-1996 Erick Branderhorst
4 .\" Copyright © 2007-2013, 2015 Guillem Jover <guillem@debian.org>
6 .\" This is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2 of the License, or
9 .\" (at your option) any later version.
11 .\" This is distributed in the hope that it will be useful,
12 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 .\" GNU General Public License for more details.
16 .\" You should have received a copy of the GNU General Public License
17 .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
19 .\"*******************************************************************
21 .\" This file was generated with po4a. Translate the source file.
23 .\"*******************************************************************
24 .TH dpkg\-name 1 %RELEASE_DATE% %VERSION% "suite dpkg"
27 dpkg\-name \- redonne aux paquets Debian leur nom complet
30 \fBdpkg\-name\fP [\fIoption\fP...] [\fB\-\-\fP] \fIfichier\fP...
34 Cette page de manuel documente le programme \fBdpkg\-name\fP qui fournit une
35 façon simple de redonner aux paquets \fBDebian\fP leur nom complet. Ce nom
36 consiste en une chaîne
37 «\ \fIpaquet\fP\fB_\fP\fIversion\fP\fB_\fP\fIarchitecture\fP\fB.\fP\fItype_de_paquet\fP\ » telle
38 qu'elle est indiquée dans le fichier «\ control\ » du paquet. La partie
39 \fIversion\fP du nom est composée d'informations sur la version originelle qui
40 peuvent ou non être suivies d'un trait d'union et d'informations sur la
41 révision. La partie \fItype_de_paquet\fP provient de ce champ s'il existe. La
42 valeur par défaut est \fBdeb\fP.
46 \fB\-a\fP, \fB\-\-no\-architecture\fP
47 Le nom du fichier n'aura pas l'information sur l'architecture.
49 \fB\-k\fP, \fB\-\-symlink\fP
50 Faire un lien symbolique plutôt qu'une création de fichier.
52 \fB\-o\fP, \fB\-\-overwrite\fP
53 Remplace des fichiers existants s'ils ont le même nom que le fichier de
56 \fB\-s\fP, \fB\-\-subdir\fP [\fIrep\fP]
57 Files will be moved into a subdirectory. If the directory given as argument
58 exists the files will be moved into that directory otherwise the name of the
59 target directory is extracted from the section field in the control part of
60 the package. The target directory will be
61 «unstable/binary\-\fIarchitecture\fP/\fIsection\fP». If the section is not found
62 in the control, then \fBno\-section\fP is assumed, and in this case, as well as
63 for sections \fBnon\-free\fP and \fBcontrib\fP the target directory is
64 «\fIsection\fP/binary\-\fIarchitecture\fP». The section field is not required so a
65 lot of packages will find their way to the \fBno\-section\fP area. Use this
66 option with care, it's messy.
68 \fB\-c\fP, \fB\-\-create\-dir\fP
69 On peut utiliser cette option avec l'option \fB\-s\fP. Quand un répertoire cible
70 n'est pas trouvé, il est créé automatiquement. \fBUtilisez cette option avec
73 \fB\-?\fP, \fB\-\-help\fP
74 Affiche un message d'aide puis quitte.
76 \fB\-v\fP, \fB\-\-version\fP
77 Affiche le numéro de version puis quitte.
80 Certains paquets ne respectent pas l'organisation
81 \fIpaquet\fP\fB_\fP\fIversion\fP\fB_\fP\fIarchitecture\fP\fB.deb\fP. Les paquets traités par
82 \fBdpkg\-name\fP la respectent. Cela n'a pas de conséquence sur la façon dont
83 \fBdselect\fP(1) ou \fBdpkg\fP(1) installent les paquets, mais il se peut que
84 d'autres systèmes d'installation aient besoin de cette organisation.
88 \fBdpkg\-name bar\-foo.deb\fP
89 The file \fBbar\-foo.deb\fP will be renamed to bar\-foo_1.0\-2_i386.deb or
90 something similar (depending on whatever information is in the control part
91 of \fBbar\-foo.deb\fP).
93 \fBfind /root/debian/ \-name '*.deb' | xargs \-n 1 dpkg\-name \-a\fP
94 All files with the extension \fBdeb\fP in the directory /root/debian and its
95 subdirectory's will be renamed by \fBdpkg\-name\fP if required into names with
96 no architecture information.
98 \fBfind \-name '*.deb' | xargs \-n 1 dpkg\-name \-a \-o \-s \-c\fP
99 \fBNe faites pas ça\ !\fP L'archive sera complètement gâchée par des paquets qui
100 ne possèdent pas d'informations sur la section. \fBNe faites pas ça\ !\fP
102 \fBdpkg\-deb \-\-build debian\-tmp && dpkg\-name \-o \-s .. debian\-tmp.deb\fP
103 On peut se servir de cette commande lors de la construction d'un nouveau
107 \fBdeb\fP(5), \fBdeb\-control\fP(5), \fBdpkg\fP(1), \fBdpkg\-deb\fP(1), \fBfind\fP(1),
110 Ariel VARDI <ariel.vardi@freesbee.fr>, 2002.
111 Philippe Batailler, 2006.
112 Nicolas François, 2006.
113 Veuillez signaler toute erreur à <debian\-l10n\-french@lists.debian.org>.