[version_checker.sh] Add version checker functions from Unity-for-Arch and add spec file support