ibus-anthy-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
  2. %define git_source 0
  3. Name: ibus-anthy
  4. Version: 1.2.0.20091127
  5. Release: 1%{?_dist_release}
  6. Summary: The Anthy engine for IBus input platform
  7. License: GPLv2+
  8. Group: System Environment/Libraries
  9. URL: http://code.google.com/p/ibus/
  10. Source0: %{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gettext, libtool, python-devel >= 2.5, anthy-devel, swig
  13. Requires: ibus, anthy
  14. Packager: iwaim
  15. %description
  16. The Anthy engine for iBus platform. It provides Japanese input method from
  17. libanthy.
  18. %prep
  19. %setup -q
  20. %build
  21. %if %{git_source}
  22. ./autogen.sh
  23. %endif
  24. %configure --disable-static
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make DESTDIR=%{buildroot} install
  29. %find_lang %{name}
  30. %clean
  31. rm -rf %{buildroot}
  32. %check
  33. make check
  34. %files -f %{name}.lang
  35. %defattr(-,root,root,-)
  36. %doc AUTHORS COPYING ChangeLog NEWS README
  37. %{_libexecdir}/ibus-engine-anthy
  38. %{_libexecdir}/ibus-setup-anthy
  39. %{python_sitearch}/*
  40. %dir %{_datadir}/ibus-anthy
  41. %{_datadir}/ibus-anthy/*
  42. %{_datadir}/ibus/component/anthy.xml
  43. %changelog
  44. * Sun Nov 29 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20091127-1
  45. - new upstream release
  46. * Thu Oct 8 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20090917-1
  47. - new upstream release
  48. * Thu Sep 17 2009 IWAI, Masaharu <iwai@alib.jp> 1.2.0.20090907-1
  49. - new upstream release
  50. - update BuildRequires
  51. * Fri Aug 28 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090814-1
  52. - new upstream release
  53. * Sat Jun 20 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090603-1
  54. - new upstream release
  55. - add Packager tag
  56. * Sat Apr 4 2009 IWAI, Masaharu <iwai@alib.jp> 1.1.0.20090402-1
  57. - new upstream release
  58. * Mon Feb 23 2009 IWAI, Masaharu <iwai@alib.jp> - 1.1.0.20090211-1
  59. - new upstream release
  60. * Mon Jan 26 2009 IWAI, Masaharu <iwai@alib.jp> - 0.1.1.20090126-1
  61. - initial release