This is not how rpm
works.
rpm
uses a db where it stores which rpms are installed on the system. If you install some files manually, rpm
does not know about it.
The best way to solve this is to install foobar 2 with an rpm. Other solutions would only be workaround and would not work in the long run.