'Spelled' is the only correct word in American English. 'Spelt' is an alternative that is quite common in British English (there are other verbs which function the same way e.g. burned vs burnt). 'Spelled' is of course still correct in BrE.
Both are correct for the second one.