rpm: use install.sql/uninstall.sql

Caution: They aren't tested yet.