Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Others => Miscellaneous => Topic started by: klakshman03 on October 06, 2007, 08:50:09 AM

Title: Source (tar) file to rpm
Post by: klakshman03 on October 06, 2007, 08:50:09 AM
  hi grp
  Can anybody tell me   how to convert a source file which is  in tar.gz format  to .rpm format


  Thanks
laxmaN
Title: Re: Source (tar) file to rpm
Post by: Ricky on October 07, 2007, 08:52:11 PM
Why you want to do that ?
Creating RPM packages requires little advance knowledge in linux
http://genetikayos.com/code/repos/rpm-tutorial/trunk/rpm-tutorial.html
Title: Re: Source (tar) file to rpm
Post by: dragoncity99 on December 15, 2007, 02:09:27 AM
1. Always use Maximum RPM tutorial as your refrence.

2. Use "rpmbuild" utility. Also if that source tarball comes with the RPM specfile "application-file.spec". Then, you are very luck. Else, you need to write one. :)

Take note that, normally if you use source RPM packages (i.e. app-1.2.3.src.i386.rpm)  from the distro itself. You are 100% lucky that it has already the spce files.