|
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
|
|
103.
|
|
|
This file gives the copyright information for both the upstream source and the packaging. Ubuntu and `Debian Policy (Section 12.5) <policy-copyright_>`_ require that each package installs a verbatim copy of its copyright and license information to ``/usr/share/doc/$(package_name)/copyright``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:127
|
|
104.
|
|
|
Generally, copyright information is found in the ``COPYING`` file in the program's source directory. This file should include such information as the names of the author and the packager, the URL from which the source came, a Copyright line with the year and copyright holder, and the text of the copyright itself. An example template would be::
|
|
|
|
Por lo general, la información sobre los derechos de autor se encuentra en el archivo ``COPYING`` dentro del directorio de código fuente del programa. Este archivo debe contener información tal los nombres de los autores, del creador del paquete, la URL de donde salió el código fuente y una línea de Copyright con el año, el titular de los derechos de autor y el propio texto del copyright. Una plantilla de ejemplo sería::
|
|
Translated and reviewed by
Dmitry Shachnev
|
|
|
|
Located in
../ubuntu-packaging-guide/debian-dir-overview.rst:132
|