Logged In: NO

To be more clearly:

Don't use:
INSTALLPATH = /usr/local

but something like:
datadir = /usr/share
bindir = /usr/bin

as i.e. RPM-macros are able to overwrite the variables with distro-specific values!

Executing a binary file located in "/usr/local/lib/*" isn't very smart, as it can not be found through the standard-paths defined in a common distro.