how to build rpm from source file...?

General discussion about Linux, Linux distribution, using Linux etc.

how to build rpm from source file...?

Postby rahil320 » Thu Sep 11, 2003 9:39 pm

hi linizens,
i want to know that what is the method of building the rpm file from the source file if *.spec file is available.....?

LONG
LIVE
OPEN SOURCE....

ALLAH HAFIZ.
rahil320
Naik
 
Posts: 59
Joined: Wed Aug 13, 2003 11:14 pm
WLM: rahil320@hotmail.com
Location: shah faisal colony. karachi

Postby Faraz.Fazil » Thu Sep 11, 2003 10:59 pm

Check the RPM Guide which has indepth info on how to create rpms.

http://rpm.redhat.com/RPM-HOWTO/

and

http://rpm.redhat.com/RPM-HOWTO/build-it.html

As stated, the format when spec files are used is normally like:
==========================
rpm -ba foobar-1.0.spec

To create rpms using .tar.gz sources:
======================
rpm -ta filename-0.6.31.tar.gz

Check the links for more info.
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe

THANKS...........

Postby rahil320 » Mon Sep 15, 2003 2:18 pm

THANK YOU VERY MUCH BRO. :D :D :D :) :lol:
rahil320
Naik
 
Posts: 59
Joined: Wed Aug 13, 2003 11:14 pm
WLM: rahil320@hotmail.com
Location: shah faisal colony. karachi

Re: THANKS...........

Postby Faraz.Fazil » Mon Sep 15, 2003 7:09 pm

Np.Anytime

rahil320 wrote:THANK YOU VERY MUCH BRO. :D :D :D :) :lol:
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe

[OT]: Re: THANKS...........

Postby fawad » Mon Sep 15, 2003 9:29 pm

Wow, this thread is a breath of fresh air. I wish more threads were like this; You ask a question, get a good answer, you thank the person who answered your question and all's well. :)
Faraz.Fazil wrote:Np.Anytime

rahil320 wrote:THANK YOU VERY MUCH BRO. :D :D :D :) :lol:
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron