According to spanish law, you pay income taxes if you are a resident, that is, you live in Spain half of the year plus one day. If you don't you are not subject to this tax, except in some cases of embassy workers and similar.
Check the first pages of the french income tax law to find who is subject to that tax and who is not. there you will find if you have to pay in France or not. If you do, which I suspect, then you could claim any taxes paid in UK.
Guys be careful with the whole taxes issue this days, the crisis is making the madafakas do anything to get more money from us, and putting us fines is the best way, because "I didn't know..." is not an excuse for them.