mecab-vl.spec 4.5 KB

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