Construction of integrable spin systems with long-range interactions