On May 23, 2009, at 2:45 PM, barcaroller wrote:
> I have a software package that I build with the standard GNU autotools
> (autoconf/automake/libtool). Is there an automated method of
> this process to RPM?
I'm not sure what you are seeking.
E.g. here's a bog-standard GNU autotools "build" snipped
directly from popt.spec:
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
Is automation really needed? If so, just write
a shell script to generate a spec file template.
> Briefly, I would like to create two RPMs:
> - one that compiles/builds and installs the package (i.e. a source
> - one that just installs the package (i.e. I would have pre-built the
> package myself).
Typically rpm transforms a SRPM -> a set of binary packages.
Are you asking for a binary package that also builds? Otherwise
you seem to be asking for 1 RPM, which will have both a *.src.rpm
as well as the a binary rpm with what needs to be installed,
i.e. the results of the build.
> The second option is particularly important to me since I have to
> this package on machines that do not have development tools (gcc,
Yes. That is the whole goal of "packaging", being able
to install binaries reliably without building or having
to maintain a build environment.
But if I've somehow missed what you are asking, then please
ask again in other words.
73 de Jeff
Received on Sat May 23 22:37:40 2009