1 | # -*- coding: utf-8 -*- |
---|
2 | Name: tegaki-recognize |
---|
3 | Version: 0.3.1.2 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Summary: Open-Source Chinese and Japanese Handwriting Recognition |
---|
6 | Summary(ja): オープンソースの中国語/日本語手書き認識 |
---|
7 | |
---|
8 | License: GPLv2 |
---|
9 | Group: Applications/System |
---|
10 | URL: http://www.tegaki.org/ |
---|
11 | Source0: http://www.tegaki.org/releases/%{version}/%{name}-%{version}.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | BuildRequires: python-devel |
---|
14 | BuildRequires: desktop-file-utils |
---|
15 | Requires(post): desktop-file-utils |
---|
16 | Requires(postun): desktop-file-utils |
---|
17 | Requires: tegaki-pygtk >= 0.2 |
---|
18 | Requires: tegaki-model |
---|
19 | BuildArch: noarch |
---|
20 | |
---|
21 | %description |
---|
22 | Open-Source Chinese and Japanese Handwriting Recognition |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | オープンソースの中国語/日本語手書き認識 |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | %build |
---|
30 | %{__python} setup.py build |
---|
31 | |
---|
32 | %install |
---|
33 | %{__rm} -rf %{buildroot} |
---|
34 | %{__python} setup.py install --prefix %{buildroot}%{_prefix} |
---|
35 | |
---|
36 | %check |
---|
37 | %{_bindir}/desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
38 | |
---|
39 | %clean |
---|
40 | %{__rm} -rf %{buildroot} |
---|
41 | |
---|
42 | %post |
---|
43 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
44 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
45 | fi |
---|
46 | |
---|
47 | %postun |
---|
48 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
49 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
50 | fi |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc AUTHORS COPYRIGHT README COPYING ChangeLog |
---|
55 | %{_bindir}/%{name} |
---|
56 | %{_datadir}/applications/%{name}.desktop |
---|
57 | %{_datadir}/menu/tegaki-recognize |
---|
58 | %{_datadir}/pixmaps/tegaki-recognize.svg |
---|
59 | %{python_sitelib}/tegaki_recognize*.egg-info |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Fri Jun 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.3.1.2-2 |
---|
63 | - rebuilt on current VineSeed |
---|
64 | |
---|
65 | * Wed Jun 9 2010 IWAI, Masaharu <iwai@alib.jp> 0.3.1.2-1 |
---|
66 | - Initial build. |
---|
67 | |
---|
68 | |
---|