In order to change the lamp spectrum, first select the corresponding luminaire in the lamp tool. Then click on the "Change" button in the "Colourimetric data" control. Afterwards, a new spectrum can be selected from a list of predefined spectra.

Since the format for .IES and .LDT files does not contain any information for the spectrum, it makes sense to correct the spectrum manually, especially for these photometry files.