Sauté onions, garlic, and jalapenos until soft. Add all of the dry spices and sauté about 3 minutes, scraping pan bottom. Deglaze pan with the cider vinegar. Add remaining ingredients and simmer over low heat for about 2 hours.