Gibbs-like measure for spectrum of a class of quasi-crystals