]> git.tuebingen.mpg.de Git - tfortune.git/commitdiff
debian: Use machine-readable debian/copyright file.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 21 Apr 2024 20:53:36 +0000 (22:53 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 28 Apr 2024 14:08:24 +0000 (16:08 +0200)
Machine-readable copyright files are generally recommended to deal
with the diversity of free software licenses. See

https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

for details. Since the package contains epigrams in the public domain
as well as source code which is licensed under the GPL-3, we need
two Files stanzas and two stand-alone License stanzas, plus the
required header stanza.

By convention, the last matching Files: pattern applies, so the pattern
for the epigrams needs to listed *after* the asterisk pattern that
matches everything.

Suggested-by: lintian(1)
Reviewed-by: Andreas Metzler <ametzler@bebt.de>
debian/copyright

index ed6d353dae2116ce93aff0b81607c586bc50a930..a009d1b68fc42f9f44827386112f8bb0471f0b4e 100644 (file)
@@ -1,10 +1,21 @@
-Copyright 2018-2019 Andre Noll <maan@tuebingen.mpg.de>
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://people.tuebingen.mpg.de/maan/tfortune/
 
-The code of this package is free software; you can redistribute it
-and/or modify it under the terms of the GNU General Public License,
-version 3. On Debian GNU systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL-3'.
+Files: *
+License: GPL-3
+Copyright: 2018-2019 Andre Noll <maan@tuebingen.mpg.de>
 
-All epigrams provided by the tfortunes package are believed to be in
-the public domain. Please notify the author if there is an epigram
-which is not.
+Files: epigrams/*
+Copyright: none
+License: public-domain
+
+License: GPL-3
+  The code of this package is free software; you can redistribute it
+  and/or modify it under the terms of the GNU General Public License,
+  version 3. On Debian GNU systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+License: public-domain
+  All epigrams provided by the tfortunes package are believed to be
+  in the public domain. Please notify the author if there is an epigram
+  which is not.