Building an RPM from a 3rd Party Binary Package

view story

http://stackoverflow.com – We are switching over to using puppet for configuration management of our Linux based systems. We have several 3rd party packages which contain custom binary installers (think JDK) and are using RPM to build them into local-only non-distributed packages. One troublesome package has an install process which requires the following: a) Untar binary package into install directory X. b) Run "installer" which prompts for license acceptance and then modifies/embeds the install directory path into many subsequent scripts in the install directory. I'm having problems defining a spec file to install (HowTos)