source: projects/specs/trunk/s/scim-qtimm/scim-qtimm-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1#%define qtver  3.3.5
2%define qtver   3.3.8
3%define qtdir   %{_libdir}/qt-%{qtver}
4
5Summary:        A plugin for using SCIM with Qt
6Summary(ja):    QtでSCIMを使うためのプラグイン
7Name:           scim-qtimm
8Version:        0.9.4
9Release:        2%{?_dist_release}
10License:        GPL+
11Group:          System Environment/Libraries
12URL:            http://www.scim-im.org/projects/scim_qtimm/
13Source0:        http://prdownloads.sourceforge.net/scim/scim-qtimm-%{version}.tar.bz2
14
15# patches from Fedora (original:suse)
16Patch1:         scim-qtimm-0.9.4-silence-debug-output-244200.patch
17Patch2:         scim-qtimm-suse116220-keyboard-layout.patch
18Patch3:         scim-qtimm-suse206547-scim-qtimm-crash.patch
19
20Requires:       scim >= 1.4.2, qt = %{qtver}
21BuildRequires:  scim-devel >= 1.4.2, qt-devel
22BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
23
24Vendor:         Project Vine
25Distribution:   Vine Linux
26
27%description
28A plugin for using SCIM with Qt.
29
30%description -l ja
31Qtで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
40export 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
Note: See TracBrowser for help on using the repository browser.