LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-12-2007, 11:16 AM   #1
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Rep: Reputation: 33
Building RPM for openSuSE 10.2


I am interested in creating my own rpms to install in openSuSE 10.2. I have been reading about an rpmbuild package that is available. Is this installed by default, or a part of the openSuSE 10.2 installation DVD? If I have the source of the package for which I want to create an rpm, do I need to do anything to the source packages first, such as run the typical ./configure, make commands before creating the rpm? Thanks in advance.
 
Old 02-12-2007, 11:47 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
I think the only and most important thing is to write a correct spec file! I suggest the following reading, directly from the source itself http://www.rpm.org/RPM-HOWTO/build.html
 
Old 02-12-2007, 11:51 AM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 32
Here's a couple of good resources for building RPM's in Suse:

Suse RPM Package Conventions
Building RPM Packages

Both are PDF files.
 
Old 02-12-2007, 01:10 PM   #4
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 397

Original Poster
Rep: Reputation: 33
Thanks for the information. I just want to create rpms for my own use only, along the same lines as a similar tool called checkinstall does within Slackware, if you know what I am referring to. Basically, if I have the source to a package that I wish to create, I would use rpmbuild to create the necessary rpm to install from the package source.

On another note, are there such things as rpm build scripts that I can use to create an rpm based upon a source package? Most of my experience is with Slackware, and I am trying to correlate similarities between the two. Thanks.
 
Old 02-12-2007, 02:09 PM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 32
Quote:
Originally Posted by swampdog2002
Thanks for the information. I just want to create rpms for my own use only, along the same lines as a similar tool called checkinstall does within Slackware, if you know what I am referring to.
Checkinstall also works in Suse...no difference save that it produces an RPM file.

Quote:
Originally Posted by swampdog2002
On another note, are there such things as rpm build scripts that I can use to create an rpm based upon a source package?
As mentioned here and in the resources that were linked it is called a .spec file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with VMware server on OpenSUSE 10.2: building vmmon Intec Linux - Kernel 9 04-01-2007 09:41 AM
Xorg 7.1 rpm repository opensuse 10.2 seelenbild28 Linux - Software 1 12-10-2006 06:18 PM
Cups 1.2 RPM for Opensuse 10.1?! Guitarist88 Linux - Software 0 05-26-2006 11:08 PM
Help building an .rpm from a .src.rpm ssenuta Linux - Software 6 04-10-2006 11:36 PM
Building RPM via src.Rpm ivanatora Linux - Newbie 2 02-20-2006 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration