Pyongyang has made putting a spy satellite into orbit a priority of its military modernisation programme.