1 | %define src_name honoka-plugin-anthy |
---|
2 | %define version 0.9.0 |
---|
3 | %define release 2%{_dist_release} |
---|
4 | |
---|
5 | %define honoka_version 0.9.0 |
---|
6 | %define anthy_version 6606 |
---|
7 | |
---|
8 | Name: scim-honoka-plugin-anthy |
---|
9 | Summary: An Anthy input plugin for HONOKA-TAN |
---|
10 | Summary(ja): ほのかたんのための Anthy 入力プラグイン |
---|
11 | Version: %{version} |
---|
12 | Release: %{release} |
---|
13 | Group: System Environment/Libraries |
---|
14 | License: GPLv2 |
---|
15 | URL: http://sourceforge.jp/projects/scim-imengine/ |
---|
16 | Source0: %{src_name}-%{version}.tar.bz2 |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | Requires: anthy >= %{anthy_version} |
---|
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: anthy-devel >= %{anthy_version} |
---|
25 | BuildRequires: automake |
---|
26 | BuildRequires: libtool-ltdl |
---|
27 | |
---|
28 | %description |
---|
29 | scim-honoka-plugin-anthy is an Anthy input plugin for HONOKA-TAN. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | scim-honoka-plugin-anthy はほのかたんのための Anthy 入力プラグインです. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n %{src_name}-%{version} |
---|
36 | |
---|
37 | %build |
---|
38 | autoreconf |
---|
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 | %files -f %{src_name}.lang |
---|
61 | %defattr(-,root,root) |
---|
62 | %doc AUTHORS COPYING ChangeLog README.jp |
---|
63 | %{_libdir}/scim-1.0/*/honoka/*.so |
---|
64 | |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Sat Oct 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-2 |
---|
68 | - spec in utf-8 |
---|
69 | |
---|
70 | * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.0-1vl5 |
---|
71 | - initial build for VineSeed |
---|
72 | |
---|
73 | ### end of file |
---|