Put ur gzipped or bzipped tar file in /usr/src/redhat/SOURCES directory. Create
a spec file and place it in /usr/src/redhat/SPECS directory. From there u
execute
rpmbuild -ba <spec file name>.spec
After completion, u can get ur rpms and srpms from /usr/src/redhat/RPMS and
/usr/src/redhat/SRPMS directories respectively. U can create ur own basic spec
file easily, after having a look at "maximum-rpm", a book for rpm packagers.
Include only the essential entries in the spec file. Its not needed that u shud
include all available options.
--------------------------------------------------------------------------------------------------------------------------
Where do I take this pain of mine,
I run but it stays right by my side,
And Even the Pain too "hates" me,
So tell me why u have chosen me.
--- Metallica.
Registered GNU/Linux User #346087
Free(dom) Software - For the people, by the people, to the people.
--------------------------------------------------------------------------------------------------------------------------
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.ae.iitm.ac.in/pipermail/ilugc/attachments/20040825/7b11ccca/attachment.htm