LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Building RPM files from TAR files (https://www.linuxquestions.org/questions/linux-software-2/building-rpm-files-from-tar-files-19832/)

parle 04-30-2002 05:56 AM

Building RPM files from TAR files
 
My system doesn't seem to want to run newer Linux versions than RedHat 7.0, or Mandrake 7.2 (based on 2.2 kernel), due to a strange SCSI setup.

For the most part, this doesn't leave me really crippled, since I can get source RPMs and they compile fairly easily, and the same goes with source tarballs. For ease in archiving, I'd like to be able to build binary and source RPMs out of the tarballs. My experience has been more misses than hits in using the command: rpm -ta to build the binary RPMs. Typically, RPM reports back that the following fields are missing from the main package and refuses to proceed:

Name, Version, Release, Summary, Group, and License.

How are these fields added, and what syntax on RPM should I use?

taz.devil 04-30-2002 01:41 PM

Look into using the alien program to just convert the tarball to an rpm.

pbharris 05-01-2002 12:07 PM

makes rpms, debs or slack tarballs out of source: look over there ->
http://asic-linux.com.mx/~izto/checkinstall/

parle 05-05-2002 11:02 PM

Solution tried and works well.
 
The solution of using CheckInstall was what I was looking for. Tested it, and it works great. Many Thanks!

I tried Alien, and it works, but is a bit slow. Might be better on binaries, tho.

Many thanks!


All times are GMT -5. The time now is 11:19 AM.