On Thu, Mar 08, 2007 at 05:47:28PM -0800, David Lutterkort wrote:
At long last, I wrote up a guideline [1] for packaging ruby gems,
ruby's
own packaging format; since almost any ruby library is packaged as a
gem, and some of them provide no other way of installation, it becomes
increasingly important to enable packaging of gems for Fedora.
At the same time, it is fairly easy to automate most of this process[2],
which hopefully means that lots of people will submit packages of ruby
gems.
You can find some examples of ruby gems packaged as rpm's on my people
page [3] - look for specfiles called 'rubygem-*'
I just became a packager and am very interested in making sure Fedora
and rubygems work well together. I'll try packaging up a couple of gems
with your guidelines in the next week or so and see how it goes. I may
have comments or suggestions afterwards.
Have you given thought to gems that are also applications? I have an
application 'keybox' that is a gem, but it is really a command line
application, at what point would we want to draw the line between saying
package this as a rubygems-* vs. a normal package that just Requires:
ruby and maybe some rubygems-*.
Or would you rather think of rubygems-* as being packaged from the gem
and anything that was self contained be packaged from the .tgz or the
original source?
enjoy,
-jeremy
--
========================================================================
Jeremy Hinegardner jeremy(a)hinegardner.org