scim-qtimm-vl.spec 1.8 KB

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