Differences between revisions 6 and 9 (spanning 3 versions)
Revision 6 as of 2008-02-02 00:25:56
Size: 1294
Editor: PeMac
Comment:
Revision 9 as of 2009-03-20 21:31:29
Size: 659
Editor: FranklinPiat
Comment: update Debian "official material" banner
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Debian source control file – .dsc'''. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below: #language en
= Debian source control files -- ".dsc" =
{{{#!wiki debian
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-debiansourcecontrolfiles|http://www.debian.org/doc/debian-policy/]] - Debian Policy : Control files and their fields
}}}
Line 3: Line 7:
• Source ~+Debian source '''.dsc''' file describes a ''[[SourcePackage|source package]]''+~. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package.
Line 5: Line 9:
• Version This source package control file is generated by dpkg-source when it builds the source archive.
Line 7: Line 11:
• Maintainer
Line 9: Line 12:
• Binary
Line 11: Line 13:
• Architecture

• Build-Depends et al. (source package interrelationships)

• Standards-Version

• Files

The source package control file is generated by dpkg-source when it builds the source archive.

Sources are normally not installed. You can only install them if you know the package name. When installing the sources of a debian package, a package ending on .dsc (description) is downloaded along with an original ["tar ball"] and a debian specific ["diff"] (compressed). The .dsc will contain the name of the package, both, in its filename as well as content (after the Source: keyword).

To unpack a source package it is typically invoked with

["dpkg-source"] -x .../path/to/filename.dsc

with the filename.tar.gzand filename.diff.gz(if applicable) in the same directory. It unpacks into package-version, and if applicable package-version.orig, in the current directory.

== External links ==
 * http://www.debian.org/doc/maint-guide/
 * http://www.sylence.net/stuff/Debian_Packaging_Manual.pdf
== See also ==
 * http://www.debian.org/doc/maint-guide/ - Maintainer guide.

Debian source control files -- ".dsc"

Debian source .dsc file describes a source package. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package.

This source package control file is generated by dpkg-source when it builds the source archive.

See also