Differences in Revisions: Header

Removed DokuWiki NOTRANS keyword. reformatted
~~NOTRANS~~
# Header
 
# Header
\\
| Note! |
|---|
\\ Please respect all existing [packaging rules](/devel/pakfire/guidelines)!</WRAP>
| Please respect all existing [packaging rules](/devel/pakfire/guidelines)! |
 
||
| --- |
 
**The first part of a NM file is called*header* and contains the basic information about the package. In some cases a package only requires the*header* and no additional information or commands.**
The first part of a NM file is called *header* and contains the basic information about the package. In some cases a package only requires the*header* and no additional information or commands.
 
```
 
name = beep
version = 1.3
release = 1
 
groups = Applications/System
url = http://www.johnath.com/beep/
license = GPLv2+
summary = Beep the PC speaker any number of ways.
 
description
Beep allows the user to control the PC speaker with precision,
allowing different sounds to indicate different events. While it
can be run quite happily on the commandline, it's intended place
of residence is within shell/perl scripts, notifying the user when
something interesting occurs. Of course, it has no notion of
what's interesting, but it's real good at that notifying part.
end
 
source_dl = http://www.johnath.com/beep/
sources = %{thisapp}.tar.gz
 
```
 
Below, you will find a list of variables and what their meanings are.
 
<WRAP center round info 80%***Note!***
| Note! |
|---|
\\ There will be a copyright header needed that is not explained in this howto. Copy it from any other file.</WRAP>
| There will be a copyright header needed that is not explained in this howto. Copy it from any other file. |
 
 
## name
 
The basename of the package. This should always be <package>.
 
 
## version
 
The version number of the package.
 
 
## release
 
The the distribution internal release number of the package.
 
 
## maintainer
 
The name and mail address of the package maintainer. His job is to track the package status, fix bugs do updates, etc. The maintainer is a person who works exclusively on this package and is to be contacted if there are changes or advices to do.
 
The format is: <First name> <Last name> <<Email address>> (e.g.*Michael Tremer <michael.tremer@ipfire.org>*).
The format is:
`<First name> <Last name> <<Email address>>`
For example: `Michael Tremer <michael.tremer@ipfire.org>`
 
The name must be the real name and the email address should be an ipfire.org address.
 
 
## group
 
The name of the group the package belongs to.
 
 
## url
 
The URL to the package's website.
 
 
## license
 
The license the package was released with.
 
 
## summary
 
One sentence that summarizes the purpose of the package.
 
 
## description
 
A long description of the package.
 
This should be about four lines and not more than 80 characters per line.
 
 
## source_dl
 
Here you can put in the download url to the package tarball. If it isn't possible for some reasons to download the source code from our webserver, the pakfire-builder will try to get it from this url.
 
 
## sources
 
The source code tarball of the package. If the source archive is a*tar.gz* you can omit this.
The source code tarball of the package. If the source archive is a `tar.gz` you can omit this.
 
`sources = %{thisapp}.tar.bz2`