Preheat the oven to 350 F.
Place the eggplants on a baking sheet and bake for 1 hour.
Peel off the skin and mash the eggplant gently with a fork.
Place the oil, onion, and galangal in a non-stick skillet over medium-high heat.
Cook for 7 minutes.
Add the tomatoes, cumin, fennel, pepper, cinnamon, cloves, turmeric, and salt, and cook over medium-low heat for 5 minutes.
Gently mix in the eggplant and reduce to low heat.
Cook for 2 more minutes.
Mix in the feta cheese and then cover and let cool for 5 minutes.
Serve.