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

Revision 12309, 5.0 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

PyYAML-5.1.2-1

lz4-1.9.2-1

libnet-1.1.6-2

libyaml-0.2.2-1

mecab-naist-jdic-0.6.3b.20111013-2

mecab-0.996-3

perl-HTTP-Cookies-6.04-8

perl-LWP-Protocol-https-6.07-10

perl-Mozilla-CA-20180117-7

swig-4.0.1-1

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