mecab-ipadic-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. %define name mecab-ipadic
  2. %define ver 2.7.0
  3. %define date 20070801
  4. %define release 3%{?_dist_release}
  5. %define dicdir %(mecab-config --dicdir 2> /dev/null || echo %{_prefix}/lib/mecab/dic)
  6. Summary: IPA dictionary for MeCab
  7. Summary(ja): MeCab用のIPA辞書
  8. Name: %{name}
  9. Version: %{ver}.%{date}
  10. Release: %{release}
  11. Source0: http://downloads.sourceforge.net/mecab/%{name}-%{ver}-%{date}.tar.gz
  12. License: distributable
  13. Group: Applications/Other
  14. URL: http://mecab.sourceforge.net/
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. BuildRequires: mecab-devel >= 0.96
  19. Requires: mecab >= 0.96
  20. %description
  21. IPA dictionary for MeCab
  22. %description -l ja
  23. MeCab用のIPA辞書です。IPAコーパスに基づきCRFでパラメータ推定しています。
  24. %prep
  25. %setup -q -n %{name}-%{ver}-%{date}
  26. %build
  27. %configure \
  28. --with-dicdir=%{dicdir}/ipadic \
  29. --with-charset=utf-8
  30. %__make
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make DESTDIR=${RPM_BUILD_ROOT} install
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root)
  38. #%{_prefix}/lib/mecab/dic/ipadic
  39. %{dicdir}/ipadic
  40. %changelog
  41. * Mon Apr 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.7.0.20070801-3
  42. - fixed ipadic path (for x86_64)
  43. * Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0.20070801-2
  44. - converted to utf-8
  45. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.0.20070801-1vl5
  46. - applied new versioning policy, spec in utf-8
  47. - set --with-dicdir at configure
  48. * Fri Aug 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20070801-0vl2
  49. - upstream release
  50. * Thu Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20070610-0vl2
  51. - upstream release
  52. * Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl4
  53. - rebuild with mecab-0.95-0vl2
  54. * Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl3
  55. - rebuild with mecab-0.94-0vl2
  56. - change Source0 and URL
  57. * Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl2
  58. - upstream release
  59. * Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060408-0vl2
  60. - upstream release
  61. - change Group: Applications/Other
  62. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl2
  63. - rebuild on VineSeed
  64. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl1
  65. - initial build for Vine Linux 3.2