LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SPEC files (https://www.linuxquestions.org/questions/linux-software-2/spec-files-388772/)

russiantux 12-02-2005 06:47 PM

SPEC files
 
Hello
i downloaded program in source files like this
filename.tar.bz2

does it possible create
filename.RPM from filename.tar.bz2 ???

i find only that for these purposes use filename.SPEC
file. In some documentations on I-net told that usually
filename.tar.bz2 include SPEC file, but my downloaded program not have it :( so i don't know how write SPEC files

can somebody explain or give a link on tutorial

bigrigdriver 12-02-2005 10:10 PM

For everything you could possibly want to know about rpm, go to the RedHad website. Under the Documentation link, you will find a book: Maximum-rpm (about 700 pages). You can study it on-line, or download it to your computer. There is a section on writing spec files.

Better would be to try to find the same application in a .src.rpm, which is a source file (tar.gz) and a spec file.

In case you don't know how to install and compile a .src.rpm, the book named above also covers that subject.


All times are GMT -5. The time now is 02:47 PM.