Mailinglist Archive: opensuse (3653 mails)

< Previous Next >
Re: [SLE] Making RPMs for SuSE
  • From: Anand Buddhdev <arb@xxxxxxxxx>
  • Date: Thu, 27 Jun 2002 17:21:57 +0200
  • Message-id: <20020627152157.GA14612@xxxxxxxxx>
On Thu, Jun 27, 2002 at 05:43:29PM +0300, Andrei Verovski wrote:

> Hi,
>
> You can make RPMs with check install package included with SuSE. just run
> "configure --your-options", "make", "checkinstall make install".

Hey, thanks for that tip.

> > Right now, I'm making an RPM by taking a tarball and doing:
> > rpm -tb tarballname.tar.gz
>
> I have question - how you specify "configure --your-options" in this
> case?

You have to extract the spec file from the tarball:

tar zxf tarballname.tar.gz tarballname/application.spec

Then edit application.spec, and supply your config options. Then place
the SPEC file in /usr/src/packages/SPECS, and the file tarballname.tar.gz
in the /usr/src/packages/SOURCES directory.

And finally run rpm -bb /usr/src/packages/SPECS/application.spec

--
Anand Buddhdev
http://anand.org

< Previous Next >
References