Example of usage would be:
"Weighing passengers smacks of discrimination."
The meaning here and in most situations is "seems like". Wiktionary includes the definition: "To have a particular taste; used with of"
I can imagine it might have started out referring to smacking one's mouth while tasting something, but that's just a supposition. I can't find any references of the etymology of the idiom.