source: projects/specs/trunk/m/mecab/mecab-vl.spec @ 7195

Revision 7195, 4.5 KB checked in by tomop, 11 years ago (diff)

mecab-0.994-1

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