barcaroller wrote:
> I have a software package that I build with the standard GNU autotools
> (autoconf/automake/libtool). Is there an automated method of converting
> this process to RPM?
checkinstall may help you with that.
> Briefly, I would like to create two RPMs:
>
> - one that compiles/builds and installs the package (i.e. a source RPM)
For this you will need to create some scripts for the RPM installation
process that will automate the build process, RPM creation and
installation. It should be a few lines of code at *but* you will have to
include in the dependencies all the stuff needed to build (and run) your
package (e.g. gcc, binutils, required devel packages).
> - one that just installs the package (i.e. I would have pre-built the
> package myself).
This is the standard! Most RPM files contains all the already built
binaries, man pages, other documentation, data files, etc and the
installation process is simply a copying the files to the right places.
checkinstall can help you build the RPMs.
> The second option is particularly important to me since I have to install
> this package on machines that do not have development tools (gcc, make,
> ...)
Regards.