‘It is time to put an end to so much suffering and to build a lasting peace,’ says Spanish foreign minister