A collection of RPM specs for ruby web apps.
sudo yum -y groupinstall "Development Tools"
sudo yum -y install rpm-build rpmdevtools readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel glibc-static tcl-devel gcc unzip openssl-devel db4-devel byacc make libffi libffi-devel
rpmdev-setuptree
git clone --depth 1 https://github.com/clowder/rpm-specs.git
cp -r rpm-specs/{SOURCES,SPECS} rpmbuild/
cd rpmbuild/
# Download all external sources
for file in SPECS/*; do
spectool -g -R $file
done
# Build libyaml first, for Ruby.
rpmbuild -bb --nodeps --clean SPECS/libyaml.spec
sudo yum localinstall RPMS/x86_64/libyaml-devel-0.1.4-1.el6.x86_64.rpm RPMS/x86_64/libyaml-0.1.4-1.el6.x86_64.rpm
# Build all the things
for file in SPECS/*; do
rpmbuild -bb --nodeps --clean $file
done
imeyer for the original ruby19.spec.
repoforge for the original libyaml.spec.
simonmcc for the original redis.spec.