this will probably need changing upon SONAME bump
depend on dist and the specfile, plus use automake's variables