Blob Blame History Raw
Name:           perl-Text-Context-EitherSide
Version:        1.4
Release:        4%{?dist}
Summary:        Get n words either side of search keywords
License:        Artistic 2.0
Group:          Development/Libraries
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

Suppose you have a large piece of text - typically, say, a web page or a
mail message. And now suppose you've done some kind of full-text search on
that text for a bunch of keywords, and you want to display the context in
which you found the keywords inside the body of the text.

%setup -q -n Text-Context-EitherSide-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}



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/*

make test


%doc Changes README

* Fri May 07 2010 Marcela Maslanova <> - 1.4-4
- Mass rebuild with perl-5.12.0

* Fri Dec  4 2009 Stepan Kasal <> - 1.4-3
- rebuild against perl 5.10.1

* Sun Jul 26 2009 Fedora Release Engineering <> - 1.4-2
- Rebuilt for

* Mon May 04 2009 Iain Arnell <> 1.4-1
- Specfile autogenerated by cpanspec 1.77.