RPM - How to package binary tarball
Hello,
I'm trying to package Apache Tomcat binary tarball into a RPM package on CentOS 5.5. The idea is to package the tarball, extract it into /usr/local/, create a tomcat user, change permission on the /usr/local/tomcat install dir, copy the init startup script to /etc/init.d/
Since it's a binary/pre-compiled package, I don't need to compile the source codes.
Does anyone know how I can build such binary package in RPM?
Thank you
|