Fixes: #2771 add the spec file to build smarty3 for centos/rhel