The oil pan should just have the dry gasket - you may want to remove it to check the pickup screen or pull the oil pump, and sealant will. Valve cover should seal with its gasket/o-ring alone.
Sealing spray should be fine on the barrel and head gaskets.