Originally Posted by mathnitin
I am trying to build the rpm package for the first time and I am not completely clear with the spec file, the way it works and have couple of questions.
1. What do I need to put in the install section of the spec file?Can anyone explain me the use of it please.
There are quite a few things to come to grips with when starting out to build your own packages.
I think a good way to learn is to get hold of a source tarball for a small package, and also get the src.rpm package.
You can compare what files are generated by 'make' in the source build with the details in the spec file.
A bit of experimenting and you will learn a lot.