Preheat the oven to 350°F and grease a 9-by-13-inch baking pan.
Whisk the flour, spices, baking powder, baking soda, and salt in a large bowl.
Whisk the eggs and sugar, then add the oil and pumpkin puree before stirring in the dry ingredients.
Spread the batter in the pan and bake for 25 to 30 minutes, then cool completely.
Beat the cream cheese and butter, gradually add the powdered sugar, and mix in the vanilla and cinnamon.
Spread frosting over the cooled cake, decorate with optional candy pumpkins, and chill briefly before slicing.