This repository contains everything needed to build RPM's for zookeeper, including libzookeeper and the devel packages. Different pieces are taken from places around the internet; the init script is quite close to Cassandra's. Individual packages will be built for zookeeper, libzookeeper, and zookeeper-devel.
The spec has been tested only on EL6 with the EPEL repo enabled, but should also work on recent Fedoras, too.
git clone https://github.com/skottler/zookeeper-rpms
cd zookeeper-rpms
rpmdev-setuptree
spectool -g zookeeper.spec
rpmbuild -bs --nodeps --define "_sourcedir ." --define "_srcrpmdir ." zookeeper.spec
sudo mock <the srpm from step 5>
All files in this repository are licensed under the Apache 2 license. Any redistribution of these files must include the original license as well as attribution to this repository.