initial commit

Based on trunk/sm.hg, cset f0bf192ecce9. Only the files required to
build the XenCert RPM package are imported.