mecab-vl.spec 4.6 KB

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