Author: iarnell
Update of /cvs/pkgs/rpms/perl-Text-Context/F-11 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10340/F-11
Modified Files: .cvsignore sources Added Files: perl-Text-Context.spec Log Message: initial import
--- NEW FILE perl-Text-Context.spec --- Name: perl-Text-Context Version: 3.6 Release: 1%{?dist} Summary: Handle highlighting search result context snippets License: GPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Context/ Source0: http://www.cpan.org/authors/id/T/TM/TMTM/Text-Context-%%7Bversion%7D.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::Entities) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Text::Context::EitherSide) >= 1.1 BuildRequires: perl(UNIVERSAL::require) >= 0.03 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description Given a piece of text and some search terms, produces an object which locates the search terms in the message, extracts a reasonable-length string containing all the search terms, and optionally dumps the string out as HTML text with the search terms highlighted in bold.
%prep %setup -q -n Text-Context-%{version}
%build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags}
%install rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ;
%{_fixperms} $RPM_BUILD_ROOT/*
%check make test
%clean rm -rf $RPM_BUILD_ROOT
%files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*
%changelog * Mon May 04 2009 Iain Arnell 3.6-1 - Specfile autogenerated by cpanspec 1.77.
Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Text-Context/F-11/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 6 May 2009 21:08:29 -0000 1.1 +++ .cvsignore 7 May 2009 03:19:33 -0000 1.2 @@ -0,0 +1 @@ +Text-Context-3.6.tar.gz
Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Text-Context/F-11/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 6 May 2009 21:08:30 -0000 1.1 +++ sources 7 May 2009 03:19:33 -0000 1.2 @@ -0,0 +1 @@ +a7563acb5d69bb05270d594010d7cf51 Text-Context-3.6.tar.gz