Mailinglist Archive: opensuse-amd64 (278 mails)

< Previous Next >
Re: [suse-amd64] Creating SuSE RPMS
  • From: Dabe Murphy <dabe@xxxxxxxx>
  • Date: Thu, 2 Sep 2004 18:18:00 +0000 (UTC)
  • Message-id: <413763B9.4040505@xxxxxxxx>
Raimund Eimann wrote:

can anyone give me a short intro on how to build a SuSE RPM for a package that I have only as tarball or point me to some docs about this? As far as I understand I need to write a SPEC file for this, but I couldn't find anything about typical SuSE SPEC file settings...

If it's not terribly fancy (ie, it doesn't have a ton of dependencies and pre-/post-install scripts) "krpmbuilder" is your friend. (It's in YaST.)

Else, Google for the RPM Howto, or the (online) book "Maximum RPM" by Edward C. Bailey:

RPM Howto: http://www.rpm.org/RPM-HOWTO/
Maximum RPM: http://www.rpm.org/max-rpm/

RPMs are finicky beasts, and if you're creating a SPEC file by hand, there are a few "gotchas" that you have to watch out for.

Dabe

--
Dabrien "Dabe" Murphy
Sr. Systems Administrator
Parabon Computation, Inc.
www.parabon.com

< Previous Next >
Follow Ups
References