SPK - A Server Source Package. This is a source file or sorts that is a template that customers use to re-design , add to and compile ( into a CPK) so they can tailor it for their own environment.
CPK - Compiled Server Software Package. This is the compiled SPK. It contains the files and logic to use to implement the task.
Documentation: See this link