Preheat oven to 350°F. Prepare a 9 x 13-inch baking pan with nonstick cooking spray.
Place the margarine in a mixing bowl and cream with a fork until soft and smooth. Gradually add the brown sugar, continuing to cream. Add the eggs one at a time, creaming after each addition.
In a separate bowl, combine flour, baking soda, baking powder, salt and spices. Stir to mix. Alternately, add small amounts of the flour mixture and applesauce to margarine mixture, stirring until just mixed. Fold in the raisins and nuts.
Pour the batter into the prepared pan. Bake for 40 minutes, or until the cake is golden brown; use a toothpick to test. Cool completely, cut and serve.