Obama has spent more than a year laying the foundation for the summit, coaxing leaders from the major developing countries and elsewhere to make unprecedented pledges to limit greenhouse-gas emissions, protect forests and undertake formidable new renewable energy projects.