mecab-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Summary: Yet Another Part-of-Speech and Morphological Analyzer
  2. Summary(ja): もう一つの形態素解析器
  3. Name: mecab
  4. Version: 0.99
  5. Release: 1%{?_dist_release}
  6. Source0: http://downloads.sourceforge.net/mecab/%{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. * Sat Dec 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99-1
  69. - new upstream release
  70. - add Patch0 (mecab-0.99-mecabrc.patch)
  71. * Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98-1
  72. - new upstream release
  73. - added --with-charset=utf8
  74. - built with new toolchain
  75. * Mon May 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-2
  76. - spec in UTF-8
  77. - removed lib*.a files from devel package
  78. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-1
  79. - new upstream release
  80. - removed lib*.la files from devel package
  81. * Thu Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.96-0vl2
  82. - upstream release
  83. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.95-0vl3
  84. - rebuilt with new toolchain
  85. * Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.95-0vl2
  86. - upstream release
  87. - drop Patch0 (merged into upstream source)
  88. - add Patch1: mecab-0.95-bufferoverflow.patch
  89. (for details, see [mecab-usres 258])
  90. * Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.94-0vl2
  91. - upstream release
  92. - change Source0 and URL
  93. - add Patch0: mecab-0.94-cpp-template.patch
  94. * Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.93-0vl2
  95. - upstream release
  96. - changed License from LGPL to GPL/LGPL/BSD (upstream change)
  97. - add LGPL, GPL, BSD to %%doc
  98. * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl3
  99. - changed devel Group to Development/Libraries
  100. - added %post and %postun section
  101. * Mon May 1 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.91-0vl2
  102. - upstream release
  103. * Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl3
  104. - change Group: Applications/Other
  105. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl2
  106. - upstream release
  107. - divide dictionary into another package (mecab-ipadic)
  108. - change description
  109. - fix Source: URL
  110. - add BuildRequires: perl, gcc-c++
  111. * Sun Jun 26 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.81-0vl2
  112. - initial build for VineSeedPlus