mecab-vl.spec 4.1 KB

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