CASTELLAR DE LA FRONTERA, Spain — La Almoraima, a farming estate at the edge of a nature reserve, is prized by environmentalists. Home to one of Europe’s largest cork forests, it is a rare place where deer and boar roam wild within sight of the Rock of Gibraltar.

The Spanish government, which owns the land, wants to sell it for as much as 300 million euros, or about $376 million, pitching it as a perfect spot for a luxury resort, including a five-star hotel, a small airport, two golf courses and a polo grounds.

The proposed sale is part of a rise in public land deals that politicians around the country are promoting in hopes of filling their treasuries and accelerating an economic recovery. But they are meeting strong opposition from environmentalists and others who say the deals evoke the kinds of excesses that got Spain’s economy into trouble in the first place. After its real estate bubble burst in 2008, the country was littered with unsold condominiums, empty arts centers and unused highways.

Now that the economy appears to be recovering, it is back to business as usual, the opponents say.

“The government hasn’t learned any lesson from the property bubble,” said Alejandro Sánchez Pérez, one of the founders of Equo, a Spanish environmentalist party. “Its goal is still to promote speculative property deals,” he said, “with a strong focus on tourism, even if that involves handing over patrimony like La Almoraima that should clearly belong to all Spaniards, as it has genuine ecological rather than financial value.”