generate spec into tarball