1 | #%define qtver 3.3.5 |
---|
2 | %define qtver 3.3.8 |
---|
3 | %define qtdir %{_libdir}/qt-%{qtver} |
---|
4 | |
---|
5 | Summary: A plugin for using SCIM with Qt |
---|
6 | Summary(ja): QtでSCIMを使うためのプラグイン |
---|
7 | Name: scim-qtimm |
---|
8 | Version: 0.9.4 |
---|
9 | Release: 2%{?_dist_release} |
---|
10 | License: GPL+ |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: http://www.scim-im.org/projects/scim_qtimm/ |
---|
13 | Source0: http://prdownloads.sourceforge.net/scim/scim-qtimm-%{version}.tar.bz2 |
---|
14 | |
---|
15 | # patches from Fedora (original:suse) |
---|
16 | Patch1: scim-qtimm-0.9.4-silence-debug-output-244200.patch |
---|
17 | Patch2: scim-qtimm-suse116220-keyboard-layout.patch |
---|
18 | Patch3: scim-qtimm-suse206547-scim-qtimm-crash.patch |
---|
19 | |
---|
20 | Requires: scim >= 1.4.2, qt = %{qtver} |
---|
21 | BuildRequires: scim-devel >= 1.4.2, qt-devel |
---|
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | |
---|
27 | %description |
---|
28 | A plugin for using SCIM with Qt. |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | QtでSCIMを使うためのプラグインです。 |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | %patch1 -p1 -b .1-debug |
---|
36 | %patch2 -p1 -b .2-kbd |
---|
37 | %patch3 -p1 -b .1-crash |
---|
38 | |
---|
39 | %build |
---|
40 | export QTDIR=%{qtdir} |
---|
41 | %configure |
---|
42 | %__make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | %__rm -rf %{buildroot} |
---|
46 | %__make install DESTDIR=%{buildroot} |
---|
47 | |
---|
48 | %find_lang %{name} |
---|
49 | |
---|
50 | # remove unneeded files |
---|
51 | %__rm -f %{buildroot}%{qtdir}/plugins/inputmethods/*.{a,la} |
---|
52 | |
---|
53 | %clean |
---|
54 | %__rm -rf %{buildroot} |
---|
55 | |
---|
56 | %files -f %{name}.lang |
---|
57 | %defattr(-,root,root) |
---|
58 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
59 | %{qtdir}/plugins/inputmethods/*.so |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Mon Feb 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.4-2vl5 |
---|
63 | - added Patch1,Patch2,Patch3 (import from Fedora) |
---|
64 | - added Summary(ja), %description -l ja |
---|
65 | - fixed license tag |
---|
66 | |
---|
67 | * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.4-1vl5 |
---|
68 | - applied new versioning policy |
---|
69 | - set qtver macro to 3.3.8 |
---|
70 | |
---|
71 | * Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.9.4-0vl1 |
---|
72 | - initial build |
---|