RPM Community Forums

Mailing List Message of <rpm-users>

Re: Spec file help

From: devzero2000 <pinto.elia@gmail.com>
Date: Mon 29 Dec 2008 - 14:39:58 CET
Message-ID: <b086760e0812290539x1c924e1do1aaa38188a7abb2d@mail.gmail.com>
Posted on the rpm5.org wiki.

http://rpm5.info/index.php/Example_Spec_File_Template

Regards

On Mon, Dec 29, 2008 at 1:01 PM, Anders F Björklund <afb@rpm5.org> wrote:

> Eric MSP Veith wrote:
>
>  What about provided a nicely formatted example spec file or spec file
>> template that could be packed with RPM as additional documentation?
>>
>
> I made an example spec, with all the RPM5 features I could think of...
>
> - It has no BuildRoot or %clean section
> - It uses only the default set of macros
> - It has complete Source, for use with `rpmbuild -bf`
> - It has a %track section, for use with `rpmbuild -bt`
>
> The spec indentation is the same yaml-ready syntax as used by OpenPKG.
>
> --anders
>
>
Received on Mon Dec 29 14:39:59 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.