RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Converting *.spec to Makefiles

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 08 Sep 2008 - 00:04:00 CEST
Message-id: <A02579B5-50B3-468A-BBBA-D96682A6E81B@mac.com>

On Sep 7, 2008, at 6:01 PM, Anders F Björklund wrote:

> Jeff Johnson wrote:
>>
> becomes the trivial bee build file:
>
>  - properties:
>    - Name: "test"
>    - Version: "1.0"
>    - Release: "1"
>
>  - target: all
>    description: run all targets
>    depends: [prep, build, install, clean]
>
>  - target: prep
>    script: |-
>       echo prep
>
>  - target: build
>    script: |-
>       echo build
>
>  - target: install
>    script: |-
>
>       echo install
>
>  - target: clean
>    script: |-
>       /bin/rm -rf '/var/local/tmp/test-root'
>
> With #{Name} and friends being all set...
>

Oooh, nice & clean.

Could you add to rpmpopt.in on HEAD? I think its time to start
collecting examples of alternative build recipe representations,
the rubyforge YAML is very aesthetically pleasing.

73 de Jeff
Received on Mon Sep 8 00:06:15 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.