The scheme and main characteristics of portable X-ray scanning spectrometer SPARK-1-2M are given. The possibilities of the spectrometer for qualitative and quantitative analysis of rocks, ores, products of their processing and ecological objects are considered.