The spec file distributed with LyX sources doesn't allow relocation,
but a few changes would allow it to.
My latest spec file (made for lyx-1.0.2) makes the package
relocatable. It does require rpm \ge 2.5 though, since to run configure
after installation requires the use of the variable
$RPM_INSTALL_PREFIX.
Mate
