File tegaki-zinnia-japanese.spec of Package tegaki-zinnia-japanese

Summary: Japanese Models for tegaki zinnia engine
Name: tegaki-zinnia-japanese
Version: 0.3
Release: 1
License: GPLv2+
Group: System/i18n
Source0: %{name}-%{version}.zip
URL: http://www.tegaki.org
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
BuildArch: noarch
BuildRequires: unzip
Requires: tegaki-recognize
Requires: zinnia python-zinnia

%description
Tegaki is an ongoing project which aims to develop a free and open-source
modern implementation of handwriting recognition software, that is suitable for
both the desktop and mobile devices, and that is designed from the ground up to
work well with Chinese and Japanese.

%prep
%setup -q

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/tegaki/models/zinnia/
install -m0644 *.meta *.model %{buildroot}%{_datadir}/tegaki/models/zinnia/

%clean
rm -rf %{buildroot}

%files
%defattr (-,root,root)
%{_datadir}/tegaki