In one of the projects, I was tasked with the activity of packaging openoffice 3.3.0 with a custom watermarking patch for EL5 based platforms.
There was no sane build time dependency list documented. Hence, on a trial and error basis, I was able to compile a list which helped me build OOo.
The above steps were documented onĀ gistĀ - 1269805.