How to build an rpm which runs a automatic script from the tar which installs everything.
I have a tar file which contains a script. This script installs everything automatically when run. I have to build an rpm for this tar. so that when the rpm is installed it must invoke this script in the tar to automatically install everything.Can anyone help me with writing the SPEC file to do this.