update README and spec file to support origin parameter