Add shared-mime-info build dependency

[rpm] Add shared-mime-info build dependency
Run ldconfig in post installation and uninstallation

[rpm] Run ldconfig in post installation and uninstallation