The spectrum of a conjugacy class graph of a finite group