Consider a perfectly competitive market with an upward sloping market supply curve. Explain the effects of a decrease in supply for the equilibrium price and quantity as well as the total amount of spending. How does the answer depend on the nature of demand?