[med-svn] r12860 - trunk/community/website/docs
Andreas Tille
tille at alioth.debian.org
Mon Jan 28 13:51:21 UTC 2013
Author: tille
Date: 2013-01-28 13:51:21 +0000 (Mon, 28 Jan 2013)
New Revision: 12860
Modified:
trunk/community/website/docs/policy.xml
Log:
Hint how to create a debian/copyright skeleton
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2013-01-28 08:52:53 UTC (rev 12859)
+++ trunk/community/website/docs/policy.xml 2013-01-28 13:51:21 UTC (rev 12860)
@@ -663,6 +663,17 @@
We use the <ulink url="http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/">machine-readable format</ulink> for the <filename>debian/copyright</filename> file. The <computeroutput>Source</computeroutput> field does not need to contain the full URL to the particular version that is being packaged, since this can be determined by the <command>uscan</command> program with the <filename>debian/watch</filename> file. Please list yourself in the <computeroutput>Files: debian/*</computeroutput> section if you think that your contributions are not trivial and therefore subjected to copyright. Please chose a license that is compatible with the program you package. You can also use <quote>same as if it were in the public domain</quote> or <quote>same as the packaged program itself</quote>.
</para>
<para>
+ To create some reasonable skeleton for a <filename>debian/copyright</filename> file you can try the following:
+ <blockquote>
+ <para><userinput>
+ <command>sudo apt-get install devscripts cdbs</command>
+ </userinput></para>
+ <para><userinput>
+ <command>licensecheck --copyright -r `find -type f` | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright</command>
+ </userinput></para>
+ </blockquote>
+ </para>
+ <para>
To verify the correct syntax of the <filename>debian/copyright</filename> file you can use:
<itemizedlist>
<listitem>
More information about the debian-med-commit
mailing list