rpmbuild for JBoss EAP 5

Latest response

Has anyone used rpmbuild to create a JBoss EAP 5 rpm? I was able to hack a spec file from the web that successfully built the RPM, but I'm afraid it's incomplete. Are there any examples out there? Any good documentation specific to JBoss EAP 5? Is there a way to get a copy of what Red Hat would use for an rpmbuild of JBoss EAP?

Any help is appreciated.