Is it spelled cemetary or cemetery?

It's spelled cemetery.

c - e - m - e - t - e - r - y

not cemetary,

and not cematery.