Added autobuild script and enhanced spec file

Signed-off-by: Timothy Asir <tim.gluster@gmail.com>