scim-tomoe-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %define scimlibdirver 1.4.0
  2. %define _tomoe_ver 0.6.0
  3. %define _libtomoe_gtk_ver 0.6.0
  4. Summary: SCIM module for Tomoe Japanese handwritten character recognition engine Tomoe
  5. Summary(ja): 日本語手書き文字認識エンジン「巴」の SCIM モジュール
  6. Name: scim-tomoe
  7. Version: 0.6.0
  8. Release: 1%{?_dist_release}
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. URL: http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMTomoe
  12. Source0: %{name}-%{version}.tar.gz
  13. License: GPLv2+
  14. Group: System Environment/Libraries
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Requires: scim >= 1.4.5
  17. Requires: tomoe >= %{_tomoe_ver}, tomoe-gtk >= %{_libtomoe_gtk_ver}
  18. BuildRequires: scim-devel >= 1.4.5
  19. BuildRequires: tomoe-devel >= %{_tomoe_ver}
  20. BuildRequires: tomoe-gtk-devel >= %{_libtomoe_gtk_ver}
  21. %description
  22. SCIM module for Tomoe Japanese handwritten character recognition engine Tomoe
  23. %description -l ja
  24. 日本語手書き文字認識エンジン「巴」の SCIM モジュール
  25. %prep
  26. %setup -q
  27. %build
  28. %configure \
  29. --disable-static
  30. %__make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. %__make install DESTDIR=%{buildroot}
  34. # remove unneeded files
  35. %__rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/*/*.la
  36. %find_lang %{name}
  37. # remove unpackaged files
  38. rm -rf %{buildroot}%{_libdir}/scim-1.0/%{scimlibdirver}/Helper/tomoe.{a,la}
  39. %clean
  40. rm -rf %{buildroot}
  41. %files -f %{name}.lang
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  44. %{_bindir}/scim-tomoe
  45. %{_libdir}/scim-1.0/%{scimlibdirver}/Helper/tomoe.so
  46. %{_datadir}/scim/icons/scim-tomoe.png
  47. %changelog
  48. * Sun May 31 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.0-1
  49. - new upstream release
  50. - added --disable-static in %%configure
  51. - dropped scim-tomoe-0.3.0-moduledir.patch
  52. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.0-1vl5
  53. - applied new versioning policy, spec in utf-8
  54. * Sun Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.5.0-0vl1
  55. - new upstream release
  56. - update required version of tomoe, libtomoe-gtk
  57. - update %%files section
  58. * Thu Dec 14 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.0-0vl2
  59. - rebuilt with scim-1.4.5, Requires/BuildRequires bumped up to 1.4.5
  60. - add Patch10 to fix Helper module path
  61. * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.3.0-0vl1
  62. - new upstream release
  63. - fix dependency
  64. - Requires: libtomoe-gtk instead of libtomoe-gtk-devel
  65. - BuildRequires: libtomoe-gtk-devel instead of libtomoe-gtk
  66. * Tue Apr 11 2006 IWAI, Masaharu <iwai@alib.jp> 0.2.0-0vl1
  67. - Initial build.