scim-wnn-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %define name scim-wnn
  2. %define version 1.0.0
  3. %define release 4%{?_dist_release}
  4. Summary: an SCIM IMEngine module for Wnn
  5. Summary(ja): Wnn のための SCIM IMEngine モジュール
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: %{name}-%{version}.tar.gz
  10. Patch0: scim-wnn-1.0.0_for-wnn8.patch
  11. License: GPLv2
  12. URL: http://sourceforge.jp/projects/scim-imengine/
  13. Group: System Environment/Libraries
  14. Requires: libwnn7
  15. Requires: scim, gtk2, atk, pango, freetype2, glib2
  16. BuildRequires: libwnn7-devel
  17. BuildRequires: scim-devel, gtk2-devel, atk-devel, pango-devel,
  18. BuildRequires: freetype2-devel, glib2-devel
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. %description
  21. scim-wnn is an SCIM IMEngine module for Wnn.
  22. %description -l ja
  23. scim-wnn は,Wnn のための SCIM IMEngine モジュールです.
  24. %prep
  25. %setup -q
  26. %patch0 -p1 -b .wnn8
  27. %build
  28. %configure --disable-static
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. %{__make} DESTDIR=%{buildroot} install
  33. %{find_lang} %{name}
  34. # remove unpackaged files
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/Helper/*.{a,la}
  36. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/IMEngine/*.{a,la}
  37. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/SetupUI/*.{a,la}
  38. %clean
  39. rm -rf %{buildroot}
  40. %files -f %{name}.lang
  41. %defattr(-,root,root)
  42. %doc AUTHORS COPYING ChangeLog NEWS README
  43. #%{_libdir}/scim-1.0/*/Helper/*.so
  44. %{_libdir}/scim-1.0/*/IMEngine/wnn.so
  45. %{_libdir}/scim-1.0/*/SetupUI/wnn-imengine-setup.so
  46. %{_datadir}/scim/scim-wnn/*.rkt
  47. %{_datadir}/scim/icons/*.png
  48. %changelog
  49. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-4
  50. - changed BuildRequires: libwnn7-devel
  51. * Sat Oct 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-3
  52. - rebuild
  53. * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-2
  54. - spec in utf-8
  55. * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-1vl5
  56. - initial build for VineSeed
  57. * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-1vl5
  58. - initial build for VineSeed
  59. * Sat Mar 8 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0-0vlmp1
  60. - initial build
  61. with scim-wnn-1.0.0_for-wnn8.patch
  62. ### end of file