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

Revision 521, 4.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Yet Another Part-of-Speech and Morphological
2Summary(ja): もう一つの形態素解析器
3Name: mecab
4Version: 0.97
5Release: 2%{?_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 --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%{_libdir}/*.so.*
71%{_libexecdir}/mecab
72%{_bindir}/*
73%{_mandir}/man?/*
74%{_sysconfdir}/*
75
76%files devel
77%defattr(-,root,root)
78%{_libdir}/*.so
79#{_libdir}/*.a
80#{_libdir}/*.la
81%{_includedir}/*
82
83%changelog
84* Mon May  4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-2
85- spec in UTF-8
86- removed lib*.a files from devel package
87
88* Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-1
89- new upstream release
90- removed lib*.la files from devel package
91
92* Thu Jun 20 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.96-0vl2
93- upstream release
94
95* Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.95-0vl3
96- rebuilt with new toolchain
97
98* Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.95-0vl2
99- upstream release
100- drop Patch0 (merged into upstream source)
101- add Patch1: mecab-0.95-bufferoverflow.patch
102  (for details, see [mecab-usres 258])
103
104* Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.94-0vl2
105- upstream release
106- change Source0 and URL
107- add Patch0: mecab-0.94-cpp-template.patch
108
109* Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.93-0vl2
110- upstream release
111- changed License from LGPL to GPL/LGPL/BSD (upstream change)
112- add LGPL, GPL, BSD to %%doc
113
114* Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl3
115- changed devel Group to Development/Libraries
116- added %post and %postun section
117
118* Mon May 1 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.91-0vl2
119- upstream release
120
121* Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl3
122- change Group: Applications/Other
123
124* Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.90-0vl2
125- upstream release
126- divide dictionary into another package (mecab-ipadic)
127- change description
128- fix Source: URL
129- add BuildRequires: perl, gcc-c++
130
131* Sun Jun 26 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.81-0vl2
132- initial build for VineSeedPlus
Note: See TracBrowser for help on using the repository browser.