blob: dcb7f7eeb426ace1c3ba8643b037658ab5ab6e3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
|
%global snapshot 0
Name: libpinyin
Version: 2.6.0
Release: 4%{?dist}
Summary: Library to deal with pinyin
License: GPLv3+
URL: https://github.com/libpinyin/libpinyin
Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
%if %snapshot
Patch0: libpinyin-2.3.x-head.patch
%endif
BuildRequires: gcc-c++
BuildRequires: libdb-devel, glib2-devel
BuildRequires: make
Requires: %{name}-data%{?_isa} = %{version}-%{release}
%description
The libpinyin project aims to provide the algorithms core
for intelligent sentence-based Chinese pinyin input methods.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Provides: libzhuyin-devel = %{version}-%{release}
Obsoletes: libzhuyin-devel < %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package data
Summary: Data files for %{name}
Requires: %{name} = %{version}-%{release}
%description data
The %{name}-data package contains data files.
%package tools
Summary: Tools for %{name}
Requires: %{name} = %{version}-%{release}
%description tools
The %{name}-tools package contains tools.
%package -n libzhuyin
Summary: Library to deal with zhuyin
Requires: %{name} = %{version}-%{release}
%description -n libzhuyin
The libzhuyin package contains libzhuyin compatibility library.
%prep
%setup -q
%if %snapshot
%patch0 -p1 -b .head
%endif
%build
%configure --disable-static \
--with-dbm=BerkeleyDB \
--enable-libzhuyin
%make_build
%check
make check
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets
%files
%doc AUTHORS COPYING README
%{_libdir}/libpinyin*.so.*
%dir %{_libdir}/libpinyin
%files devel
%doc
%dir %{_includedir}/libpinyin-%{version}
%{_includedir}/libpinyin-%{version}/*
%{_libdir}/libpinyin.so
%{_libdir}/pkgconfig/libpinyin.pc
%{_libdir}/libzhuyin.so
%{_libdir}/pkgconfig/libzhuyin.pc
%files data
%doc
%{_libdir}/libpinyin/data
%files tools
%{_bindir}/gen_binary_files
%{_bindir}/import_interpolation
%{_bindir}/gen_unigram
%{_mandir}/man1/*.1.*
%files -n libzhuyin
%{_libdir}/libzhuyin*.so.*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 15 2020 Peng Wu <pwu@redhat.com> - 2.6.0-1
- Update to 2.6.0
- bug fixes
* Thu Oct 22 2020 Peng Wu <pwu@redhat.com> - 2.4.92-1
- Update to 2.4.92
- update pinyin data
- bug fixes
* Wed Aug 26 2020 Peng Wu <pwu@redhat.com> - 2.4.91-1
- Update to 2.4.91
- improve full pinyin auto correction
- bug fixes
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 2.3.0-4
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Mar 18 2019 Peng Wu <pwu@redhat.com> - 2.3.0-1
- Update to 2.3.0
- update pinyin data
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Peng Wu <pwu@redhat.com> - 2.2.2-1
- Update to 2.2.2
- minor fixes
* Tue Oct 9 2018 Peng Wu <pwu@redhat.com> - 2.2.1-1
- Update to 2.2.1
- fixes predicted candidates
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Apr 17 2018 Peng Wu <pwu@redhat.com> - 2.2.0-1
- Update to 2.2.0
- bug fixes
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 25 2018 Peng Wu <pwu@redhat.com> - 2.1.91-1
- Update to 2.1.91
- fixes zhuyin parsers
* Thu Aug 24 2017 Peng Wu <pwu@redhat.com> - 2.1.0-1
- Update to 2.1.0
- support sort option in pinyin_guess_candidates function
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.92-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 10 2017 Peng Wu <pwu@redhat.com> - 2.0.92-1
- Update to 2.0.92
- reduce memory consumption after imported user dictionary
* Thu Jun 8 2017 Peng Wu <pwu@redhat.com> - 2.0.91-1
- Update to 2.0.91
- merge libzhuyin code
* Thu Apr 20 2017 Peng Wu <pwu@redhat.com> - 2.0.0-1
- Update to 2.0.0
* Tue Mar 7 2017 Peng Wu <pwu@redhat.com> - 1.9.92-1
- Update to 1.9.92
- fixes crash
* Tue Feb 28 2017 Peng Wu <pwu@redhat.com> - 1.9.91-2
- Fixes crash in Double Pinyin
* Tue Feb 14 2017 Peng Wu <pwu@redhat.com> - 1.9.91-1
- Update to 1.9.91
- multiple sentence candidates
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Nov 30 2016 Peng Wu <pwu@redhat.com> - 1.7.0-1
- Update to 1.7.0
- fixes build on FreeBSD
- update cmake files
* Tue Nov 1 2016 Peng Wu <pwu@redhat.com> - 1.6.91-1
- Update to 1.6.91
- change license to GPLv3+
- import open-gram dictionary and remove pinyin tones
- add some checks when load data from file
* Wed Sep 7 2016 Peng Wu <pwu@redhat.com> - 1.6.0-1
- Update to 1.6.0
* Mon Aug 15 2016 Peng Wu <pwu@redhat.com> - 1.5.92-3
- Fixes crashes again
* Tue Aug 9 2016 Peng Wu <pwu@redhat.com> - 1.5.92-2
- Fixes crashes for Full Pinyin and Bopomofo
* Tue Aug 2 2016 Peng Wu <pwu@redhat.com> - 1.5.92-1
- Update to 1.5.92
* Mon Jul 18 2016 Peng Wu <pwu@redhat.com> - 1.5.91-1
- Update to 1.5.91
- Use Kyoto Cabinet instead of Berkeley DB
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Dec 4 2015 Peng Wu <pwu@redhat.com> - 1.3.0-1
- Update to 1.3.0
* Tue Nov 17 2015 Peng Wu <pwu@redhat.com> - 1.2.91-1
- Update to 1.2.91
* Mon Aug 3 2015 Peng Wu <pwu@redhat.com> - 1.2.0-1
- Update to 1.2.0
* Tue Jul 7 2015 Peng Wu <pwu@redhat.com> - 1.1.91-1
- Update to 1.1.91
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.0-2
- Rebuilt for GCC 5 C++11 ABI change
* Tue Mar 3 2015 Peng Wu <pwu@redhat.com> - 1.1.0-1
- Update to 1.1.0
* Mon Feb 9 2015 Peng Wu <pwu@redhat.com> - 1.0.99.20150212-1
- Update to 1.0.99.20150212
- Bring back libpinyin-tools
* Tue Feb 3 2015 Peng Wu <pwu@redhat.com> - 1.0.99.20150203-2
- Obsoletes libpinyin-tools
* Tue Feb 3 2015 Peng Wu <pwu@redhat.com> - 1.0.99.20150203-1
- Update to 1.0.99.20150203
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Nov 26 2013 Peng Wu <pwu@redhat.com> - 1.0.0-1
- Update to 1.0.0
* Mon Oct 28 2013 Peng Wu <pwu@redhat.com> - 0.9.94-1
- Update to 0.9.94
* Tue Jul 30 2013 Peng Wu <pwu@redhat.com> - 0.9.93-2
- Fixes load table.conf in German locale
* Thu Jun 27 2013 Peng Wu <pwu@redhat.com> - 0.9.93-1
- Update to 0.9.93
* Sun Jun 9 2013 Peng Wu <pwu@redhat.com> - 0.9.92-1
- Update to 0.9.92
* Sun Apr 28 2013 Peng Wu <pwu@redhat.com> - 0.9.91-1
- Update to 0.9.91
* Sat Mar 23 2013 Peng Wu <pwu@redhat.com> - 0.8.93-2
- Fixes import dictionary
* Mon Mar 18 2013 Peng Wu <pwu@redhat.com> - 0.8.93-1
- Update to 0.8.93
* Fri Mar 8 2013 Peng Wu <pwu@redhat.com> - 0.8.92-1
- Update to 0.8.92
* Mon Mar 4 2013 Peng Wu <pwu@redhat.com> - 0.8.91-1
- Update to 0.8.91
* Thu Feb 28 2013 Peng Wu <pwu@redhat.com> - 0.8.1-1
- Update to 0.8.1
- Fixes pinyin_init crashes
* Mon Jan 28 2013 Peng Wu <pwu@redhat.com> - 0.8.0-3
- Fixes incomplete pinyin
* Wed Dec 12 2012 Peng Wu <pwu@redhat.com> - 0.8.0-2
- Fixes chewing input
* Wed Nov 14 2012 Peng Wu <pwu@redhat.com> - 0.8.0-1
- Update to 0.8.0
* Mon Oct 15 2012 Peng Wu <pwu@redhat.com> - 0.7.92-1
- Update to 0.7.92
* Mon Sep 17 2012 Peng Wu <pwu@redhat.com> - 0.7.91-1
- Update to 0.7.91
* Wed Aug 15 2012 Peng Wu <pwu@redhat.com> - 0.7.1-1
- Update to 0.7.1
* Fri Jul 27 2012 Peng Wu <pwu@redhat.com> - 0.7.0-1
- Update to 0.7.0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.92-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jul 10 2012 Peng Wu <pwu@redhat.com> - 0.6.92-2
- Update libpinyin-0.7.x-head.patch
* Wed Jul 04 2012 Peng Wu <pwu@redhat.com> - 0.6.92-1
- Update to 0.6.92
* Tue Jun 12 2012 Peng Wu <pwu@redhat.com> - 0.6.0-3
- Removes provides ibus-pinyin-db
* Thu Jun 07 2012 Peng Wu <pwu@redhat.com> - 0.6.0-2
- Fixes "jv" => "ju"
* Mon May 28 2012 Peng Wu <pwu@redhat.com> - 0.6.0-1
- Update to 0.6.0
* Tue Mar 27 2012 Peng Wu <pwu@redhat.com> - 0.5.92-1
- Update to 0.5.92
* Wed Feb 15 2012 Peng Wu <pwu@redhat.com> - 0.5.91-3
- Provides ibus-pinyin-db
* Tue Feb 14 2012 Peng Wu <pwu@redhat.com> - 0.5.91-2
- Improves full pinyin parser2
* Mon Feb 13 2012 Peng Wu <pwu@redhat.com> - 0.5.91-1
- Update to 0.5.91
* Sun Jan 29 2012 Peng Wu <pwu@redhat.com> - 0.5.0-2
- Fixes pinyin parsers
* Wed Jan 18 2012 Peng Wu <pwu@redhat.com> - 0.5.0-1
- Update to 0.5.0
* Fri Jan 13 2012 Peng Wu <pwu@redhat.com> - 0.4.93-1
- Update to 0.4.93
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.92-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 29 2011 Peng Wu <pwu@redhat.com> - 0.4.92-1
- Update to 0.4.92
* Tue Dec 27 2011 Peng Wu <pwu@redhat.com> - 0.4.91-1
- Update to 0.4.91
* Fri Nov 25 2011 Peng Wu <pwu@redhat.com> - 0.3.0-2
- Increase train factor
* Fri Nov 18 2011 Peng Wu <pwu@redhat.com> - 0.3.0-1
- Update to 0.3.0
* Thu Nov 03 2011 Peng Wu <pwu@redhat.com> - 0.2.99.3-1
- Update to 0.2.99.3
* Mon Oct 31 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-5
- Fixes memory leak and save_db
* Thu Oct 27 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-4
- Update libpinyin-0.3.x-head.patch
* Thu Oct 27 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-3
- Add requires
* Thu Oct 27 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-2
- Add patch libpinyin-0.3.x-head.patch
* Tue Oct 11 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-1
- Update to 0.2.99.2
* Wed Sep 28 2011 Peng Wu <pwu@redhat.com> - 0.2.99.1-1
- Update to 0.2.99.1
* Thu Sep 08 2011 Peng Wu <pwu@redhat.com> - 0.2.99-2
- Split data sub package
* Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1
- Initial version
|