NEW YORK (TheStreet) -- Compuware (CPWR) was gaining 12.3% to $10.50 Tuesday after announcing that private equity firm Thoma Bravo will buy the software developer for $2.5 billion.

Shareholder will receive about $10.92 in cash and stock for each share of Compuware they own as the equity firm takes the company private. The two companies expect the deal to close sometime in early 2015.

"This is the right transaction for Compuware at the right time, and reflects a thorough Board review of strategic alternatives and the work of a committee established earlier this year to focus on value-generating steps," Compuware chairman Gurminder S. Bedi said in a press release. "This agreement provides shareholders with immediate and substantial cash value, a significant premium to our share price, and the ability to complete the Covisint spin-off to shareholders."

STOCKS TO BUY: TheStreet Quant Ratings has identified a handful of stocks that can potentially TRIPLE in the next 12 months. Learn more.

CPWR data by YCharts

Image placeholder title

EXCLUSIVE OFFER: See inside Jim Cramer's multi-million dollar charitable trust portfolio to see the stocks he and Stephanie Link think could be potentially HUGE winners. Click here to see the holdings for FREE.

Editor's Note: Any reference to TheStreet Ratings and its underlying recommendation does not reflect the opinion of TheStreet, Inc. or any of its contributors including Jim Cramer or Stephanie Link.