RPM Community Forums

Mailing List Message of <rpm-users>

Re: autoconf -> rpm

From: barcaroller <barcaroller@sympatico.ca>
Date: Sun 24 May 2009 - 03:39:37 CEST
Message-ID: <gva8hr$p9n$1@ger.gmane.org>

"Jeff Johnson" <n3npq@mac.com> wrote in message
news:2DBEFF3F-6F6A-4E7B-BA17-948F5FE0D6DA@mac.com...
>
>
> But if I've somehow missed what you are asking, then please
> ask again in other words.
>

Thank you for your detailed reply.  I will try to re-word my initial
question.

As you know, the GNU autotools do (at least) three things:

 - they check for dependencies and other stuff (configure)
 - they build the binaries (and sometimes other stuff) from the source code
(make)
 - they install the binaries (and man pages, config files, and other stuff)
in the proper directories (make install)

I would like to install these binaries (and other stuff) on another machine
(identical architecture but no development tools) using rpm.  So, I would
like to write a spec file which checks for the dependencies (as configure
does) and then installs the binaries and other stuff (exactly as 'make
install' does).  Instead of me writing this spec file manually, I was
wondering whether this can be automated somehow.  This is the second rpm I
was talking about.  The first rpm (source rpm) is not that important at the
moment.

Sorry but as you can probably tell, I'm new to writing rpm spec files.  I
have used rpm in the past but I've never had to write a spec file for an
existing software package that already uses GNU autotools.
Received on Sun May 24 03:40:45 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.