LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2006, 02:56 AM   #1
Basavaraj
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
How to make rpm?


Hi,

I have a source files or directories like "yast2-inetd-2.13.2", i want to know how to build that file to a rpm like(yast2-inetd-2.13.2.src.rpm).
Suggest me from scratch how to make a file to rpm

Thanks & Regards
Basavaraj
 
Old 05-22-2006, 03:10 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
do not know the eaxct answer to your question, but I can give you pointers:
rpmbuild
checkinstall
those will create rpms, not src.rpm, AFAIK

I think for further help you need to state what sort of rpms you want
and what for.
 
Old 05-23-2006, 02:04 AM   #3
Basavaraj
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Original Poster
Rep: Reputation: 0
How to make RPM?

Hi,

Thank u for the response.
I have written a huge script file, now i want to make that script to a rpm either (.src.rpm or .rpm)package(binary or source), so that i can install it on system.

Thanks & Regards
Basavaraj


Quote:
Originally Posted by Emmanuel_uk
do not know the eaxct answer to your question, but I can give you pointers:
rpmbuild
checkinstall
those will create rpms, not src.rpm, AFAIK

I think for further help you need to state what sort of rpms you want
and what for.
 
Old 05-23-2006, 10:46 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
If it is a bash script you do not need a rpm.
Do you mean the script calls rpms to be installed (the script uses urpmi, rpm, rpmbuild...)
More details are needed. Anywhow I have compiled only once a srce rpm,
so you need help from somebody else
 
Old 05-23-2006, 11:39 AM   #5
cicciux
LQ Newbie
 
Registered: Nov 2005
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
you have to get or write a spec file and then build the rpm, I do not remember the exact flag to build rpms, since I haven't used it in quite a long time. However a google search (or even a forum search) for spec files and build rpm will return quite enough hits to get you going. after that, it's just practice :-)
 
Old 05-23-2006, 11:44 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you need info on building rpms, take a look at rpm.org and the Fedora/Redhat rpm docs.
 
  


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
How do i make my own php rpm? Ratclaws Linux - Newbie 1 12-02-2005 08:07 PM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
how do i make an rpm? webazoid Linux - Software 5 08-07-2004 02:09 AM
How do you make a RPM? aaronruss Linux - Newbie 2 06-08-2004 10:57 PM
trying to make rpm 2.6.0 kernel illtbagu Linux - Software 0 12-27-2003 03:01 AM


All times are GMT -5. The time now is 09:51 AM.

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