Compounds of formula (I): wherein Ra, Rb, Rc, Rd, R1, R2, R3, R4, R5, X, Y and Het are as defined in the description. Medicinal products containing the same which are useful in treating pathologies involving a deficit in apoptosis, such as cancer, auto-immune diseases, and diseases of the immune system.