Julian Assange will be extradited to the United States to face spying charges over the publication of classified documents more than a decade ago, but his lawyers said he will appeal.