The present invention is directed to a compound having the formula
##STR00001## wherein R.sup.1, R.sup.2, G, and Q are defined herein. The
compounds of the present invention are useful as inhibitors of protein
kinases such as MAP kinases, in particular p38 kinases. The present
invention is also directed to compositions comprising a compound
according to the above formula. The compounds and compositions described
herein are useful for treating and preventing an inflammatory condition
or disease. The present invention is also directed to a method of
treating or preventing a protein kinase-mediated condition.