I created an RPM for my CentOS 6 machines. All it does is install the binary in /usr/sbin and an init.d script I cooked up. It’s one of my first RPM’s and init.d scripts, so I guess you guys can do far better.
I had to do a git clone instead of downloading the sources tar ball from the web site (when compiling that, I got the error “fatal: Not a git repository (or any of the parent directories): .git”).
I hope someone smarter than me, and with more time on their hands, can create a nice build environment and can do a better job.
RPM: http://files.netmatch.nl/RPMS/syncthing-0.9.17-1.el6.x86_64.rpm SPEC: http://files.netmatch.nl/SPECS/syncthing-0.9.17.spec
(SRPM is in the SRPM folder, but I can’s post more than two links)