On Fri, 2003-11-14 at 23:50, Akshay Lamba wrote:
> Hi Everyone,
>   Is it possible to reverse engineer an rpm? That is, is it possible 
> for me to see a SPEC file from which an rpm was created somehow?

If you have Midnight commander (mc) installed, you can navigate a RPM as
if it were a folder. Type mc on the command line, and navigate to the
folder where the RPM file is stored. When you click on the RPM file, it
will open up like a folder. You will find a folder named "INFO", enter
into it. There will be files named like "BUILDHOST", "GROUP" etc. These
correspond to the arious sections of the spec file. For example, to view
the "BUILDHOST" section, position your cursor over the file named
"BUILDHOST", and press "F3". That will show you the contents of the
file. Press "F10" to exit. 

HTH
-- 
   / \__
  (    @\___    Raj Shekhar      
  /         O   My home : http://geocities.com/lunatech3007/
 /   (_____/    My blog : http://lunatech.journalspace.com/
/_____/   U      



_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to