2bab2db
Name:           perl-Text-Context-EitherSide
2bab2db
Version:        1.4
c35176e
Release:        10%{?dist}
2bab2db
Summary:        Get n words either side of search keywords
2bab2db
License:        Artistic 2.0
2bab2db
Group:          Development/Libraries
2bab2db
URL:            http://search.cpan.org/dist/Text-Context-EitherSide/
2bab2db
Source0:        http://www.cpan.org/authors/id/T/TM/TMTM/Text-Context-EitherSide-%{version}.tar.gz
2bab2db
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2bab2db
BuildArch:      noarch
2bab2db
BuildRequires:  perl(ExtUtils::MakeMaker)
2bab2db
BuildRequires:  perl(Test::More)
2bab2db
BuildRequires:  perl(Test::Pod)
2bab2db
BuildRequires:  perl(Test::Pod::Coverage)
2bab2db
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2bab2db
2bab2db
%description
2bab2db
Suppose you have a large piece of text - typically, say, a web page or a
2bab2db
mail message. And now suppose you've done some kind of full-text search on
2bab2db
that text for a bunch of keywords, and you want to display the context in
2bab2db
which you found the keywords inside the body of the text.
2bab2db
2bab2db
%prep
2bab2db
%setup -q -n Text-Context-EitherSide-%{version}
2bab2db
2bab2db
%build
2bab2db
%{__perl} Makefile.PL INSTALLDIRS=vendor
2bab2db
make %{?_smp_mflags}
2bab2db
2bab2db
%install
2bab2db
rm -rf $RPM_BUILD_ROOT
2bab2db
2bab2db
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
2bab2db
2bab2db
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
2bab2db
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
2bab2db
2bab2db
%{_fixperms} $RPM_BUILD_ROOT/*
2bab2db
2bab2db
%check
2bab2db
make test
2bab2db
2bab2db
%clean
2bab2db
rm -rf $RPM_BUILD_ROOT
2bab2db
2bab2db
%files
2bab2db
%defattr(-,root,root,-)
2bab2db
%doc Changes README
2bab2db
%{perl_vendorlib}/*
2bab2db
%{_mandir}/man3/*
2bab2db
2bab2db
%changelog
c35176e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-10
c35176e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c35176e
e3e21ad
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.4-9
e3e21ad
- Perl 5.16 rebuild
e3e21ad
46a087f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
46a087f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
46a087f
3119172
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-7
3119172
- Perl mass rebuild
3119172
5fabadb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
5fabadb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5fabadb
ec88b68
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-5
ec88b68
- 661697 rebuild for fixing problems with vendorach/lib
ec88b68
2767988
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-4
2767988
- Mass rebuild with perl-5.12.0
2767988
6fb1230
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-3
6fb1230
- rebuild against perl 5.10.1
6fb1230
46c3dda
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
46c3dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
46c3dda
2bab2db
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 1.4-1
2bab2db
- Specfile autogenerated by cpanspec 1.77.