Add RPM spec 'preinstall' and 'postinstall' sections

Similar to postun/preun:

```
%pre targeted
%preInstall targeted

%post targeted
%postInstall $1 targeted
exit 0
```