If your spouse meets Medicare eligibility requirement for earned wages in the Social Security system they will qualify on their own merit.
If they have been married to you for at least one year and you are 65 or older and qualify for Medicare so will your spouse if they are a citizen or legal resident.
If they have been married to you for at least one year and you are 65 or older and qualify for Medicare so will your spouse if they are a citizen or legal resident.