source: projects/specs/trunk/t/tegaki-recognize/tegaki-recognize-vl.spec @ 1184

Revision 1184, 1.5 KB checked in by iwaim, 14 years ago (diff)

tegaki specs (new)

Line 
1# -*- coding: utf-8 -*-
2Summary: Open-Source Chinese and Japanese Handwriting Recognition
3Summary: オープンソースの中国語/日本語手書き認識
4Name: tegaki-recognize
5Version: 0.3.1.2
6Release: 1%{?_dist_release}
7License: GPLv2
8Group: Applications/System
9URL: http://www.tegaki.org/
10Source0: http://www.tegaki.org/releases/%{version}/%{name}-%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12BuildRequires: python-devel
13BuildRequires(check): desktop-file-utils
14Requires: tegaki-pygtk >= 0.2
15Requires: tegaki-model
16BuildArch: noarch
17
18%description
19Open-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
40if [ -x %{_bindir}/update-desktop-database ] ; then
41%{_bindir}/update-desktop-database %{_datadir}/applications
42fi
43
44%postun
45if [ -x %{_bindir}/update-desktop-database ] ; then
46%{_bindir}/update-desktop-database %{_datadir}/applications
47fi
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.