SCIENTIFIC-LINUX-USERS Archives

August 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Sun, 19 Aug 2007 12:21:22 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
Hi Dag,

> On Sun, 19 Aug 2007, Michael Mansour wrote:
> 
> > Using Scientific Linux 4.5, I'm installing the FuzzyOCR plugin for
> > SpamAssassin. One of the dependencies is to have the Log::Agent perl module
> > available.
> > 
> > I've searched for a "perl-Log-Agent" RPM but can't find any. The closest I
> > could find is:
> > 
> >
http://rpm2html.osmirror.nl/redhat-archive/6.2/cpan/i386/perl-Log-Agent-0.1.2-6.i386.html
> > 
> > but it seems quite old and some of the list of files it contains seem to
> > already be in the SL 4.5 distribution?
> > 
> > If this is in fact a separate package I need for SL 4.5, could rpmforge
> > package it? if not, do I need to package this myself since SL 4.5 doesn't
> > provide all the perl modules required?
> > 
> > Any advice is appreciated. Thanks.
> 
> Hi Michael,
> 
> I have written a small tool to generate perl SPEC files that are 
> close to 95% of what is required and works. You can find it at:
> 
> 	http://svn.rpmforge.net/svn/trunk/tools/dar/dar-perl.py
> 
> And run it simply by doing:
> 
> 	dar-perl.py Log::Agent
> or	dar-perl.py perl-Log-Agent
> 
> and it will output the SPEC content to stdout and warnings to stderr.
> In this case the warnings are:
> 
> 	License could not be determined.
> 	No abstract found.
> 
> Which means that both the license and the abstract 
> (summary/description) needs to be taken from the website. A simple 
> build will then verify if the %files section is correct.
> 
> I have added perl-Log-Agent to subversion :)
> 
> 	/dar/tools/dar/dar-perl.py -o perl-Log-Agent/perl-Log-Agent.spec 
> perl-Log-Agent 	vi perl-Log-Agent/perl-Log-Agent.spec 	svn add perl-
> Log-Agent 	dar-build -v perl-Log-Agent/perl-Log-Agent.spec
> 
> All feedback is welcome.

Many thanks Dag, I'll give this a go today and see how it works out.

Michael.

ATOM RSS1 RSS2