ibus-qt-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %define ver 1.3.0
  2. %define rel 1
  3. Summary: Qt IBus library and Qt input method plugin
  4. Name: ibus-qt
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: GPLv2+
  8. Group: System Environment/Libraries
  9. URL: http://code.google.com/p/ibus/
  10. Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  12. BuildRequires: cmake
  13. BuildRequires: qt4-devel >= 4.5
  14. BuildRequires: dbus-devel >= 1.2
  15. BuildRequires: libicu-devel >= 4.0
  16. BuildRequires: doxygen >= 1.6
  17. #BuildRequires: ibus-devel >= 1.3.0
  18. Requires: ibus >= 1.3
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: iwaim
  22. %description
  23. This includes Qt IBus library and Qt input method plugin.
  24. %package devel
  25. Summary: Development tools for ibus Qt
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. The ibus-qt-devel package contains the header files for ibus Qt library.
  30. %prep
  31. %setup -q -n %{name}-%{version}-Source
  32. %build
  33. %cmake \
  34. -DCMAKE_INSTALL_PREFIX=%{_usr} \
  35. -DLIBDIR=%{_libdir}
  36. make \
  37. VERBOSE=1 \
  38. C_DEFINES="$RPM_OPT_FLAGS" \
  39. CXX_DEFINES="$RPM_OPT_FLAGS" \
  40. %{?_smp_mflags}
  41. make docs
  42. %install
  43. %{__rm} -rf %{buildroot}
  44. make install DESTDIR=%{buildroot}
  45. %clean
  46. %{__rm} -rf %{buildroot}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS README INSTALL
  52. %{_libdir}/libibus-qt.so.*
  53. %{_libdir}/qt*4*/plugins/inputmethods/libqtim-ibus.so
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %doc docs/html
  57. %dir %{_includedir}/ibus-qt
  58. %{_includedir}/ibus-qt/*.h
  59. %{_libdir}/libibus-qt.so
  60. %changelog
  61. * Sun Jun 6 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
  62. - Initial build.