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

Revision 736, 4.3 KB checked in by inagaki, 14 years ago (diff)

updated: mecab, mecab-ipadic, qdbm, hyperestraier

Line 
1Summary: Yet Another Part-of-Speech and Morphological Analyzer
2Summary(ja): もう一つの形態素解析器
3Name: mecab
4Version: 0.98
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
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: perl, gcc-c++
13
14Vendor: Project Vine
15Distribution: Vine Linux
16
17%description
18MeCab is Yet Another Part-of-Speech and Morphological, developed
19as the unit project of Graduate School of Informatics, Kyoto
20University and NTT Communication Science Laboratories. It is designed
21basically general and independent of language, dictionary, and corpus.
22It uses Conditional Random Fields (CRF) for parameter estimation,
23which is more efficient than Hidden Markov Model, which is used in
24ChaSen. MeCab works normally faster than ChaSen, Juman, and KAKASI.
25
26%description -l ja
27MeCab は 京都大学情報学研究科−日本電信電話株式会社コミュニケーション
28科学基礎研究所共同研究ユニットプロジェクトの一環として開発された
29オープンソース形態素解析エンジンです. 言語, 辞書,コーパスに依存しない
30汎用的な設計を基本方針としています. パラメータの推定に Conditional
31Rondom Fields (CRF) を用いており, ChaSenが採用している隠れマルコフ
32モデルに比べ性能が向上しています。また、平均的に ChaSen, Juman, KAKASI
33より高速に動作します. ちなみに和布蕪(めかぶ)は, 作者の好物です.
34
35%package devel
36Summary: Header files and libraries for developing apps which use MeCab
37Summary(ja): MeCabの開発用ヘッダファイル及びライブラリ
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files and libraries for developing apps which use MeCab
43
44%description devel -l ja
45MeCabの開発用ヘッダファイル及びライブラリ
46
47%prep
48%setup -q
49
50%build
51%configure --with-charset=utf8 --disable-static
52%__make
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make DESTDIR=$RPM_BUILD_ROOT install
57
58rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(-,root,root)
69%doc README AUTHORS COPYING ChangeLog INSTALL NEWS GPL LGPL BSD doc/*.html
70%config %{_sysconfdir}/mecabrc
71%{_bindir}/mecab
72%{_libdir}/*.so.*
73%{_libexecdir}/mecab
74%{_mandir}/man?/*
75
76%files devel
77%defattr(-,root,root)
78%{_bindir}/mecab-config
79%{_includedir}/*
80%{_libdir}/*.so
81
82%changelog
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
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
Note: See TracBrowser for help on using the repository browser.