Peter A. Magowan, who led the drive to keep the Giants in San Francisco, died on Sunday after a long illness, the team announced. He was 76.