Allow building of RPMs from git archive output

Added call to autogen.sh before %configure macro
Added BuildRequires for autogen.sh and building torque