Hi everyone
This is my first query to the forum.
How to build an RPM??
Priyadarshi Acharya _____________________________________________________________ Tired of limited space on Yahoo and Hotmail? Free 100 Meg email account available at http://www.dacafe.com
On Tue, 26 Jun 2001 acharya@dacafe.com wrote:
This is my first query to the forum.
Welcome.
How to build an RPM??
man rpm gives me the following:
rpm [--tarbuild] [tarredsource]+
so i figure that's what you'd probably have to do. This of course assumes that the spec file that you are using is inside the tarball.
There's loads of other options, but you should check the man page for all that.
Philip
man rpm
Krishnan
--- acharya@dacafe.com wrote:
Hi everyone
This is my first query to the forum.
How to build an RPM??
Priyadarshi Acharya
_____________________________________________________________
Tired of limited space on Yahoo and Hotmail? Free 100 Meg email account available at http://www.dacafe.com
Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Priyadarshi Acharya wrote:
This is my first query to the forum.
Welcome aboard :-)
How to build an RPM??
Everything you ever wanted to know about RPM is presented in a detailed book called "Maximum RPM". You can find this at http://www.rpmdp.org/rpmbook/
Anyway, answering your query in short, what you need is a file called as the spec-file, which specifies how an RPM package is to be built. Then you need the material to be put inside the package, and put that list in the spec-file. If it is source code, the spec-file should specify how it is to be compiled and how the binaries should be installed. Other wise it can simply contain how the files in the package are to be installed. If you are trying to create a package called foobar.rpm for example, assuming you have done everything else right, you use the following command:
rpm -bb --clean foobar.spec
The package should turn up in some directory under /usr/src/redhat/RPMS. But of course, you need to read Maximum RPM to get a good hang of the whole process!
HTH, SameerDS.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com