Removed duplicated Requires, removed rpath references, correctly licensing
info, correct some directory permissions, and converted link_jars from
a macro to a shell function