Wash the cranberries thoroughly and drain.
Place in a large pan and barely cover with vinegar.
Bring to a boil, then reduce the heat.
Simmer until the cranberries are soft, then press through a fine sieve.
Add the sugar and spices and simmer until of desired consistency.
Pour into hot sterilized jars and seal.