2bab2db
Name:           perl-Text-Context-EitherSide
2bab2db
Version:        1.4
2da8486
Release:        27%{?dist}
2bab2db
Summary:        Get n words either side of search keywords
2bab2db
License:        Artistic 2.0
c197753
URL:            https://metacpan.org/release/Text-Context-EitherSide
c197753
Source0:        https://cpan.metacpan.org/authors/id/T/TM/TMTM/Text-Context-EitherSide-%{version}.tar.gz
2bab2db
BuildArch:      noarch
Petr Šabata b1ab51c
# Build
Petr Šabata b1ab51c
BuildRequires:  make
89aa25b
BuildRequires:  perl-interpreter
388996e
BuildRequires:  perl-generators
Petr Šabata b1ab51c
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
Petr Šabata b1ab51c
# Runtime
Petr Šabata b1ab51c
BuildRequires:  perl(base)
Petr Šabata b1ab51c
BuildRequires:  perl(Carp)
Petr Šabata b1ab51c
BuildRequires:  perl(constant)
Petr Šabata b1ab51c
BuildRequires:  perl(Exporter)
Petr Šabata b1ab51c
BuildRequires:  perl(strict)
Petr Šabata b1ab51c
BuildRequires:  perl(warnings)
Petr Šabata b1ab51c
# Tests only
2bab2db
BuildRequires:  perl(Test::More)
Petr Šabata b1ab51c
# Optional tests only
Petr Šabata b1ab51c
BuildRequires:  perl(Test::Pod) >= 1.00
Petr Šabata b1ab51c
BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
Petr Šabata b1ab51c
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
Petr Šabata b1ab51c
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
2bab2db
make %{?_smp_mflags}
2bab2db
2bab2db
%install
Petr Šabata b1ab51c
make pure_install DESTDIR=%{buildroot}
Petr Šabata b1ab51c
%{_fixperms} %{buildroot}/*
2bab2db
2bab2db
%check
2bab2db
make test
2bab2db
2bab2db
%files
2bab2db
%doc Changes README
2bab2db
%{perl_vendorlib}/*
2bab2db
%{_mandir}/man3/*
2bab2db
2bab2db
%changelog
2da8486
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-27
2da8486
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2da8486
569f5f6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-26
569f5f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
569f5f6
ac26f48
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-25
ac26f48
- Perl 5.28 rebuild
ac26f48
7f0a237
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-24
7f0a237
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7f0a237
2d61275
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-23
2d61275
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2d61275
17a70e9
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-22
17a70e9
- Perl 5.26 rebuild
17a70e9
632c337
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-21
632c337
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
632c337
7326f6f
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-20
7326f6f
- Perl 5.24 rebuild
7326f6f
Petr Šabata b1ab51c
* Wed Mar 02 2016 Petr Šabata <contyk@redhat.com> - 1.4-19
Petr Šabata b1ab51c
- Package cleanup
Petr Šabata b1ab51c
db47405
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-18
db47405
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
db47405
2a5a97e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-17
2a5a97e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2a5a97e
a4276c7
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-16
a4276c7
- Perl 5.22 rebuild
a4276c7
6def124
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-15
6def124
- Perl 5.20 rebuild
6def124
5dddcd6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
5dddcd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5dddcd6
8c748d0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
8c748d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8c748d0
43d9b6a
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.4-12
43d9b6a
- Perl 5.18 rebuild
43d9b6a
a705ff0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
a705ff0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a705ff0
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.