|
93.
|
|
|
Ubuntu and Debian have slightly different package versioning schemes to avoid conflicting packages with the same source version. If a Debian package has been changed in Ubuntu, it has ``ubuntuX`` (where ``X`` is the Ubuntu revision number) appended to the end of the Debian version. So if the Debian hello ``2.6-1`` package was changed by Ubuntu, the version string would be ``2.6-1ubuntu1``. If a package for the application does not exist in Debian, then the Debian revision is ``0`` (e.g. ``2.6-0ubuntu1``).
|
|
|
|
Ubuntu y Debian tienen esquemas de versión de paquetes ligeramente diferentes para evitar conflictos en los programas con la misma versión principal. Si una paquete de Debian sufre un cambio en Ubuntu, se le agrega el ``ubuntuX`` (donde ``X`` es el número de revisión en Ubuntu) al final de la versión de Debian. Si el paquete hello ``2.6-1`` de Debian es modificado en Ubuntu, la versión quedaría ``2.6-1ubuntu1``. Si el paquete no existiera en Debian, entonces la revisión ahí sería ``0`` (y quedaría ``2.6-0ubuntu1``).
|
|
Translated by
Dmitry Shachnev
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:56
|
|
94.
|
|
|
For further information, see the `changelog section (Section 4.4) <policy-changelog_>`_ of the Debian Policy Manual.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:64
|
|
95.
|
|
|
The control file
|
|
|
|
El archivo de control
|
|
Translated by
Hector A. Mantellini
|
|
Reviewed by
Paco Molinero
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:69
|
|
96.
|
|
|
The ``control`` file contains the information that the package manager (such as ``apt-get``, ``synaptic``, and ``adept``) uses, build-time dependencies, maintainer information, and much more.
|
|
|
|
El archivo ``control`` contiene la información que usan administradores de paquetes (como ``apt-get``, ``synaptic`` y ``adept``), dependencias de compilación, información del mantenedor y mucho más.
|
|
Translated and reviewed by
Dmitry Shachnev
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:71
|
|
97.
|
|
|
For the Ubuntu ``hello`` package, the ``control`` file looks something like this:
|
|
|
|
Para el paquete ``hello`` de Ubuntu, el archivo ``control`` tiene el siguiente aspecto:
|
|
Translated by
Dmitry Shachnev
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:75
|
|
98.
|
|
|
The first paragraph describes the source package including the list of packages required to build the package from source in the ``Build-Depends`` field. It also contains some meta-information such as the maintainer's name, the version of Debian Policy that the package complies with, the location of the packaging version control repository, and the upstream home page.
|
|
|
|
El primer párrafo describe el paquete fuente incluyendo la lista de paquetes requeridos para construirlo desde sus fuentes en el campo ``Build-Depends``. También contiene alguna meta-información como el nombre del mantenedor, la versión de la política de Debian que cumple el paquete, la ubicación del repositorio de control de versiones del paquete y la página principal para enviar el parche.
|
|
Translated by
Dmitry Shachnev
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:100
|
|
99.
|
|
|
Note that in Ubuntu, we set the ``Maintainer`` field to a general address because anyone can change any package (this differs from Debian where changing packages is usually restricted to an individual or a team). Packages in Ubuntu should generally have the ``Maintainer`` field set to ``Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>``. If the Maintainer field is modified, the old value should be saved in the ``XSBC-Original-Maintainer`` field. This can be done automatically with the ``update-maintainer`` script available in the ``ubuntu-dev-tools`` package. For further information, see the `Debian Maintainer Field spec <MaintField_>`_ on the Ubuntu wiki.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:107
|
|
100.
|
|
|
Each additional paragraph describes a binary package to be built.
|
|
|
|
Cada párrafo adicional describe un paquete binario a ser construido.
|
|
Translated by
José Ernesto Dávila Pantoja
|
|
Reviewed by
Paco Molinero
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:118
|
|
101.
|
|
|
For further information, see the `control file section (Chapter 5) <policy-control_>`_ of the Debian Policy Manual.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:120
|
|
102.
|
|
|
The copyright file
|
|
|
|
El archivo copyright
|
|
Translated by
Hector A. Mantellini
|
|
Reviewed by
Paco Molinero
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:125
|