1 | %define scimlibdirver 1.4.0 |
---|
2 | %define _tomoe_ver 0.6.0 |
---|
3 | %define _libtomoe_gtk_ver 0.6.0 |
---|
4 | |
---|
5 | Summary: SCIM module for Tomoe Japanese handwritten character recognition engine Tomoe |
---|
6 | Summary(ja): 日本語手書き文字認識エンジン「巴」の SCIM モジュール |
---|
7 | Name: scim-tomoe |
---|
8 | Version: 0.6.0 |
---|
9 | Release: 2%{?_dist_release} |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | URL: http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMTomoe |
---|
13 | Source0: %{name}-%{version}.tar.gz |
---|
14 | License: GPLv2+ |
---|
15 | Group: System Environment/Libraries |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | Requires: scim >= 1.4.5 |
---|
18 | Requires: tomoe >= %{_tomoe_ver}, tomoe-gtk >= %{_libtomoe_gtk_ver} |
---|
19 | BuildRequires: scim-devel >= 1.4.5 |
---|
20 | BuildRequires: tomoe-devel >= %{_tomoe_ver} |
---|
21 | BuildRequires: tomoe-gtk-devel >= %{_libtomoe_gtk_ver} |
---|
22 | |
---|
23 | %description |
---|
24 | SCIM module for Tomoe Japanese handwritten character recognition engine Tomoe |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | 日本語手書き文字認識エンジン「巴」の SCIM モジュール |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | %build |
---|
33 | %configure \ |
---|
34 | --disable-static |
---|
35 | %__make %{?_smp_mflags} |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf %{buildroot} |
---|
39 | %__make install DESTDIR=%{buildroot} |
---|
40 | |
---|
41 | # remove unneeded files |
---|
42 | %__rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/*/*.la |
---|
43 | |
---|
44 | %find_lang %{name} |
---|
45 | |
---|
46 | # remove unpackaged files |
---|
47 | rm -rf %{buildroot}%{_libdir}/scim-1.0/%{scimlibdirver}/Helper/tomoe.{a,la} |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %files -f %{name}.lang |
---|
53 | %defattr(-,root,root) |
---|
54 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
55 | %{_bindir}/scim-tomoe |
---|
56 | %{_libdir}/scim-1.0/%{scimlibdirver}/Helper/tomoe.so |
---|
57 | %{_datadir}/scim/icons/scim-tomoe.png |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-2 |
---|
61 | - rebuild with current Vine6 environment |
---|
62 | |
---|
63 | * Sun May 31 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.0-1 |
---|
64 | - new upstream release |
---|
65 | - added --disable-static in %%configure |
---|
66 | - dropped scim-tomoe-0.3.0-moduledir.patch |
---|
67 | |
---|
68 | * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.0-1vl5 |
---|
69 | - applied new versioning policy, spec in utf-8 |
---|
70 | |
---|
71 | * Sun Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.0-0vl1 |
---|
72 | - new upstream release |
---|
73 | - update required version of tomoe, libtomoe-gtk |
---|
74 | - update %%files section |
---|
75 | |
---|
76 | * Thu Dec 14 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.0-0vl2 |
---|
77 | - rebuilt with scim-1.4.5, Requires/BuildRequires bumped up to 1.4.5 |
---|
78 | - add Patch10 to fix Helper module path |
---|
79 | |
---|
80 | * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.0-0vl1 |
---|
81 | - new upstream release |
---|
82 | - fix dependency |
---|
83 | - Requires: libtomoe-gtk instead of libtomoe-gtk-devel |
---|
84 | - BuildRequires: libtomoe-gtk-devel instead of libtomoe-gtk |
---|
85 | |
---|
86 | * Tue Apr 11 2006 IWAI, Masaharu <iwai@alib.jp> 0.2.0-0vl1 |
---|
87 | - Initial build. |
---|