Mine took 2 weeks from being built to getting to the uk port, then a few days to get to Stockport. Now sorting out the documents and PDI. It all depends on the shipping and logistics side. If you are the last car on the boat then it won't be in Spain for long. You might be first on the boat and have to wait in port for a week. Luck of the draw.
Same with delivery in the uk. There will be hundreds of cars arrive at the uk port in one go, and the delivery lorries only take 10 a time I would guess to all parts of the uk. If there is only 1 car destined for your dealer that day, it will stay there until a load can be made up.
When quoted delivery times I always expect the longest and anything quicker is a bonus.