There are provided novel compounds of formula (I), wherein R1, R2, R4, R5, G1,G2, L, Y and n are as defined in the Specification and optical isomers,racemates and tautomers thereof, and pharmaceutically acceptable saltsthereof; together with processes for their preparation, compositionscontaining them and their use in therapy. The compounds are inhibitors ofneutrophil elastase.