I'm buying them as a gift for a man who...
I'm buying them as a gift for a man who wears a size 12M. XL? And they go over clip cycling shoes, right?
Definitely go with the XL. and yes they'll fit the shoe type that clip into the pedals.
hope that helps,
Robert, Gore Bike Wear