Hi Clayton,

Thanks for taking the first steps toward creating an rpm !  As always
starting with something is the most difficult task, and providing remarks on
something someone else has done is pretty easiy ... So I'll volunteer for
the second task ;-)

A few initial remarks:

- To install NAnt, you should not use the "install" target of the makefile
as that will first rebuild NAnt. The "install" target of the makefile (and
NAnt) should only be used to install NAnt from source. Instead, a complete
set of pre-built binaries should come with the rpm, and these should be
installed, and a shell script should be created. At least that's my opinion
...

- I'm not sure if the rpm should contain both binaries and sources. Perhaps
we might wanna consider two separate rpm's : one with only bin (and perhaps
doc), and one with bin (only assemblies necessary to build NAnt), src,
examples, doc.

- It would be great if we could use NAnt to generate the rpm (except for
rpmbuild, which we could just run using <exec>), we should consider adding
support for tars and gzip soon anyway (if I recall correctly, #ziplib
supports both, no ?) ... But its not something we can do for the 0.85
release ...

- We should use filterchains to substitute hardcoded values in the spec file

- I don't think you should retrieve a version of NAnt from cvs to create the
rpm. You should use a pre-built version of NAnt that is available locally.

- Targets to create the rpm('s) should be added to the release.xml build
file.

Just my 2 cents ...


----- Original Message ----- 
From: "Clayton Harbour" <[EMAIL PROTECTED]>
To: "Ian MacLean" <[EMAIL PROTECTED]>; "Gert Driesen"
<[EMAIL PROTECTED]>
Cc: "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 5:04 PM
Subject: RE: [nant-dev] Re: install targets


Hi,

I took a stab at creating an RPM for the NAnt install.  This is my first
attempt and I am hoping to get some feedback from "those that know".

Just a couple of notes:
    1) there are some hard code paths in the NAnt.spec file
    2) $RPM_TEST and $RPM_BASE are set in the build.sh file; these point to
your working directory and RPM base directory.
    3) I did most of my work on cygwin/ windows
        - some issues with line ends in the script
        - install target does not seem to work (requires mkdir?)

There may be more issues, again this is a first attempt and I am mostly
looking for feedback.


Thanks,


Clayton


-----Original Message-----
From: Ian MacLean [mailto:[EMAIL PROTECTED]
Sent: Fri 8/20/2004 9:02 AM
To: Gert Driesen
Cc: Nant-Developers (E-Mail)
Subject: Re: [nant-dev] Re: install targets
Gert Driesen wrote:

>
> ----- Original Message ----- From: "Ian MacLean" <[EMAIL PROTECTED]>
> To: "Gert Driesen" <[EMAIL PROTECTED]>
> Cc: "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]>
> Sent: Friday, August 20, 2004 11:44 AM
> Subject: Re: [nant-dev] Re: install targets
>
>>
>> The current layout is already confusing. How many "I downloaded
>> version x of nant but the test failed when building" emails do we get
>> - to which we reply "you don't need to build - its already there". If
>> there is no makefile or NAnt.build in the binary distribution then
>> this won't happen.
>
>
> But we do include a shell script for installing NAnt (and creating a
> wrapper script on linux) in the binary distribution ?
>
yes I think so. I mean we could get away with using a small
install.build file. Yeah I know I know - I just said in a previous mail
that build/makefiles aren't necessarily the best choice for installers
but it would be easy to write and it would be X-platform.

>
> PS. Have you have looked into creating an RPM for NAnt ?
>
No - If I get a chance I'd like to - or if someone out there with rpm
building skills would like to volunteer - that would be great too.

Ian



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers






-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to