Resources on Internet are all about how to build a rpm files from source code.
But I have already got compiled binary tarball of software. But I don't want to directly extract it to / , because it is difficult to maintain. How can I build a rpm package from binary tarball.
There is a series famous software which provided the binary package in a tarball which have a clearly tree structure which is same as the tree structure in root dir.
And so on.
A lot of software provider release universal tarball to make the software universal in different Linux distribution.
Is there a essential way?
$ rpmbuild -bb scilab.specin your rpmbuild environment linuxquestions.org/questions/linux-software-2/… ... to build an rpm pagkage. Link,pkgtool2-2.2.3-4.i386.rpm: drive.google.com/file/d/0B7S255p3kFXNQ0ZEbHB1V1BUa0E/… → Install pkgtool2 with `# yum install ./pkgtool2-2.2.3-4.i386.rpm