For those who like to roll their own packages for RPM based systems,
the following may be useful for you (it Works For Me). Use it at your
own risk, etc. The hardcode of 1.8 is probably a bad thing, but I'll
cross that bridge when I have to.
Summary: Ruby RRD bindings
Name: RubyRRDtool
Version: 0.6.0
Release: 1
Epoch: 1
License: MIT
Group: Application/Development
Source0: %{name}-%{version}.tgz
URL: http://rubyforge.org/projects/rubyrrdtool/
BuildRoot: %{_tmppath}/%{name}-root
Requires: rrdtool, ruby
BuildRequires: ruby, gcc, rrdtool-devel
%define debug_package %{nil}
%description
RRD bindings for Ruby.
%prep
%setup -q
%build
ruby extconf.rb
make
%install
install -D -m0644 RRDtool.so
%{buildroot}/usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-, root, root)
/usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so
Ah! I wasn't aware of gem2rpm (though I know of cpan2rpm) - not a
Ruby person :)