mecab-vl.spec 4.7 KB

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