Synthesis of the spore photoproduct