|
 |
2bab2db |
Name: perl-Text-Context-EitherSide
|
|
 |
2bab2db |
Version: 1.4
|
|
 |
2767988 |
Release: 4%{?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
|
|
 |
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.
|