1 | %define src_name honoka |
---|
2 | %define version 0.9.1 |
---|
3 | %define release 2%{_dist_release} |
---|
4 | |
---|
5 | Summary: HONOKA-TAN is an SCIM IMEngine module for Japanese |
---|
6 | Summary(ja): ほのかたんは日本語のための SCIM IMEngine モジュールの 1 つです |
---|
7 | Name: scim-honoka |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | Source0: %{src_name}-%{version}.tar.bz2 |
---|
11 | License: GPLv2 |
---|
12 | URL: http://nop.net-p.org/modules/pukiwiki/index.php?%5B%5Bhonoka%5D%5D |
---|
13 | Group: System Environment/Libraries |
---|
14 | |
---|
15 | Requires: scim >= 1.4.3 |
---|
16 | BuildRequires: scim-devel >= 1.4.7 |
---|
17 | BuildRequires: automake, libtool-ltdl |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | %description |
---|
21 | HONOKA-TAN is an SCIM IMEngine module for Japanese. |
---|
22 | |
---|
23 | %description -l ja |
---|
24 | ほのかたんは日本語のための SCIM IMEngine モジュールの 1 つです. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development package for %{name} |
---|
28 | Summary(ja): %{name} のための開発パッケージ |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | |
---|
32 | %description devel |
---|
33 | HONOKA-TAN is an SCIM IMEngine module for Japanese. |
---|
34 | This package contains development files for %{name}. |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n %{src_name}-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | [[ -f configure ]] || ./bootstrap |
---|
42 | |
---|
43 | %configure |
---|
44 | # (tv) parallel build is broken: --> OK??? |
---|
45 | %{__make} %{?_smp_mflags} |
---|
46 | |
---|
47 | %install |
---|
48 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
49 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
---|
50 | |
---|
51 | %find_lang %{src_name} |
---|
52 | |
---|
53 | # remove unpackaged files |
---|
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
55 | rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/Helper/*.{a,la} |
---|
56 | rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/IMEngine/*.{a,la} |
---|
57 | rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/SetupUI/*.{a,la} |
---|
58 | |
---|
59 | %clean |
---|
60 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | %postun -p /sbin/ldconfig |
---|
64 | |
---|
65 | |
---|
66 | %files -f %{src_name}.lang |
---|
67 | %defattr(-,root,root) |
---|
68 | %doc AUTHORS COPYING ChangeLog README |
---|
69 | %{_datadir}/scim/icons/* |
---|
70 | %{_libdir}/*.so.* |
---|
71 | #%{_libdir}/scim-1.0/*/Helper/*.so |
---|
72 | %{_libdir}/scim-1.0/*/IMEngine/*.so |
---|
73 | %{_libdir}/scim-1.0/*/SetupUI/*.so |
---|
74 | |
---|
75 | %files devel |
---|
76 | %defattr(-,root,root) |
---|
77 | %{_includedir}/%{src_name}/*.h |
---|
78 | %{_libdir}/*.a |
---|
79 | #%{_libdir}/*.la |
---|
80 | %{_libdir}/*.so |
---|
81 | %{_libdir}/pkgconfig/%{src_name}.pc |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.1-2vl5 |
---|
86 | - removed *.la |
---|
87 | - spec in utf-8 |
---|
88 | |
---|
89 | * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.1-1vl5 |
---|
90 | - initial build for VineSeed |
---|
91 | |
---|
92 | ### end of file |
---|