11.. _specification :
22
33===============================
4- ABOUT File Specification v3.3.1
4+ ABOUT File Specification v3.3.2
55===============================
66
77Purpose
@@ -47,12 +47,12 @@ The meaning of this ABOUT file is:
4747- The file "httpd-2.4.3.tar.gz" is stored in the same directory and side-by-side with
4848 the ABOUT file "httpd-2.4.3.tar.gz.ABOUT" that documents it.
4949- The name of this component is "Apache HTTP Server" with version "2.4.3".
50- - The home URL for this component is http://httpd.apache.org
50+ - The homepage URL for this component is http://httpd.apache.org
5151- The file "httpd-2.4.3.tar.gz" was originally downloaded from http://archive.apache.org/dist/httpd/httpd-2.4.3.tar.gz
52+ - This component is licensed under "apache-2.0"
53+ - The licenses section contains the information of this "apache-2.0" license.
5254- In the same directory, "apache-2.0.LICENSE" and "httpd.NOTICE" are files
5355 that contain respectively the license text and the notice text for this component.
54- - This component is licensed under "apache-2.0"
55- - The license for this component is defined in the SPDX License List at https://spdx.org/licenses/Apache-2.0.html
5656
5757Specification
5858=============
@@ -68,7 +68,7 @@ An ABOUT file name can use a limited set of characters and is suffixed with a
6868
6969A file name can contain any characters and digits with the following exception and condition:
7070
71- - the following symbols are not supported : ``", #, &, ', *, \, :, ;, <, >, =, ?, /, ^, `, | ``
71+ - the following symbols are not accepted : ``", #, &, ', *, \, :, ;, <, >, =, ?, /, ^, `, | ``
7272- The case of a file name is not significant. On case-sensitive file systems
7373 (such as on Linux), a tool must report an error if two ABOUT files stored in the same
7474 directory have the same lowercase file name. This is to ensure that ABOUT files can be
@@ -163,17 +163,27 @@ Field referencing a file
163163
164164The actual value of some fields may be contained in another file. This is useful
165165for long texts or to reference a common text in multiple ABOUT files such as a
166- common license text. In this case the field name is suffixed with "_file" and the
167- field value must be a path pointing to the file that contains the actual value of the
168- field. This path must be a POSIX path relative to the path of the ABOUT file. The file
169- content must be UTF-8-encoded text.
166+ common license text. In this case the field name is suffixed with "_file" and
167+ the field value must be a path pointing to the file that contains the actual
168+ value of the field. If the field is referencing a license file, a "file" field
169+ within the "licenses" group can be used. This path must be a POSIX path relative
170+ to the path of the ABOUT file. The file content must be UTF-8-encoded text.
171+
172+ For example, this example shows the license file for the component is named
173+ "linux.COPYING" and the notice file is "NOTICE":
174+
175+ .. code-block :: none
176+
177+ license_file: linux.COPYING
178+ notice_file: NOTICE
170179
171- For example, the full license text for a component is often stored in a separate file named COPYING :
180+ Alternatvely, it can also write as the follow :
172181
173182 .. code-block :: none
174183
175184 licenses:
176185 - file: linux.COPYING
186+ notice_file: NOTICE
177187
178188 In this example, the README file is stored in a doc directory, one directory
179189above the ABOUT file directory, using a relative POSIX path:
@@ -318,6 +328,7 @@ Optional Licensing fields
318328 (No special characters are allowed).
319329- spdx_license_key: The ScanCode LicenseDB spdx_license_key defined
320330 for the license at https://scancode-licensedb.aboutcode.org/index.html
331+ - spdx_license_expression: The license expression that use spdx_license_key
321332
322333Notes
323334^^^^^
0 commit comments