mecab-ipadic-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define name mecab-ipadic
  2. %define ver 2.7.0
  3. %define date 20070801
  4. %define release 4%{?_dist_release}
  5. %define dicdir %(mecab-config --dicdir 2> /dev/null || echo %{_libdir}/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. %{dicdir}/ipadic
  39. %changelog
  40. * Sat Dec 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.0.20070801-4
  41. - rebuild with mecab-0.99
  42. - fixed ipadic path (for x86_64)
  43. * Mon Apr 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.7.0.20070801-3
  44. - fixed ipadic path (for x86_64)
  45. * Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0.20070801-2
  46. - converted to utf-8
  47. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.0.20070801-1vl5
  48. - applied new versioning policy, spec in utf-8
  49. - set --with-dicdir at configure
  50. * Fri Aug 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20070801-0vl2
  51. - upstream release
  52. * Thu Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20070610-0vl2
  53. - upstream release
  54. * Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl4
  55. - rebuild with mecab-0.95-0vl2
  56. * Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl3
  57. - rebuild with mecab-0.94-0vl2
  58. - change Source0 and URL
  59. * Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl2
  60. - upstream release
  61. * Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060408-0vl2
  62. - upstream release
  63. - change Group: Applications/Other
  64. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl2
  65. - rebuild on VineSeed
  66. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl1
  67. - initial build for Vine Linux 3.2