blob: 4a6948f9f6485839cb59d64bee2c622e108cfa5e [file] [log] [blame]
.\" This is an -*- nroff -*- source file.
.\" dpkg-name and this manpage are Copyright © 1995,1996 by Erick Branderhorst.
.\"
.\" This is free software; see the GNU General Public Licence version 2
.\" or later for copying conditions. There is NO warranty.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH dpkg\-name 1 2011\-08\-14 "Projekt Debiana" "programy pomocnicze dpkg"
.SH NAZWA
dpkg\-name \- zmienia nazwy pakietów Debiana na pe³ne
.
.SH SK£ADNIA
\fBdpkg\-name\fP [\fIoption\fP...] [\fB\-\-\fP] \fIfile\fP...
.
.SH OPIS
.PP
This manual page documents the \fBdpkg\-name\fP program which provides an easy
way to rename \fBDebian\fP packages into their full package names. A full
package name consists of
\fIpackage\fP\fB_\fP\fIversion\fP\fB_\fP\fIarchitecture\fP\fB.\fP\fIpackage\-type\fP as specified
in the control file of the package. The \fIversion\fP part of the filename
consists of the upstream version information optionally followed by a hyphen
and the revision information. The \fIpackage\-type\fP part comes from that field
if present or fallbacks to \fBdeb\fP.
.
.SH OPCJE
.TP
\fB\-a\fP, \fB\-\-no\-architecture\fP
Wynikowy plik nie bêdzie mia³ informacji o architekturze.
.TP
\fB\-k\fP, \fB\-\-symlink\fP
Tworzy dowi±zanie symboliczne, zamiast przenosiæ plik.
.TP
\fB\-o\fP, \fB\-\-overwrite\fP
Istniej±ce pliki bêd± nadpisane, je¿eli ich nazwy s± takie same jak nazwy
plików wynikowych.
.TP
\fB\-s\fP, \fB\-\-subdir\fP [\fIkatalog\fP]
Files will be moved into a subdirectory. If the directory given as argument
exists the files will be moved into that directory otherwise the name of the
target directory is extracted from the section field in the control part of
the package. The target directory will be
`unstable/binary\-\fIarchitecture\fP/\fIsection\fP'. If the section is not found in
the control, then `no\-section' is assumed, and in this case, as well as for
sections `non\-free' and `contrib' the target directory is
`\fIsection\fP/binary\-\fIarchitecture\fP'. The section field isn't required so a
lot of packages will find their way to the `no\-section' area. Use this
option with care, it's messy.
.TP
\fB\-c\fP, \fB\-\-create\-dir\fP
Opcja ta mo¿e byæ u¿yta ³±cznie z opcj± \-s. Je¶li katalog docelowy nie
istnieje, to zostanie utworzony. \fBProszê ostro¿nie u¿ywaæ tej opcji.\fP
.TP
\fB\-h\fP, \fB\-\-help\fP
Wy¶wietla informacjê o u¿ytkowaniu i koñczy dzia³anie.
.TP
\fB\-v\fP, \fB\-\-version\fP
Wy¶wietla informacjê o wersji i pomy¶lnie koñczy dzia³anie.
.
.SH PRZYK£ADY
.TP
\fBdpkg\-name bar\-foo.deb\fP
Nazwa pliku "bar\-foo.deb" zostanie zmieniona na bar\-foo_1.0\-2_i386.deb lub
co¶ podobnego (w zale¿no¶ci od informacji zawartych w pliku kontrolnym
pakietu "bar\-foo.deb").
.TP
\fBfind /root/debian/ \-name \(aq*.deb\(aq | xargs \-n 1 dpkg\-name \-a\fP
dpkg\-name, je¶li jest to konieczne, zmieni nazwy wszystkich pliki z
rozszerzeniem "deb" z katalogu /root/debian i jego podkatalogów na nazwy
niezawieraj±ce informacji o architekturze.
.TP
\fBfind \-name \(aq*.deb\(aq | xargs \-n 1 dpkg\-name \-a \-o \-s \-c\fP
\fBNie rób tego\fP. Twoje archiwum zostanie kompletnie zepsute, poniewa¿ wiele
pakietów nie bêdzie mia³o informacji o sekcji. \fBNie rób tego\fP.
.TP
\fBdpkg \-\-build debian\-tmp && dpkg\-name \-o \-s .. debian\-tmp.deb\fP
Mo¿e zostaæ u¿yte do budowania nowych pakietów.
.
.SH B£ÊDY
Some packages don't follow the name structure
\fIpackage\fP\fB_\fP\fIversion\fP\fB_\fP\fIarchitecture\fP\fB.deb\fP. Packages renamed by
dpkg\-name will follow this structure. Generally this will have no impact on
how packages are installed by \fBdselect\fP(1)/\fBdpkg\fP(1), but other
installation tools might depend on this naming structure.
.
.SH "ZOBACZ TAK¯E"
\fBdeb\fP(5), \fBdeb\-control\fP(5), \fBdpkg\fP(1), \fBdpkg\-deb\fP(1), \fBfind\fP(1),
\fBxargs\fP(1).
.
.SH AUTOR
Copyright \(co 1995,1996 Erick Branderhorst
.sp
Niniejszy program jest oprogramowaniem wolnym, sprawd¼ Powszechn± Licencjê
Publiczn± GNU w wersji drugiej lub pó¼niejszej, by dowiedzieæ siê o
warunkach dystrybucji. Brak JAKIEJKOLWIEK gwarancji.
.SH "T£UMACZE"
Piotr Roszatycki <dexter@debian.org>, 1999
.br
Bartosz Feñski <fenio@debian.org>, 2004-2005
.br
Robert Luberda <robert@debian.org>, 2006-2008
.br
Wiktor Wandachowicz <siryes@gmail.com>, 2008