Galactic dust - Infrared spectrum and temperature distribution of the different components