I just found
this page, which is interesting. It is the Canadian government's travel report for Spain.
Your passport needs to be good for three months after your departure date. Both my wife's and my passports expire within two months of our trip. Oh well, we are going to have to renew them soon anyway.