add some testing rpmbuild build code
fix RPM build error for static/ver.txt
more rpm build work
fix path issue with rpm build
add automatic versioning of the RPM based on git checkout and hash