In a small pot (preferably non-stick) simmer the water and sugar over medium heat, stirring occasionally, until all the sugar has dissolved.
Add the spices and the pumpkin and continue to simmer for 10 minutes, stirring often.
Remove from heat and
strain syrup through cheesecloth or strainer.
Allow the syrup to cool and then transfer to an air-tight container and refrigerate