Developer's documentation for spkg is included in the source code package, but you can also download it separately.
Online developer's documentation is avalibale here.