Feature support spm
Merge pull request #1 from popomore/spm

support spm