From: Ian Jackson Date: Tue, 10 Mar 2020 14:31:30 +0000 (+0000) Subject: build system: debian/copyright file X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9ab567c4ba2e3627372f9b39733297ac3df93fb4;p=chiark-tcl-applet.git build system: debian/copyright file Template, generation code, and output. Signed-off-by: Ian Jackson --- diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b46d636 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,44 @@ +Format: 1.0 + +Files: * +Copyright: 2016,2020 Ian Jackson +License: GPL-3+ + +License: GPL-3+ + Legal information + ================= + . + This package, chiark-tcl-applet, is + Copyright 2016-2020 Ian Jackson + . + chiark-tcl-applet is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public + License along with this package as the file GPL-3. + If not, see https://www.gnu.org/. + . + Individual files generally contain the following tag in the copyright + notice, instead of the full licence grant text: + SPDX-License-Identifier: GPL-3.0-or-later + As is conventional, this should be read as a licence grant. + . + The Debian packaging files in the debian/ subdirectory are under a + more permissive licence - the MIT licence, debian/MIT-LICENCE, as + indicated in those files by: + SPDX-License-Identifier: MIT + (This is useful only if (parts of) these files are copied elsewhere, + since as provided by the GPL3, when the package is distributed as a + work as a whole, these files are covered by the GPL3.) + . + Contributions are accepted based on the git commit Signed-off-by + convention, by which the contributors' certify their contributions + according to the Developer Certificate of Origin version 1.1 - see + the file DEVELOPER-CERTIFICATE. diff --git a/debian/copyright.head b/debian/copyright.head new file mode 100644 index 0000000..c08782c --- /dev/null +++ b/debian/copyright.head @@ -0,0 +1,7 @@ +Format: 1.0 + +Files: * +Copyright: 2016,2020 Ian Jackson +License: GPL-3+ + +License: GPL-3+ diff --git a/debian/rules b/debian/rules index 7916f88..867ea35 100755 --- a/debian/rules +++ b/debian/rules @@ -8,3 +8,9 @@ export prefix=/usr %: dh $@ + +debian/copyright: debian/copyright.head README debian/rules + cat >$@.tmp debian/copyright.head + sed >>$@.tmp