A spherical Wiener-Plancherel formula