Mix cranberries, orange juice, and brown sugar in a saucepan over low heat. Bring to a simmer; cook and stir until sugar has dissolved, about 5 minutes. Add wine, cinnamon, star anise, nutmeg, and cloves. Mix well. Continue simmering until sauce starts to thicken, about 10 minutes.