A gunman opened fire in Krakow, Poland, killing five people and wounding more than a dozen.