The Spanish AIP can be found on their badly designed official website, and
this link should take you to it.
I guess you have to register; should be free.
Last time I looked, one needed a flight plan only for flights in controlled airspace.
The transponder rules change every day