1 | %define src_name honoka-plugin-wnn |
---|
2 | %define version 0.9.0 |
---|
3 | %define release 4%{_dist_release} |
---|
4 | |
---|
5 | %global honoka_version 0.9.0 |
---|
6 | |
---|
7 | Name: scim-honoka-plugin-wnn |
---|
8 | Summary: a Wnn input plugin for HONOKA-TAN |
---|
9 | Summary(ja): ほのかたんのための Wnn 入力プラグイン |
---|
10 | Version: %{version} |
---|
11 | Release: %{release} |
---|
12 | Group: System Environment/Libraries |
---|
13 | License: GPL |
---|
14 | URL: http://sourceforge.jp/projects/scim-imengine/ |
---|
15 | Source0: http://nop.net-p.org/files/honoka/%{src_name}-%{version}.tar.gz |
---|
16 | Patch0: scim-honoka-plugin-wnn-0.9.0_for-wnn8.patch |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | Requires: libwnn7 |
---|
19 | Requires: scim-honoka-plugin-ascii >= %{honoka_version} |
---|
20 | Requires: scim-honoka-plugin-kanainput >= %{honoka_version} |
---|
21 | Requires: scim-honoka-plugin-romkan >= %{honoka_version} |
---|
22 | Requires: scim-honoka-plugin-simpleprediction >= %{honoka_version} |
---|
23 | BuildRequires: scim-honoka-devel >= %{honoka_version} |
---|
24 | BuildRequires: libwnn7-devel |
---|
25 | BuildRequires: automake |
---|
26 | BuildRequires: libtool-ltdl |
---|
27 | |
---|
28 | %description |
---|
29 | scim-honoka-plugin-wnn is a Wnn input plugin for HONOKA-TAN. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | scim-honoka-plugin-wnn はほのかたんのための Wnn 入力プラグインです. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n %{src_name}-%{version} |
---|
36 | %patch0 -p1 -b .wnn8 |
---|
37 | |
---|
38 | %build |
---|
39 | [[ -f configure ]] || ./bootstrap |
---|
40 | |
---|
41 | %configure |
---|
42 | # (tv) parallel build is broken: --> OK??? |
---|
43 | %{__make} %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
47 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
---|
48 | |
---|
49 | # remove unpackaged files |
---|
50 | rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/honoka/*.{a,la} |
---|
51 | |
---|
52 | %find_lang %{src_name} |
---|
53 | |
---|
54 | %clean |
---|
55 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %post -p /sbin/ldconfig |
---|
58 | %postun -p /sbin/ldconfig |
---|
59 | |
---|
60 | |
---|
61 | %files -f %{src_name}.lang |
---|
62 | %defattr(-,root,root) |
---|
63 | %doc AUTHORS COPYING ChangeLog README.jp |
---|
64 | %{_libdir}/scim-1.0/*/honoka/*.so |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-4 |
---|
69 | - changed BuildRequires: libwnn7-devel |
---|
70 | |
---|
71 | * Sun Oct 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-3 |
---|
72 | - spec in utf-8 |
---|
73 | |
---|
74 | * Sun Mar 23 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-2vl5 |
---|
75 | - change Group: System Environment/Libraries |
---|
76 | |
---|
77 | * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-1vl5 |
---|
78 | - initial build for VineSeed |
---|
79 | with scim-honoka-plugin-wnn-0.9.0_for-wnn8.patch |
---|
80 | |
---|
81 | ### end of file |
---|