add some documentation about spm build