1 |
%define tomoe_version 0.6.0 |
2 |
%define snapdate 20080911 |
3 |
|
4 |
Summary: Zinnia Recognition models |
5 |
Name: zinnia-tomoe |
6 |
Version: %{tomoe_version}.%{snapdate} |
7 |
Release: %mkrel 2 |
8 |
License: LGPLv2+ |
9 |
Group: System/Internationalization |
10 |
Source: http://downloads.sourceforge.net/zinnia/%name-%tomoe_version-%snapdate.tar.bz2 |
11 |
URL: http://zinnia.sourceforge.net/ |
12 |
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot |
13 |
BuildArch: noarch |
14 |
BuildRequires: zinnia >= 0.02 |
15 |
Requires: zinnia >= 0.02 |
16 |
|
17 |
%description |
18 |
Model files trained with Tomoe data. |
19 |
|
20 |
%package ja |
21 |
Summary: Zinnia Recognition models - Japanese data |
22 |
Group: System/Internationalization |
23 |
Provides: %name = %version-%release |
24 |
Requires: locales-ja |
25 |
|
26 |
%description ja |
27 |
Japanese Model files trained with Tomoe data. |
28 |
|
29 |
%package zh_CN |
30 |
Summary: Zinnia Recognition models - Simplified Chinese data |
31 |
Group: System/Internationalization |
32 |
Provides: %name = %version-%release |
33 |
Requires: locales-zh_CN |
34 |
|
35 |
%description zh_CN |
36 |
Simplified Chinese Model files trained with Tomoe data. |
37 |
|
38 |
%prep |
39 |
%setup -qn %name-%tomoe_version-%snapdate |
40 |
|
41 |
%build |
42 |
%configure2_5x |
43 |
%make |
44 |
|
45 |
%install |
46 |
rm -rf %{buildroot} |
47 |
%makeinstall_std |
48 |
|
49 |
%clean |
50 |
rm -rf %{buildroot} |
51 |
|
52 |
%files ja |
53 |
%defattr (-,root,root) |
54 |
%{_prefix}/lib/zinnia/model/tomoe/handwriting-ja.model |
55 |
|
56 |
%files zh_CN |
57 |
%defattr (-,root,root) |
58 |
%{_prefix}/lib/zinnia/model/tomoe/handwriting-zh_CN.model |
59 |
|
60 |
|