| 1 |
#set ($space = " ") |
| 2 |
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
| 3 |
Upstream-Name: ${project.Name} |
| 4 |
#if ($project.CiManagement && $project.CiManagement.Url) |
| 5 |
Upstream-Contact: ${project.CiManagement.Url} |
| 6 |
#end |
| 7 |
Source: ${project.Url} |
| 8 |
|
| 9 |
Files: * |
| 10 |
Copyright: ${copyrightYear}, ${copyrightOwner} |
| 11 |
License: #foreach($license in $licenses)${license}#if($velocityHasNext) or #end#end |
| 12 |
|
| 13 |
|
| 14 |
Files: debian/* |
| 15 |
Copyright: ${currentYear}, ${packager} <${packagerEmail}> |
| 16 |
License: ${packagerLicense} |
| 17 |
#set ($x = $licenses.add("${packagerLicense}")) |
| 18 |
|
| 19 |
#foreach ($license in $licenses) |
| 20 |
License: $license |
| 21 |
#set ($knownLicenses = ["Apache-2.0", "GFDL-1.2", "GPL-2", "LGPL-2.1", "Artistic", "GPL-3", "LGPL-2", "LGPL-3", "MPL-1.1", "MPL-2.0"]) |
| 22 |
#if ($knownLicenses.contains($license)) |
| 23 |
On Debian systems, the full text of the $license license |
| 24 |
can be found in the file '/usr/share/common-licenses/$license' |
| 25 |
#else |
| 26 |
TODO: include the full text of the license here |
| 27 |
#end |
| 28 |
|
| 29 |
#end |
| 30 |
|