On Friday 18 August 2006 14:54, jdd wrote:
is what stops me :-(. I have no previous idea of the rpm creation process it's probably a step by step tutorial for the creation of spec file that I miss :-()
you are over-scared a .spec fle is all you need, it is basically a recipe it has some metadata about the package,all the source tarballs, all the patches (optional), what packages are requred to build it (mandatory, as thell the build enviroment what to install appart of the base system)) and what packages are required to run it (most of this can be exacted automatically) The only difference with building it in the specfile, is that you configure it to be in /usr (--prefix=/usr) but at install time you install to a jail directory %{_buildroot} to no screw up the system where you create the rpm There are some macros to learn like buildroot, libdir lib which automatically get assigned lib or lib64 depending on the case, there are ruby and perl macros, etc. Then you have sections for unpacking (%setup), configure (%configure), compiling, and installing at the end you have the list of files the package installed. and the changelog Upload the specfile and the listed source tarballs, and done, you will get an rpm package when it notifies you uploaded something. The best way to learn is to steal some .spec file from a simple configure; make ; make install package, and learn from there. You can find those in the same build service. Duncan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org