Skip to content
This repository was archived by the owner on Jan 15, 2018. It is now read-only.

SpecFile and DescFile

Izzy edited this page Jan 15, 2018 · 1 revision

SpecFile

SpecFiles are used as part of RPM (and, in our case, Debian) packages. relman only passes the information of which SpecFile template should be used to pkgmake, which then processes this template to create the SpecFiles used by the packaging system. Moreover, relman can append certain information (as the architecture and requirements) to the HTML version of the DescFile (see the article for DescFile in this wiki for more information).

DescFile

A DescFile, as the name suggests, is used to describe a software package. The developer will maintain the file in plain text format. If specified in the relman.conf file by the parameter *_descfile, relman will pass it to pkgmake with the proper parameter, so pkgmake can include it in the created SpecFile.

But there is more to be done with this DescFile: A HTML version can be created and transfered to the server hosting the downloads, so it can be used with HistViews download class - provided you enable it in your projects settings (using the *_descscp and/or *_descrsync options). Even package information (taken from the SpecFile template) can be appended here using the descaddpkginfo option in your relman.conf file.

Clone this wiki locally