Blanch the spinach leaves and drain them.Now make a paste of it with pudina, coriander leaves and green chillies. Keep aside.
Heat a kadhai with ghee/refined oil. Then add the chopped onion and saute till golden brown.
Now add the ginger garlic paste and saute till the raw smell is gone. Then add the powdered masalas, salt and stir.
After a few minutes, then add the spinach paste and saute till the masala leaves oil. Then add the cooked rice and mix. Check for salt and serve.