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