[521] | 1 | %define src_name honoka-plugin-kanainput |
---|
| 2 | %define version 0.9.1 |
---|
| 3 | %define release 2%{_dist_release} |
---|
| 4 | |
---|
| 5 | %define honoka_version 0.9.0 |
---|
| 6 | |
---|
| 7 | Name: scim-honoka-plugin-kanainput |
---|
| 8 | Summary: A Hiragana input plugin for HONOKA-TAN |
---|
| 9 | Summary(ja): ほのかたんのためのひらがな入力プラグイン |
---|
| 10 | Version: %{version} |
---|
| 11 | Release: %{release} |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | License: GPLv2 |
---|
| 14 | URL: http://nop.net-p.org/modules/pukiwiki/index.php?%5B%5Bhonoka%5D%5D |
---|
| 15 | Source0: %{src_name}-%{version}.tar.bz2 |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: scim-honoka-devel >= %{honoka_version} |
---|
| 18 | BuildRequires: automake |
---|
| 19 | BuildRequires: libtool-ltdl |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | scim-honoka-plugin-kanainput is a Hiragana input plugin for HONOKA-TAN. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | scim-honoka-plugin-kanainput はほのかたんのためのひらがな入力プラグインです. |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n %{src_name}-%{version} |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | [[ -f configure ]] || ./bootstrap |
---|
| 32 | |
---|
| 33 | %configure |
---|
| 34 | # (tv) parallel build is broken: --> OK??? |
---|
| 35 | %{__make} %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
---|
| 40 | |
---|
| 41 | # remove unpackaged files |
---|
| 42 | rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/honoka/*.{a,la} |
---|
| 43 | |
---|
| 44 | %find_lang %{src_name} |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %post -p /sbin/ldconfig |
---|
| 50 | %postun -p /sbin/ldconfig |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files -f %{src_name}.lang |
---|
| 54 | %defattr(-,root,root) |
---|
| 55 | %doc AUTHORS COPYING ChangeLog README.jp |
---|
| 56 | %{_libdir}/scim-1.0/*/honoka/*.so |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %changelog |
---|
| 60 | * Sat Oct 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.1-2 |
---|
| 61 | - spec in utf-8 |
---|
| 62 | |
---|
| 63 | * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.1-1vl5 |
---|
| 64 | - initial build for VineSeed |
---|
| 65 | |
---|
| 66 | ### end of file |
---|