That doesn't appear to be spam. The question was asked in 2011, so likely prior to the close as off topic for tool/library/recommendation close reason. However, that question should be closed now. (already has 2 close votes, I'm all out of close votes or I'd vote). It should be closed obviously because it is looking for a library.
Users are free to leave their own answers and accept them. Yes, in some cases this can really seem quite shady if a new user asks a bad off topic question and leaves a link that appears to be promotional. In such cases, I'd recommend an other mod flag explaining the shady-ness.
There are still many hundreds if not thousands of open questions that need to be closed for this same off topic tool/library reason. So if you see them, please vote to close or flag to close if not 3k rep yet. But don't go marking most any of the answers as spam, since most of them are an answer to the bad off topic question.