Preheat oven to 350 °F (175 °C). Grease and flour (or line) a 9×13‑inch baking pan.
In a large bowl, whisk together all the dry ingredients (flour, baking powder, baking soda, cinnamon, nutmeg, ginger, cloves, salt).
In another bowl, beat granulated sugar, brown sugar, and vegetable oil until well combined.
Add the eggs one at a time, beating after each addition. Stir in vanilla extract and pumpkin purée until smooth.
Gradually add the dry ingredient mixture into the wet mixture, mixing just until combined. Avoid over‑mixing.
Pour batter into the prepared pan and spread evenly.
Bake for 35‑40 minutes, or until a toothpick inserted into the center comes out clean. Remove and allow to cool completely in the pan.
For the frosting: Beat the cream cheese and butter together until smooth and creamy. Gradually add powdered sugar and beat until light and fluffy. Stir in vanilla extract.
Spread the frosting evenly over the cooled pumpkin bars.
Cut into squares and serve.