Chad’s President Idriss Deby has died of injuries suffered on the frontline, an army spokesman says.