Name: perl-KinoSearch1 Version: 1.01 Release: 39%{?dist} Summary: Search engine library # ApacheLicense2.0.txt included is included just becuase the upstream # author decided to include it and is only for informative purposes. # We believe that it doesn't apply, since author didn't use any Lucene # code (according to mail in LICENSING.mbox) License: GPL+ or Artistic URL: https://metacpan.org/release/KinoSearch1 Source0: https://cpan.metacpan.org/authors/id/C/CR/CREAMYG/KinoSearch1-%{version}.tar.gz # Make regular expressions compatible with Perl 5.24.0, CPAN RT#105144 Patch0: KinoSearch1-1.01-Do-not-use-C-in-regexps.patch Source1: LICENSING.mbox # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Find) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Module::Build) >= 0.36 BuildRequires: perl(Storable) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(constant) # BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Exporter) BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(Lingua::Stem::Snowball) >= 0.94 BuildRequires: perl(Lingua::StopWords) >= 0.02 BuildRequires: perl(locale) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Time::HiRes) BuildRequires: perl(XSLoader) # Tests only # XXX: BuildRequires: perl(Config) BuildRequires: perl(Encode) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::stat) BuildRequires: perl(lib) BuildRequires: perl(List::Util) # XXX: BuildRequires: perl(Plucene) # XXX: BuildRequires: perl(Plucene::Analysis::WhitespaceAnalyzer) # XXX: BuildRequires: perl(Plucene::Document) # XXX: BuildRequires: perl(Plucene::Document::Field) # XXX: BuildRequires: perl(Plucene::Index::Writer) # XXX: BuildRequires: perl(POSIX) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(Lingua::Stem::Snowball) >= 0.94 Requires: perl(Lingua::StopWords) >= 0.02 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Lingua::Stem::Snowball\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Lingua::StopWords\\)$ %description KinoSearch1 is a loose port of the Java search engine library Apache Lucene, written in Perl and C. The archetypal application is website search, but it can be put to many different uses. %prep %setup -q -n KinoSearch1-%{version} %patch0 -p1 cp %{SOURCE1} LICENSING.mbox %build perl Build.PL installdirs=vendor optimize="%{optimize}" ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + %{_fixperms} %{buildroot}/* %check ./Build test %files %license ApacheLicense2.0.txt LICENSING.mbox %doc buildlib Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.01-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.01-38 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.01-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.01-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.01-35 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.01-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.01-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.01-32 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.01-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.01-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.01-29 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.01-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.01-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.01-26 - Perl 5.28 rebuild * Fri Mar 02 2018 Petr Pisar - 1.01-25 - Adapt to removing GCC from a build root (bug #1547165) * Thu Feb 08 2018 Fedora Release Engineering - 1.01-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.01-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.01-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.01-21 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.01-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu May 19 2016 Jitka Plesnikova - 1.01-19 - Perl 5.24 rebuild * Thu May 19 2016 Petr Pisar - 1.01-18 - Make regular expressions compatible with Perl 5.24.0 * Tue May 17 2016 Jitka Plesnikova - 1.01-17 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.01-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Aug 10 2015 Petr Šabata - 1.01-15 - Correct the dependency list - Modernize the spec file * Thu Jun 18 2015 Fedora Release Engineering - 1.01-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 1.01-13 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.01-12 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.01-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.01-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.01-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.01-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.01-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.01-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 1.01-5 - Perl 5.16 rebuild * Sat Jan 14 2012 Iain Arnell 1.01-4 - BuildRequires perl(Digest::MD5) * Fri Jan 13 2012 Fedora Release Engineering - 1.01-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.01-2 - Perl mass rebuild * Wed Feb 09 2011 Iain Arnell 1.01-1 - update to latest upstream - BR perl(Test::More) * Tue Feb 08 2011 Fedora Release Engineering - 1.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Oct 05 2010 Iain Arnell 1.00-2 - BR perl(Time::HiRes) - add license clarification from perl-KinoSearch * Sun Sep 26 2010 Iain Arnell 1.00-1 - Specfile autogenerated by cpanspec 1.78.