My wife is denied state pension but was a 'stay at home' mother, is that fair?

With the frequent moves during my service career, including two tours (six years) in Germany, this made employment for my wife a difficulty.