Report: Hewlett-Packard to spin off PC business, buy software company