Chop the onion, chili and the garlic
Heat up the olive oil in a pan, when hot add onion and garlic (and chili), let it fry for 2-3 minutes, stir now and then so you don't burn the onion
Add the red wine and let it simmer for 5 minutes
Add tomatoes and let it cook for a few minutes
Add the tomato purée, spices, pepper and salt
Let it simmer for about 30 minutes on low temperature. FATTO!