I've been dabbling with building RPMs from CPAN modules. Mostly they are modules I've written but I've also packaged a few dependencies that they have.

The RPMs are on my web site. I built them using Fedora Core 5, but in case that doesn't work for some people I've also made the source RPMs and the spec files available.

I'm interested in any comments you have about them. If it's successful then I might start a real yum repository.

Update: If anyone has a suggestion for a better CPAN to RPM tool (I'm currently using cpan2rpm) then I'd love to hear it.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re: CPAN Module RPMs
by eyepopslikeamosquito (Archbishop) on Jun 21, 2006 at 14:39 UTC

    A while ago, I noticed rpmpan by Kevin Pedigo which apparently uses cpanflute2 to automatically build RPMs for all of CPAN. After a fanfare of publicity in 2003, it seems to have gone very quiet. A search for cpanflute2 on CPAN found a mention in RPM::Specfile.

Re: CPAN Module RPMs
by greenFox (Vicar) on Jun 21, 2006 at 15:33 UTC

    ++good idea. I've often wished the CPAN modules were available as solaris pkg files and I've toyed with the idea of writing a script to package them it's just never become pressing enough to do anything with, well that and there are "some issues" in the Solaris environment where I work which makes it difficult: Perl can be built with either of two different compilers (gcc or Sun's c) and there can be up to three different versions of perl in different directory trees, each version with its own team of vocal advocates as to why it can't be removed... but I digress :) The compiler is probably a non issue on Linux, the other gotcha I know of is DBD::Oracle which builds against the specific Oracle version (DBA's upgrade Oracle, developers scream their scripts no longer work...), not sure if there are other modules out there with similar caveats. Good luck.

    --
    Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho