1 |
Name: perl-KinoSearch1 |
2 |
Version: 1.01 |
3 |
Release: 36%{?dist} |
4 |
Summary: Search engine library |
5 |
# ApacheLicense2.0.txt included is included just becuase the upstream |
6 |
# author decided to include it and is only for informative purposes. |
7 |
# We believe that it doesn't apply, since author didn't use any Lucene |
8 |
# code (according to mail in LICENSING.mbox) |
9 |
License: GPL+ or Artistic |
10 |
URL: https://metacpan.org/release/KinoSearch1 |
11 |
Source0: https://cpan.metacpan.org/authors/id/C/CR/CREAMYG/KinoSearch1-%{version}.tar.gz |
12 |
# Make regular expressions compatible with Perl 5.24.0, CPAN RT#105144 |
13 |
Patch0: KinoSearch1-1.01-Do-not-use-C-in-regexps.patch |
14 |
Source1: LICENSING.mbox |
15 |
Provides: perl-KinoSearch |
16 |
# Build |
17 |
BuildRequires: coreutils |
18 |
BuildRequires: findutils |
19 |
BuildRequires: perl-interpreter |
20 |
BuildRequires: perl-devel |
21 |
BuildRequires: perl-generators |
22 |
BuildRequires: perl(ExtUtils::CBuilder) |
23 |
BuildRequires: perl(Fcntl) |
24 |
BuildRequires: perl(File::Find) |
25 |
BuildRequires: perl(File::Spec::Functions) |
26 |
BuildRequires: perl(Module::Build) >= 0.36 |
27 |
BuildRequires: perl(Storable) |
28 |
BuildRequires: perl(strict) |
29 |
BuildRequires: perl(warnings) |
30 |
# Runtime |
31 |
BuildRequires: perl(base) |
32 |
BuildRequires: perl(bytes) |
33 |
BuildRequires: perl(Carp) |
34 |
BuildRequires: perl(Compress::Zlib) |
35 |
BuildRequires: perl(constant) |
36 |
# BuildRequires: perl(Data::Dumper) |
37 |
BuildRequires: perl(Digest::MD5) |
38 |
BuildRequires: perl(Exporter) |
39 |
BuildRequires: perl(IO::Select) |
40 |
BuildRequires: perl(IO::Socket::INET) |
41 |
BuildRequires: perl(Lingua::Stem::Snowball) >= 0.94 |
42 |
BuildRequires: perl(Lingua::StopWords) >= 0.02 |
43 |
BuildRequires: perl(locale) |
44 |
BuildRequires: perl(Scalar::Util) |
45 |
BuildRequires: perl(Time::HiRes) |
46 |
BuildRequires: perl(XSLoader) |
47 |
# Tests only |
48 |
# XXX: BuildRequires: perl(Config) |
49 |
BuildRequires: perl(Encode) |
50 |
BuildRequires: perl(File::Path) |
51 |
BuildRequires: perl(File::Spec) |
52 |
BuildRequires: perl(File::stat) |
53 |
BuildRequires: perl(lib) |
54 |
BuildRequires: perl(List::Util) |
55 |
# XXX: BuildRequires: perl(Plucene) |
56 |
# XXX: BuildRequires: perl(Plucene::Analysis::WhitespaceAnalyzer) |
57 |
# XXX: BuildRequires: perl(Plucene::Document) |
58 |
# XXX: BuildRequires: perl(Plucene::Document::Field) |
59 |
# XXX: BuildRequires: perl(Plucene::Index::Writer) |
60 |
# XXX: BuildRequires: perl(POSIX) |
61 |
BuildRequires: perl(Test::More) |
62 |
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) |
63 |
Requires: perl(Data::Dumper) |
64 |
Requires: perl(Lingua::Stem::Snowball) >= 0.94 |
65 |
Requires: perl(Lingua::StopWords) >= 0.02 |
66 |
|
67 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Lingua::Stem::Snowball\\)$ |
68 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Lingua::StopWords\\)$ |
69 |
|
70 |
|
71 |
%description |
72 |
KinoSearch1 is a loose port of the Java search engine library Apache |
73 |
Lucene, written in Perl and C. The archetypal application is website |
74 |
search, but it can be put to many different uses. |
75 |
|
76 |
%prep |
77 |
%setup -q -n KinoSearch1-%{version} |
78 |
%patch0 -p1 |
79 |
cp %{SOURCE1} LICENSING.mbox |
80 |
|
81 |
%build |
82 |
perl Build.PL installdirs=vendor optimize="%{optimize}" |
83 |
./Build |
84 |
|
85 |
%install |
86 |
./Build install destdir=%{buildroot} create_packlist=0 |
87 |
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + |
88 |
%{_fixperms} %{buildroot}/* |
89 |
|
90 |
|
91 |
%check |
92 |
./Build test |
93 |
|
94 |
%files |
95 |
%license ApacheLicense2.0.txt LICENSING.mbox |
96 |
%doc buildlib Changes README |
97 |
%{perl_vendorarch}/auto/* |
98 |
%{perl_vendorarch}/* |
99 |
%{_mandir}/man3/* |
100 |
|
101 |
%changelog |
102 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-36 |
103 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
104 |
|
105 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-35 |
106 |
- Perl 5.34 rebuild |
107 |
|
108 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-34 |
109 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
110 |
|
111 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-33 |
112 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
113 |
|
114 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-32 |
115 |
- Perl 5.32 rebuild |
116 |
|
117 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-31 |
118 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
119 |
|
120 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-30 |
121 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
122 |
|
123 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-29 |
124 |
- Perl 5.30 rebuild |
125 |
|
126 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-28 |
127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
128 |
|
129 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-27 |
130 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
131 |
|
132 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-26 |
133 |
- Perl 5.28 rebuild |
134 |
|
135 |
* Fri Mar 02 2018 Petr Pisar <ppisar@redhat.com> - 1.01-25 |
136 |
- Adapt to removing GCC from a build root (bug #1547165) |
137 |
|
138 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-24 |
139 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
140 |
|
141 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-23 |
142 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
143 |
|
144 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-22 |
145 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
146 |
|
147 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-21 |
148 |
- Perl 5.26 rebuild |
149 |
|
150 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-20 |
151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
152 |
|
153 |
* Thu May 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-19 |
154 |
- Perl 5.24 rebuild |
155 |
|
156 |
* Thu May 19 2016 Petr Pisar <ppisar@redhat.com> - 1.01-18 |
157 |
- Make regular expressions compatible with Perl 5.24.0 |
158 |
|
159 |
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-17 |
160 |
- Perl 5.24 rebuild |
161 |
|
162 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-16 |
163 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
164 |
|
165 |
* Mon Aug 10 2015 Petr Šabata <contyk@redhat.com> - 1.01-15 |
166 |
- Correct the dependency list |
167 |
- Modernize the spec file |
168 |
|
169 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-14 |
170 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
171 |
|
172 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-13 |
173 |
- Perl 5.22 rebuild |
174 |
|
175 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-12 |
176 |
- Perl 5.20 rebuild |
177 |
|
178 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-11 |
179 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
180 |
|
181 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-10 |
182 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
183 |
|
184 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-9 |
185 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
186 |
|
187 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.01-8 |
188 |
- Perl 5.18 rebuild |
189 |
|
190 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-7 |
191 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
192 |
|
193 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6 |
194 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
195 |
|
196 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.01-5 |
197 |
- Perl 5.16 rebuild |
198 |
|
199 |
* Sat Jan 14 2012 Iain Arnell <iarnell@gmail.com> 1.01-4 |
200 |
- BuildRequires perl(Digest::MD5) |
201 |
|
202 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3 |
203 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
204 |
|
205 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-2 |
206 |
- Perl mass rebuild |
207 |
|
208 |
* Wed Feb 09 2011 Iain Arnell <iarnell@gmail.com> 1.01-1 |
209 |
- update to latest upstream |
210 |
- BR perl(Test::More) |
211 |
|
212 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-3 |
213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
214 |
|
215 |
* Tue Oct 05 2010 Iain Arnell <iarnell@gmail.com> 1.00-2 |
216 |
- BR perl(Time::HiRes) |
217 |
- add license clarification from perl-KinoSearch |
218 |
|
219 |
* Sun Sep 26 2010 Iain Arnell <iarnell@gmail.com> 1.00-1 |
220 |
- Specfile autogenerated by cpanspec 1.78. |