fix rpm spec

Hi.
I was tried rpmbuild the_silver_searcher.spec, but some problems found in my environment. (CentOS-6.4)

Fixed these problems.
* add automake to BuildRequires
* install ag.bashcomp.sh