In a large sautÃ© pan heat the oil over a medium flame and add the rosemary. SautÃ© for about 30 seconds and then add the garlic. SautÃ© until the garlic just begins to color and add the pancetta.
SautÃ© the pancetta for about 2-3 minutes and add the wine. Reduce the wine until all the alcohol has evaporated and then add the tomatoes.
Add salt and pepper to taste at this time. Bring the sauce to a boil and lower the flame to a simmer. Simmer for about 10-12 minutes. Remove the rosemary sprig.
Cook the spaghetti until very al dente and add them to the sauce. Toss together for 1-2 minutes. Turn off the heat and add the grated cheese. Toss together allowing the residual heat of the pan melt the cheese.
Serve in warm bowls with an extra sprinkling of grated cheese.