On Saturday 22 February 2003 18:31, J. Grant wrote: > Hi guys, > > Thanks for the sugestions. > > JOHAM,DAVID (HP-Boise,ex1) wrote: > > Try this: > > > > rpm2cpio <rpm file> > newfile.cpio > > cpio -ivd < newfile.cpio > > > > That should get you going... > > Cool, thanks that worked. compiled rpm does not seem to require a .spec > file, the src had it though, so i know the ./configure line now :) > > Rolf: I checked in mc, it shows the .spec file but i can not extract it > from there. Unless i've missed something?
If you can see it there why not copy it easily with mc (F5) to a dir there you want it to have. Otherwise if you want doing that more then once it is easier to(as user) : mkdir ~/rpm/ cd into rpm/ mkdir the following: BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/ tmp/ Package rpm-build and dependencies should be installed. Then do 'rpm -i somesrcrpm.src.rpm' as that user. In SOURCES/ are then the tar.bz2 and the patches. In SPECS/ the somesrcrpm.spec and so on. There you can edit the specfile and compile it at the end with rpm -ba somesrcrpm.spec ... ... and voila you have made the first step on building rpms ;) -- Regards Steffen ____________________ counter.li.org : #296567. machine: 181800 vdr-box : 87 ____________________ Please dont CC me, since if I have replied I'll watch the tread. Both mails will be filtered to the ML-folder. Thanks
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
