Very different from for example the Dutch pattern in which summer holiday is only 6 weeks but many more in between (1 wk autumn, 2 wks christmas, 1 week 'spring' (end of February), 2wks may); a total of 12 weeks plus several additional days off. So, the total number of days/weeks off is slightly higher in Spain but the main difference is the way it is organized (although I probably should say that the Dutch are the exception with their 6-week summer break; I don't know of any other country other than the Dutch former colony I know live in that has such short summer breaks- which in terms of education is preferable over long summer breaks; edit: just found out that Denmark has 6-7 weeks of summer break and less days off throughout the year (although I would hope the students have some days off between end of February and summer... so hopefully Wikipedia is mistaken).
German summer holidays are six weeks too. (Plus about 2 weeks easter, autumn and christmas/winter holidays. But these vary a bit by state and year: https://www.schulferien.org/Schulferien_nach_Jahren/ )