Compuware

(CPWR)

lost $336 million, or 90 cents a share, in its fiscal fourth quarter on a 21% sales decrease as it continued to grapple with anemic IT spending.

Excluding various items, the company earned $30.1 million, or 8 cents a share, compared with $59.1 million, or 16 cents a share, a year earlier. On that basis analysts had been forecasting earnings of 7 cents a share.

Software-license fees slid to $109.5 million from $138.2 million. Maintenance fees fell to $106.4 million from $110.9 million. Revenue from professional services slid to $191.3 million from $265.4 million