source: projects/specs/branches/6/m/mecab/mecab-vl.spec @ 5340

Revision 5340, 4.4 KB checked in by Takemikaduchi, 12 years ago (diff)

mecab: new upstream release
mecab-ipadic: rebuild

Line 
1Summary: Yet Another Part-of-Speech and Morphological Analyzer
2Summary(ja): もう一つの形態素解析器
3Name: mecab
4Version: 0.99
5Release: 1%{?_dist_release}
6Source0: http://downloads.sourceforge.net/mecab/%{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 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99-1
87- new upstream release
88- add Patch0 (mecab-0.99-mecabrc.patch)
89
90* Mon Mar 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98-1
91- new upstream release
92- added --with-charset=utf8
93- built with new toolchain
94
95* Mon May  4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-2
96- spec in UTF-8
97- removed lib*.a files from devel package
98
99* Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-1
100- new upstream release
101- removed lib*.la files from devel package
102
103* Thu Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.96-0vl2
104- upstream release
105
106* Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.95-0vl3
107- rebuilt with new toolchain
108
109* Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.95-0vl2
110- upstream release
111- drop Patch0 (merged into upstream source)
112- add Patch1: mecab-0.95-bufferoverflow.patch
113  (for details, see [mecab-usres 258])
114
115* Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.94-0vl2
116- upstream release
117- change Source0 and URL
118- add Patch0: mecab-0.94-cpp-template.patch
119
120* Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.93-0vl2
121- upstream release
122- changed License from LGPL to GPL/LGPL/BSD (upstream change)
123- add LGPL, GPL, BSD to %%doc
124
125* Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl3
126- changed devel Group to Development/Libraries
127- added %post and %postun section
128
129* Mon May 1 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.91-0vl2
130- upstream release
131
132* Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl3
133- change Group: Applications/Other
134
135* Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl2
136- upstream release
137- divide dictionary into another package (mecab-ipadic)
138- change description
139- fix Source: URL
140- add BuildRequires: perl, gcc-c++
141
142* Sun Jun 26 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.81-0vl2
143- initial build for VineSeedPlus
Note: See TracBrowser for help on using the repository browser.