ibus-qt-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. %define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
  2. %define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins)
  3. %define ver 1.3.2
  4. %define rel 2
  5. Summary: Qt IBus library and Qt input method plugin
  6. Summary(ja): Qt iBus ライブラリと入力メソッドプラグイン
  7. Name: ibus-qt
  8. Version: %{ver}
  9. Release: %{rel}%{?_dist_release}
  10. License: GPLv2+
  11. Group: System Environment/Libraries
  12. URL: http://code.google.com/p/ibus/
  13. Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: cmake
  16. BuildRequires: qt4-devel >= 4.5
  17. BuildRequires: dbus-devel >= 1.2
  18. BuildRequires: ibus-devel >= 1.3.7
  19. BuildRequires: libicu-devel >= 4.0
  20. BuildRequires: doxygen >= 1.6
  21. Requires: ibus >= 1.3.7
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: iwaim
  25. %description
  26. This includes Qt IBus library and Qt input method plugin.
  27. %package devel
  28. Summary: Development tools for ibus Qt
  29. Summary(ja): ibus Qt の開発用ファイル
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. %description devel
  33. The ibus-qt-devel package contains the header files for ibus Qt library.
  34. %prep
  35. %setup -q -n %{name}-%{version}-Source
  36. %build
  37. %cmake \
  38. -DCMAKE_INSTALL_PREFIX=%{_usr} \
  39. -DLIBDIR=%{_libdir}
  40. make \
  41. VERBOSE=1 \
  42. C_DEFINES="$RPM_OPT_FLAGS" \
  43. CXX_DEFINES="$RPM_OPT_FLAGS" \
  44. %{?_smp_mflags}
  45. make docs
  46. %install
  47. %{__rm} -rf %{buildroot}
  48. make install DESTDIR=%{buildroot}
  49. %clean
  50. %{__rm} -rf %{buildroot}
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS COPYING README
  56. %{_libdir}/libibus-qt.so.*
  57. %{_qt4_plugindir}/inputmethods/libqtim-ibus.so
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %doc docs/html
  61. %dir %{_includedir}/ibus-qt
  62. %{_includedir}/ibus-qt/*.h
  63. %{_libdir}/libibus-qt.so
  64. %changelog
  65. * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-2
  66. - rebuilt with libuci 54.1
  67. * Tue Nov 4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-1
  68. - updated to 1.3.2
  69. - added BR: ibus-devel
  70. * Sat Jan 7 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.0-2
  71. - rebuilt with qt-4.8.0
  72. * Sun Jun 6 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
  73. - Initial build.