UnitedLinux language-specific package description

Requirements

  1. Package
    The package identifier (nameversionrevisionarchitecture)
  2. Summary
    The package summary (aka 'Label'), a one-line description of the package
  3. Description
    The package description, a (possible) multi-line description of the package
  4. Installation notify
    An informal message to be shown to the user if the package is selected.
    (i.e. a 'test version, don't use' warning or a commercial license.
  5. Deletion notify
    An informal message to be shown to the user if the package is de-selected.
    (i.e. a 'your system will be unusable without this package' warning.
  6. License to confirm
    License the user has to read and confirm if the package should be installed.

Implementation

In order to re-use existing code and infrastructure, the syntactic representation of the language file is identical to the packages file

File encoding is UTF-8.
File is line based.
Lines starting with '#' are ignored.

Header keywords

The language file starts with a header defining the version.
KeywordValueComment
=Ver2.0The old (<lang>.pkd) format was 1.1, this one is 2.0

The old Encoding tag is not needed any more since all translation have to be UTF-8 encoded now.

Package entry keywords

KeywordValueComment
=Pkgname version release architectureThese four values identify a package unambiguously and are used as a key
=Sumsummaryone line summary (aka 'label')
+Des
-Des
descriptionmulti-line description
+Ins
-Ins
installation notifyUser notification when package is selected for installation
+Del
-Del
deletion notifyUser notification when package is selected for deletion
+Eul
-Eul
license to confirmLicense to be confirmed when the package gets installed
=Shrname version release architectureof another package.
All values not explicitly set in the current package entry are shared with the mentioned package.

Example

=Pkg: 3ddiag 0.494 16 i586
=Sum: Tool zur Überprüfung der 3D/OpenGL Konfiguration
+Des:
Mit dem Tool '3Ddiag' können Sie Ihre 3D/OpenGL Konfiguration überprüfen.
-Des: