(Reuters) - A magnitude 5 earthquake shook central and eastern Spain on Monday, the U.S. Geological Survey said.