Title: Re: [Oscar-devel] Rudimentary OSCAR RPM package for DIPC
Hi Karmran:
 
I have just added some notes on RPM building in our Trac Wiki - hope that they are useful to you!

http://svn.oscar.openclustergroup.org/trac/oscar/wiki/CreateRPM
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Kamran Karimi
Sent: Mon 03/07/2006 15:46
To: [email protected]
Subject: Re: [Oscar-devel] Rudimentary OSCAR RPM package for DIPC

Hi Geoffroy,

> > your spec file is written to use the local system to create the package.
>You
>
> >should not do that, the following spec file is a good example of what you
> >are supposed to do: at the URL https://oscar.openclustergroup.org/websvn,
> >see the file OSCAR/pkgsrc/rapt/trunk/rapt.spec

I added the line BuildRoot: %{_tmppath} to the .spec file. Then I changed
the instal script so that the file will be created in $RPM_BUILD_ROOT/. Is
this a move in the right direction? If so, then should I make sure that the
needed directories (such as /etc, /bin/, etc.) are already created?

After adding this line the entries in my %files section that use absolute
paths (as in /usr/sbin/) break.  In the example .spec file you sent me I
noticed  {_bindir} and {_mandir} variables. Are there variables to point to
sbin and etc directories too?

> >- the following part of the spec file is kind of weird because you have
> >macros to untar the source file and so on:
> >%setup
> >rm -rf $RPM_BUILD_DIR/dipc-oscar-2.1
> >cd $RPM_BUILD_DIR
> >tar xfz $RPM_SOURCE_DIR/dipc-oscar-2.1.tgz

They are removed now.

> >- the config.xml file seems to be fine but i do not see the rest of the
> >OSCAR package. Is your OSCAR package done? or is it not ready yet? i
>first
> >thought it was the dipc-oscar-2.1.tgz file but it is definitively not an
> >OSCAR package.

There is no OSCAR package yet. I am trying to figure the RPM file first.

> >I hope my remarks will help you. :-)

It sure does. Thank you Geoffroy for your kind help!

-Kamran



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to