A major Spanish airport is to shut for five weeks this spring while essential runway maintenance takes place.