1 | %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") |
---|
2 | |
---|
3 | %define git_source 0 |
---|
4 | |
---|
5 | Name: ibus-anthy |
---|
6 | Version: 1.2.0.20091127 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | Summary: The Anthy engine for IBus input platform |
---|
9 | License: GPLv2+ |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://code.google.com/p/ibus/ |
---|
12 | Source0: %{name}-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: gettext, libtool, python-devel >= 2.5, anthy-devel, swig |
---|
15 | Requires: ibus, anthy |
---|
16 | |
---|
17 | Packager: iwaim |
---|
18 | |
---|
19 | %description |
---|
20 | The Anthy engine for iBus platform. It provides Japanese input method from |
---|
21 | libanthy. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q |
---|
25 | |
---|
26 | %build |
---|
27 | %if %{git_source} |
---|
28 | ./autogen.sh |
---|
29 | %endif |
---|
30 | %configure --disable-static |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | %install |
---|
34 | rm -rf %{buildroot} |
---|
35 | make DESTDIR=%{buildroot} install |
---|
36 | |
---|
37 | %find_lang %{name} |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf %{buildroot} |
---|
41 | |
---|
42 | %check |
---|
43 | make check |
---|
44 | |
---|
45 | %files -f %{name}.lang |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
48 | %{_libexecdir}/ibus-engine-anthy |
---|
49 | %{_libexecdir}/ibus-setup-anthy |
---|
50 | %{python_sitearch}/* |
---|
51 | %dir %{_datadir}/ibus-anthy |
---|
52 | %{_datadir}/ibus-anthy/* |
---|
53 | %{_datadir}/ibus/component/anthy.xml |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Sun Nov 29 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20091127-1 |
---|
57 | - new upstream release |
---|
58 | |
---|
59 | * Thu Oct 8 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20090917-1 |
---|
60 | - new upstream release |
---|
61 | |
---|
62 | * Thu Sep 17 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20090907-1 |
---|
63 | - new upstream release |
---|
64 | - update BuildRequires |
---|
65 | |
---|
66 | * Fri Aug 28 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090814-1 |
---|
67 | - new upstream release |
---|
68 | |
---|
69 | * Sat Jun 20 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090603-1 |
---|
70 | - new upstream release |
---|
71 | - add Packager tag |
---|
72 | |
---|
73 | * Sat Apr 4 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090402-1 |
---|
74 | - new upstream release |
---|
75 | |
---|
76 | * Mon Feb 23 2009 IWAI, Masaharu <iwai@alib.jp> - 1.1.0.20090211-1 |
---|
77 | - new upstream release |
---|
78 | |
---|
79 | * Mon Jan 26 2009 IWAI, Masaharu <iwai@alib.jp> - 0.1.1.20090126-1 |
---|
80 | - initial release |
---|