Remove core and cut into sections about 1 inch wide. Mix sugar and water in saucepan. Add pineapple pieces and boil for about 10 minutes. Remove pineapple. To the syrup add vinegar and spices. Boil until syrup thickens. Add pineapple back into the syrup and boil for about 5 minutes. pour into hot sterilized jars and seal. Makes 1 to 1 1/2 pints.