mecab-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: Yet Another Part-of-Speech and Morphological Analyzer
  2. Summary(ja): もう一つの形態素解析器
  3. Name: mecab
  4. Version: 0.996
  5. Release: 3%{?_dist_release}
  6. Group: Applications/Text
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL/LGPL/BSD
  10. URL: https://taku910.github.io/mecab/
  11. # https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE
  12. Source0: %{name}-%{version}.tar.gz
  13. Patch0: mecab-0.99-mecabrc.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: perl, gcc-c++
  16. %description
  17. MeCab is Yet Another Part-of-Speech and Morphological, developed
  18. as the unit project of Graduate School of Informatics, Kyoto
  19. University and NTT Communication Science Laboratories. It is designed
  20. basically general and independent of language, dictionary, and corpus.
  21. It uses Conditional Random Fields (CRF) for parameter estimation,
  22. which is more efficient than Hidden Markov Model, which is used in
  23. ChaSen. MeCab works normally faster than ChaSen, Juman, and KAKASI.
  24. %description -l ja
  25. MeCab は 京都大学情報学研究科−日本電信電話株式会社コミュニケーション
  26. 科学基礎研究所共同研究ユニットプロジェクトの一環として開発された
  27. オープンソース形態素解析エンジンです. 言語, 辞書,コーパスに依存しない
  28. 汎用的な設計を基本方針としています. パラメータの推定に Conditional
  29. Rondom Fields (CRF) を用いており, ChaSenが採用している隠れマルコフ
  30. モデルに比べ性能が向上しています。また、平均的に ChaSen, Juman, KAKASI
  31. より高速に動作します. ちなみに和布蕪(めかぶ)は, 作者の好物です.
  32. %package devel
  33. Summary: Header files and libraries for developing apps which use MeCab
  34. Summary(ja): MeCabの開発用ヘッダファイル及びライブラリ
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. %description devel
  38. Header files and libraries for developing apps which use MeCab
  39. %description devel -l ja
  40. MeCabの開発用ヘッダファイル及びライブラリ
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .old
  44. %build
  45. %configure --with-charset=utf8 --disable-static
  46. %__make
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make DESTDIR=$RPM_BUILD_ROOT install
  50. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root)
  57. %license COPYING GPL LGPL BSD
  58. %doc README AUTHORS ChangeLog INSTALL NEWS doc/*.html
  59. %config %{_sysconfdir}/mecabrc
  60. %{_bindir}/mecab
  61. %{_libdir}/*.so.*
  62. %{_libexecdir}/mecab
  63. %{_mandir}/man?/*
  64. %files devel
  65. %defattr(-,root,root)
  66. %{_bindir}/mecab-config
  67. %{_includedir}/*
  68. %{_libdir}/*.so
  69. %changelog
  70. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.996-3
  71. - rebuilt with current environment.
  72. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.996-2
  73. - rebuilt with new toolchain.
  74. * Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.996-1
  75. - update to 0.996
  76. * Sat Dec 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.994-1
  77. - new upstream release.
  78. * Sat Dec 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99-1
  79. - new upstream release
  80. - add Patch0 (mecab-0.99-mecabrc.patch)
  81. * Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98-1
  82. - new upstream release
  83. - added --with-charset=utf8
  84. - built with new toolchain
  85. * Mon May 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-2
  86. - spec in UTF-8
  87. - removed lib*.a files from devel package
  88. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-1
  89. - new upstream release
  90. - removed lib*.la files from devel package
  91. * Wed Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.96-0vl2
  92. - upstream release
  93. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.95-0vl3
  94. - rebuilt with new toolchain
  95. * Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.95-0vl2
  96. - upstream release
  97. - drop Patch0 (merged into upstream source)
  98. - add Patch1: mecab-0.95-bufferoverflow.patch
  99. (for details, see [mecab-usres 258])
  100. * Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.94-0vl2
  101. - upstream release
  102. - change Source0 and URL
  103. - add Patch0: mecab-0.94-cpp-template.patch
  104. * Thu Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.93-0vl2
  105. - upstream release
  106. - changed License from LGPL to GPL/LGPL/BSD (upstream change)
  107. - add LGPL, GPL, BSD to %%doc
  108. * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl3
  109. - changed devel Group to Development/Libraries
  110. - added %post and %postun section
  111. * Mon May 1 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.91-0vl2
  112. - upstream release
  113. * Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl3
  114. - change Group: Applications/Other
  115. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl2
  116. - upstream release
  117. - divide dictionary into another package (mecab-ipadic)
  118. - change description
  119. - fix Source: URL
  120. - add BuildRequires: perl, gcc-c++
  121. * Sun Jun 26 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.81-0vl2
  122. - initial build for VineSeedPlus