Summary: Yet Another Part-of-Speech and Morphological Analyzer Summary(ja): もう一つの形態素解析器 Name: mecab Version: 0.996 Release: 2%{?_dist_release} Source0: http://mecab.googlecode.com/files/%{name}-%{version}.tar.gz License: GPL/LGPL/BSD Group: Applications/Text URL: http://mecab.sourceforge.net/ Patch0: mecab-0.99-mecabrc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl, gcc-c++ Vendor: Project Vine Distribution: Vine Linux %description MeCab is Yet Another Part-of-Speech and Morphological, developed as the unit project of Graduate School of Informatics, Kyoto University and NTT Communication Science Laboratories. It is designed basically general and independent of language, dictionary, and corpus. It uses Conditional Random Fields (CRF) for parameter estimation, which is more efficient than Hidden Markov Model, which is used in ChaSen. MeCab works normally faster than ChaSen, Juman, and KAKASI. %description -l ja MeCab は 京都大学情報学研究科−日本電信電話株式会社コミュニケーション 科学基礎研究所共同研究ユニットプロジェクトの一環として開発された オープンソース形態素解析エンジンです. 言語, 辞書,コーパスに依存しない 汎用的な設計を基本方針としています. パラメータの推定に Conditional Rondom Fields (CRF) を用いており, ChaSenが採用している隠れマルコフ モデルに比べ性能が向上しています。また、平均的に ChaSen, Juman, KAKASI より高速に動作します. ちなみに和布蕪(めかぶ)は, 作者の好物です. %package devel Summary: Header files and libraries for developing apps which use MeCab Summary(ja): MeCabの開発用ヘッダファイル及びライブラリ Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files and libraries for developing apps which use MeCab %description devel -l ja MeCabの開発用ヘッダファイル及びライブラリ %prep %setup -q %patch0 -p1 -b .old %build %configure --with-charset=utf8 --disable-static %__make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README AUTHORS COPYING ChangeLog INSTALL NEWS GPL LGPL BSD doc/*.html %config %{_sysconfdir}/mecabrc %{_bindir}/mecab %{_libdir}/*.so.* %{_libexecdir}/mecab %{_mandir}/man?/* %files devel %defattr(-,root,root) %{_bindir}/mecab-config %{_includedir}/* %{_libdir}/*.so %changelog * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO 0.996-2 - rebuilt with new toolchain. * Tue Dec 31 2013 IWAI, Masaharu 0.996-1 - update to 0.996 * Sat Dec 01 2012 Tomohiro "Tomo-p" KATO 0.994-1 - new upstream release. * Sat Dec 31 2011 Yoji TOYODA 0.99-1 - new upstream release - add Patch0 (mecab-0.99-mecabrc.patch) * Mon Mar 29 2010 Ryoichi INAGAKI 0.98-1 - new upstream release - added --with-charset=utf8 - built with new toolchain * Mon May 4 2009 Ryoichi INAGAKI 0.97-2 - spec in UTF-8 - removed lib*.a files from devel package * Sat May 17 2008 Ryoichi INAGAKI 0.97-1 - new upstream release - removed lib*.la files from devel package * Wed Jun 20 2007 KANEKO Seiji 0.96-0vl2 - upstream release * Sat May 19 2007 Ryoichi INAGAKI 0.95-0vl3 - rebuilt with new toolchain * Sat Mar 24 2007 KANEKO Seiji 0.95-0vl2 - upstream release - drop Patch0 (merged into upstream source) - add Patch1: mecab-0.95-bufferoverflow.patch (for details, see [mecab-usres 258]) * Sat Mar 3 2007 KANEKO Seiji 0.94-0vl2 - upstream release - change Source0 and URL - add Patch0: mecab-0.94-cpp-template.patch * Thu Sep 7 2006 KANEKO Seiji 0.93-0vl2 - upstream release - changed License from LGPL to GPL/LGPL/BSD (upstream change) - add LGPL, GPL, BSD to %%doc * Sat Sep 2 2006 Ryoichi INAGAKI 0.91-0vl3 - changed devel Group to Development/Libraries - added %post and %postun section * Mon May 1 2006 KANEKO Seiji 0.91-0vl2 - upstream release * Sun Apr 9 2006 KANEKO Seiji 0.90-0vl3 - change Group: Applications/Other * Fri Mar 31 2006 KANEKO Seiji 0.90-0vl2 - upstream release - divide dictionary into another package (mecab-ipadic) - change description - fix Source: URL - add BuildRequires: perl, gcc-c++ * Sun Jun 26 2005 KANEKO Seiji 0.81-0vl2 - initial build for VineSeedPlus