Differences between revisions 6 and 7
Revision 6 as of 2008-02-02 00:25:56
Size: 1294
Editor: PeMac
Comment:
Revision 7 as of 2008-02-03 21:16:54
Size: 801
Editor: FranklinPiat
Comment: Don't ducplicate Debian policy here(+move "Extracting source" to "SourcePackage"
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" =
||<tablestyle="width:100%;" style="width:32px;border-color:#ff9ec2" >inline:Portal/IDB/official-doc.png||<style="border-color:#ff9ec2;background-color:#ffe4f1" >[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 5:
• Source
Line 5: Line 6:
• Version ~+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 7: Line 8:
• Maintainer This source package control file is generated by dpkg-source when it builds the source archive.
Line 9: Line 10:
• Binary
Line 11: Line 11:
• Architecture
Line 13: Line 12:
• 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"

inline:Portal/IDB/official-doc.png

[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

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.

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

See also