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