2011/8/2 Alain Bolli <[email protected]>: > Hi Romain, Hi!
> Thank you for this. > I want to build packages for centos 5.6. > I searched for a howto and found this one, very interresting and complete. > It's not about compiling a specific software, but it's a course to learn > creating rpm packages. I will go through this course, then try to build from > full tarball. > The course : > http://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF > > I will also look at your links. Building a .deb package or a .rpm package is probably quite different.. I have personally no experience at all with .rpm packages so I will just comment on some general points.. Basically, the purpose of a binary package is to provide an archive that contains all the files required for a proper run of the program, declares which other packages are needed and sets up the system upon installation. In order to build them you need to: * Install the required build dependencies * configure and build the program with a single build script, which depends on the type of binary package you are dealing with * Document the package and its dependencies * Write the scripts that need to be executed upon installation. For instance, the debian package for liquidsoap creates a liquidsoap user/group at install, which is used to run in daemon mode and also registers the init script within the system-V boot system. Finally, you will also face the same choice as I described above: * Prepare one package for each binding provided by savonet * Prepare one single liquidsoap package, which only depends on the modules not provided by liquidsoap and builds using the -full tarbal. The advantage of the first approach is that is also makes all the modules provided by savonet available for distribution and they may be useful for other purposes. However, the second solution means less work for you :-) Good luck! Romain ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
