/usr/share/doc/octave/octave.html/The-DESCRIPTION-File.html is in octave-doc 4.2.2-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>The DESCRIPTION File (GNU Octave)</title>
<meta name="description" content="The DESCRIPTION File (GNU Octave)">
<meta name="keywords" content="The DESCRIPTION File (GNU Octave)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Creating-Packages.html#Creating-Packages" rel="up" title="Creating Packages">
<link href="The-INDEX-File.html#The-INDEX-File" rel="next" title="The INDEX File">
<link href="Creating-Packages.html#Creating-Packages" rel="prev" title="Creating Packages">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
<link rel="stylesheet" type="text/css" href="octave.css">
</head>
<body lang="en">
<a name="The-DESCRIPTION-File"></a>
<div class="header">
<p>
Next: <a href="The-INDEX-File.html#The-INDEX-File" accesskey="n" rel="next">The INDEX File</a>, Up: <a href="Creating-Packages.html#Creating-Packages" accesskey="u" rel="up">Creating Packages</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="The-DESCRIPTION-File-1"></a>
<h4 class="subsection">37.4.1 The DESCRIPTION File</h4>
<p>The <samp>DESCRIPTION</samp> file contains various information about the
package, such as its name, author, and version. This file has a very
simple format
</p>
<ul>
<li> Lines starting with ‘<samp>#</samp>’ are comments.
</li><li> Lines starting with a blank character are continuations from the
previous line.
</li><li> Everything else is of the form <code>NameOfOption: ValueOfOption</code>.
</li></ul>
<p>The following is a simple example of a <samp>DESCRIPTION</samp> file
</p>
<div class="example">
<pre class="example">Name: The name of my package
Version: 1.0.0
Date: 2007-18-04
Author: The name (and possibly email) of the package author.
Maintainer: The name (and possibly email) of the current
package maintainer.
Title: The title of the package
Description: A short description of the package. If this
description gets too long for one line it can continue
on the next by adding a space to the beginning of the
following lines.
License: GPLv3+
</pre></div>
<p>The package manager currently recognizes the following keywords
</p>
<dl compact="compact">
<dt><code>Name</code></dt>
<dd><p>Name of the package.
</p>
</dd>
<dt><code>Version</code></dt>
<dd><p>Version of the package. A package version must be 3 numbers separated
by dots.
</p>
</dd>
<dt><code>Date</code></dt>
<dd><p>Date of last update.
</p>
</dd>
<dt><code>Author</code></dt>
<dd><p>Original author of the package.
</p>
</dd>
<dt><code>Maintainer</code></dt>
<dd><p>Maintainer of the package.
</p>
</dd>
<dt><code>Title</code></dt>
<dd><p>A one line description of the package.
</p>
</dd>
<dt><code>Description</code></dt>
<dd><p>A one paragraph description of the package.
</p>
</dd>
<dt><code>Categories</code></dt>
<dd><p>Optional keyword describing the package (if no <samp>INDEX</samp> file is
given this is mandatory).
</p>
</dd>
<dt><code>Problems</code></dt>
<dd><p>Optional list of known problems.
</p>
</dd>
<dt><code>Url</code></dt>
<dd><p>Optional list of homepages related to the package.
</p>
</dd>
<dt><code>Depends</code></dt>
<dd><p>A list of other Octave packages that this package depends on. This can
include dependencies on particular versions, with a format
</p>
<div class="example">
<pre class="example">Depends: package (>= 1.0.0)
</pre></div>
<p>Possible operators are <code><</code>, <code><=</code>, <code>==</code>, <code>>=</code> or
<code>></code>. If the part of the dependency in <code>()</code> is missing, any
version of the package is acceptable. Multiple dependencies can be
defined either as a comma separated list or on separate <code>Depends</code>
lines.
</p>
</dd>
<dt><code>License</code></dt>
<dd><p>An optional short description of the used license (e.g., GPL version 3
or newer). This is optional since the file <samp>COPYING</samp> is mandatory.
</p>
</dd>
<dt><code>SystemRequirements</code></dt>
<dd><p>These are the external install dependencies of the package and are not
checked by the package manager. This is here as a hint to the
distribution packager. They follow the same conventions as the
<code>Depends</code> keyword.
</p>
</dd>
<dt><code>BuildRequires</code></dt>
<dd><p>These are the external build dependencies of the package and are not checked by
the package manager. This is here as a hint to the distribution packager.
They follow the same conventions as the <code>Depends</code> keyword. Note that in
general, packaging systems such as <code>rpm</code> or <code>deb</code> autoprobe the
install dependencies from the build dependencies, and therefore a
<code>BuildRequires</code> dependency usually removes the need for a
<code>SystemRequirements</code> dependency.
</p>
</dd>
</dl>
<p>The developer is free to add additional arguments to the
<samp>DESCRIPTION</samp> file for their own purposes. One further detail to
aid the packager is that the <code>SystemRequirements</code> and
<code>BuildRequires</code> keywords can have a distribution dependent section,
and the automatic build process will use these. An example of the
format of this is
</p>
<div class="example">
<pre class="example">BuildRequires: libtermcap-devel [Mandriva] libtermcap2-devel
</pre></div>
<p>where the first package name will be used as a default and if the
RPMs are built on a Mandriva distribution, then the second package
name will be used instead.
</p>
<hr>
<div class="header">
<p>
Next: <a href="The-INDEX-File.html#The-INDEX-File" accesskey="n" rel="next">The INDEX File</a>, Up: <a href="Creating-Packages.html#Creating-Packages" accesskey="u" rel="up">Creating Packages</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|