A compound of Formula I ** Formula ** or a pharmaceutically acceptable salt thereof, in which: ring A is selected from rings A-1 and A-2 having the structures: ** Formula ** in that the wavy line labeled 1 indicates the junction point of ring A to ring B and the wavy line labeled 2 indicates the junction point of ring A to W; X is N or CH; Y is H or F; R1 is H, (C1-3) alkoxy or halogen; wherein when ring B is B-1, ** Formula ** in which the wavy line labeled 3 indicates the point of attachment to ring A and the wavy line labeled 4 indicates the point of attachment to the pyrazolo ring [1,5-a] pyrimidine of Formula I; W is O, NH or CH2, where when ring A is A-2, then W is CH2; m is 0, 1 or 2; D is carbon, R2 and R2a are independently H, F, (C1-3) alkyl or OH (with the proviso that R2 and R2a are not OH), and R3 and R3a are independently H, (C1-3) alkyl or hydroxyalkyl (C1-3), Z is * -NR4aC (>; = O) -, in which the asterisk indicates the point of attachment of Z to the carbon having R3; R4a is H, (C1-6) alkyl, fluoroalkyl (C1-6), difluoroalkyl (C1-6), trifluoroalkyl (C1-6), hydroxy (C1-6 alkyl) or dihydroxy (C2-6 alkyl); and R5 and R6 are independently H, halogen, OH, (C1-6) alkyl or hydroxyalkyl (C1-6).Un compuesto de la Fórmula I**Fórmula** o una sal farmacéuticamente aceptable del mismo, en la que: el anillo A se selecciona entre los anillos A-1 y A-2 que tienen las estructuras:**Fórmula** en las que la línea ondulada etiquetada como 1 indica el punto de unión del anillo A al anillo B y la línea ondulada etiquetada como 2 indica el punto de unión del anillo A a W; X es N o CH; Y es H o F; R1 es H, alcoxi (C1-3) o halógeno; en la que cuando el anillo B es B-1,**Fórmula** en la que la línea ondulada etiquetada como 3 indica el punto de unión al anillo A y la línea ondulada etiquetada como 4 indica el punto de unión al anillo de pirazolo[1,5-a]pirimidina de Fórmula I; W es O, NH o CH2, en la que cuando el anillo A es A-2, entonces W es CH2; m es 0, 1 o 2; D es carbo