The spinning of the Earth is probably a very minor component in
the generation of the winds, although the spinning does distribute
the primary power source for the winds, which is the Sun. The Sun's
light heats up areas of the Earth, causing updrafts, and since it
can't all go up, there are downdrafts to compensate. The changing
heat caused by sunlight causes turbulent air flow.