Files for building Apache Tomcat 7.0.x source and binary RPM files
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind ecivis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
build.sh
gpg-env.example
setenv.sh
tomcat.init.sh
tomcat.logrotate.sh
tomcat.spec
tomcat.sysconfig

README.md

tomcat-rpm

This project defines a build system for building Apache Tomcat 8.0.x source and binary RPM files. The included build.sh must be used to kick off the RPM building process. The SPEC file assumes various work is done by the script; e.g. the Tomcat packages being extracted and compiled in the corre locations.

Further, the SPEC file relies on _java_home and _jdk_require build variables to be set according to the Java packages installed on the build system (and, in turn, the target install system[s]). That is, if you are using the community build Java packages, these variables will be set to "/usr/java/latest" and "jdk", respectively. If you are using the RedHat packages, like the java-1.8.0-oracle and java-1.8.0-oracle-devel packages, then they would be set to "/usr/lib/jvm/java" and "java-sdk". The build.sh script does this for you.