On Saturday 16 December 2006 05:34, Geoffroy VALLEE wrote: > On Friday 15 December 2006 18:24, Erich Focht wrote: > > With build_oscar_rpms we have a method to build all rpms for a distro based > > upon the build.cfg file. If this could be done somehow for debian, too, we > > could really some day switch to build the repository directly, and not > > check in the binaries. Another step further is to build the repository > > directly from pkgsrc. > > I agree with you but for that we need to find a way to: > - share the changelog, > - find a common way to describe how to compile and install each components > (done most of the time through Makefiles); this can be used for both the > creation of RPMs and Debs. > I do not really know how to do that. :-) But if you can do that, i am pretty > sure it will be possible to generate RPM and Debs automatically. I guess we > will have to think about that if you want to provide OSCAR via binary > packages.
If you have rpm build tools on debian here is what we could try: - rpmbuild -bp *.src.rpm -> creates in .../BUILD/ the unpacked and patched source directory - filter out the %changelog section from the .spec file and copy it to the right place for debian - run the debian make scripts inside the unpacked source tree. This is a bit RPM centric, but could work. Regards, Erich ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
