Take the pineapple and cut it into small pieces
Take oil and heat in a pan. Take half quantity of saunf, jeera, methi, rai, salt and onion seeds.
Sauté all these for a while and then to this add pineapple pieces, chili powder, turmeric, sugar, salt and two cups of water.
Keep cooking till pineapple is done, and if required add more water till it is cooked completely
Take water and mix maida and add this to chutney.
The other half quantity needs to be roasted and then need to made into a powder. Add this to the chutney.