I would split the batch after the mash and add the pumpkin in a bag to the boil. My experience with pumpkin ales is that the pumpkin needs to be in the boil to extract the flavor. I'd also add the spices to the boil in the last 5 minutes of the boil - you need to extract the flavors without boiling them off.