As i said, this is Debian specific stuff, I never tried to find a generic 
solution since such a solution does not exist (RPM and Deb are two completely 
different packaging systems). To answer more precisely your question, 
dpkg-buildpackage is the equivalent of rpmbuild. You cannot reuse directly 
Debian stuff, but you may choose to create the same set of packages and look 
at the patches i use which should not be Debian specific (patches are in 
the 'debian/patches/ directory).

On Sunday 16 September 2007, DongInn Kim wrote:
> Yeah, looks like we need to find a program to replace
> "dpkg-buildpackage" on the RPM based system.
> $cmd = "cd $packaging_dir/oscar; dpkg-buildpackage -rfakeroot";
>
> If there is no such a thing on the RPM based system, maybe, I'd better
> just keep looking for a way to build an rpm containing the OSCAR library.
>
> Regards,
>
> - DongInn
>
> Geoffroy VALLEE wrote:
> > Hi,
> >
> > As i said in my previous email, all the code is in
> > pkgsrc/tools/oscar-debian and all the scripts in that directory have a
> > summary at the beginning to explain what it does and how to use it.
> > If you want to create Debian packages for OSCAR (libs, binaries and so
> > on), you may have a look at the 'build_oscar_debs' script.
> >
> > Regards,
> >
> > On Saturday 15 September 2007, DongInn Kim wrote:
> >> Hi Geoffroy,
> >>
> >> Sure, can you please post what we should do with your codes?
> >>
> >> Thanks,
> >>
> >> - DongInn
> >>
> >> Geoffroy VALLEE wrote:
> >>> Hi,
> >>>
> >>> I agree with you and i started to work on that for Debian packages. I
> >>> can currently create the following packages: oscar, oscar-bin
> >>> (typically OSCAR scripts), liboscar (OSCAR libs), oscar-base-server,
> >>> oscar-base, and oscar-base-client.
> >>> The problem, at least for Debian, is that it is really better to
> >>> install OSCAR stuff directly into the system (i.e., not in /opt), so i
> >>> had to create patches. The current code also still suffer of important
> >>> limitations to create those packages. One example:
> >>> http://svn.oscar.openclustergroup.org/trac/oscar/ticket/416
> >>>
> >>> Anyway, if you want to work on this point, let me know, i can explain
> >>> what i did, give the list and details about packages i have for Debian.
> >>> I think we should have similar approaches for Debian and RPM based
> >>> systems.
> >>>
> >>> Also note that everything i did for Debian on that topic is in
> >>> pkgsrc/tools/oscar-debian
> >>>
> >>> On Saturday 15 September 2007 15:52, DongInn Kim wrote:
> >>>> Geoffroy. Yes, that is exactly what I am thinking. I have randomly
> >>>> thought about building an rpm for OSCAR perl module including whole
> >>>> bunch of oscar sub perl modules located at $OSCAR_HOME/lib/OSCAR.
> >>>> If we can build, install, and use this rpm in OSCAR, I think this
> >>>> would make it a little easier to handle the dependency issues and we
> >>>> can use the OSCAR perl modules in a system-wide environment.
> >>
> >> ------------------------------------------------------------------------
> >>- This SF.net email is sponsored by: Microsoft
> >> Defy all challenges. Microsoft(R) Visual Studio 2005.
> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> _______________________________________________
> >> Oscar-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel



-- 
Geoff

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to