Preheat the oven to 350 degrees F.
Coat two 8-inch round cake pans with the baking spray with flour.
In a medium bowl, add the flour, the baking powder, the cinnamon, the nutmeg, the cardamom, the allspice, and 1/4 teaspoon of the salt and whisk to combine.
In the bowl of a stand mixer fitted with the paddle attachment, add the granulated sugar and 1/2 cup of the butter and mix on medium-high speed until it is light and fluffy, about 3-4 minutes.
Reduce the mixer to low speed. Add the eggs, 1 at a time, to the butter mixture and beat until it is just combined. Scrape down the sides of the bowl after each addition, as needed.
In a second medium bowl, add the tomato soup and the baking soda and mix to combine. Note: The mixture will fizz.
With the mixer on low speed, gradually add 1 teaspoon of the vanilla extract and the soup mixture to the butter mixture and beat until it is combined, about 1 minute.
With the mixer on low speed, gradually add the flour mixture to the soup mixture until it is just combined. Stop the mixer, as needed, to scrape down the sides of the bowl.
Fold the raisins into the cake batter.
Evenly pour the cake batter into the prepared cake pans.
Bake the cakes until a toothpick inserted into the center comes out clean, about 25-30 minutes.
Transfer the cake pans to a wire rack and let them cool, about 15 minutes.
Invert the cakes onto the wire rack and let them cool completely, about 45 minutes.
Clean the stand mixer's bowl.
Add the cream cheese and the remaining butter to the clean bowl and beat on medium-high speed until it is pale and fluffy, about 30 seconds-1 minute.
Reduce the mixer's speed to low, then gradually add the confectioners' sugar to the cream cheese mixture.
Add the remaining vanilla and the remaining salt to the frosting mixture and beat on low speed until it is just incorporated, about 30 seconds.
Place 1 of the cooled cakes on a serving plate, then evenly spread 1 cup of the frosting over the top.
Top the frosted cake with the remaining cooled cake and evenly spread the remaining frosting over the top and down the sides.
Place the cake in the refrigerator and chill, uncovered, about 30 minutes.
Slice and serve.