prime-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. %define name prime
  2. %define version 1.0.0.1
  3. %define release 1%{?_dist_release}
  4. Summary: a Japanese PRedictive Input Method Editor
  5. Summary(ja): 日本語予測入力システム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. URL: http://sourceforge.jp/projects/prime/
  10. Source0: %{name}-%{version}.tar.bz2
  11. Group: Applications/System
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. License: GPL
  14. Requires: prime-dict
  15. Requires: suikyo
  16. Requires: ruby-progressbar
  17. Requires: ruby-sary >= 1.2.0
  18. BuildRequires: ruby
  19. %description
  20. PRIME is Japanese PRedictive Input Method Editor.
  21. %description -l ja
  22. PRIME は日本語予測入力システムです.
  23. %prep
  24. %setup -q
  25. %build
  26. [[ ! -x configure ]] && ./autogen.sh
  27. %configure --with-rubydir=%{rlibdir}
  28. # parallel build is broken:
  29. #% {__make} %{?_smp_mflags}
  30. %{__make}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  34. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/prime
  35. cp -f etc/Custom_prime.rb $RPM_BUILD_ROOT/%{_sysconfdir}/prime/
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post -p /sbin/ldconfig
  39. %postun -p /sbin/ldconfig
  40. %files
  41. %defattr(-,root,root)
  42. %doc ChangeLog COPYING README TODO
  43. %{_sysconfdir}/*
  44. %{_datadir}/%{name}
  45. %{_datadir}/doc/%{name}/
  46. %{_bindir}/*
  47. %{_libdir}/*
  48. %changelog
  49. * Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0.1-1
  50. - initial build for VineSeed
  51. * Sat Mar 29 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0.1-1vl5
  52. - initial build for VineSeed
  53. ### end of file