make .spec use gitrev in the source file

add helper script for building source archive