1 | Name: chasen |
---|
2 | Summary: Japanese Morphological Analysis System, ChaSen |
---|
3 | Summary(ja): 茶筌 - 日本語形態素解析システム |
---|
4 | Version: 2.4.4 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | |
---|
7 | License: BSD, Other License(s), see package |
---|
8 | Group: Applications/Text |
---|
9 | URL: http://chasen-legacy.sourceforge.jp/ |
---|
10 | |
---|
11 | Source0: %{name}-%{version}.tar.gz |
---|
12 | |
---|
13 | # secutiry patch |
---|
14 | Patch100: chasen244-secfix.diff |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: darts-devel >= 0.32 |
---|
18 | Requires: ipadic |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: inagaki |
---|
23 | |
---|
24 | %description |
---|
25 | Japanese Morphological Analysis System, ChaSen |
---|
26 | |
---|
27 | ChaSen version 1.0 is officially released on 19 February 1997 by |
---|
28 | Computational Linguistics Laboratory, Graduate School of Information |
---|
29 | Science, Nara Institute of Science and Technology (NAIST). It is a |
---|
30 | FREE Japanese Morphological analyser. It grows out of developing JUMAN |
---|
31 | version 2.0 and has made a significant improvement in system |
---|
32 | performance. Origin of Package Name |
---|
33 | |
---|
34 | Where NAIST is situated (Takayama, Nara) is famous for producing a tea |
---|
35 | whisk used in traditional Japanese tea ceremony. The Japanese name for |
---|
36 | the tea whisk is called "chasen" and that is the reason for naming |
---|
37 | ChaSen for this package developed in NAIST. |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: Libraries and header files for ChaSen developers. |
---|
41 | Summary(ja): 茶筌の開発用ライブラリおよびヘッダファイル |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: darts >= 0.32 |
---|
45 | |
---|
46 | %description devel |
---|
47 | Libraries and header files for ChaSen developers. |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | %patch100 -p1 -b .cve-2011-4000 |
---|
52 | |
---|
53 | %build |
---|
54 | %configure --with-darts=%{_includedir} --disable-static |
---|
55 | make |
---|
56 | |
---|
57 | %install |
---|
58 | [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT |
---|
59 | %makeinstall |
---|
60 | |
---|
61 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
62 | |
---|
63 | %clean |
---|
64 | [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %post -p /sbin/ldconfig |
---|
67 | %postun -p /sbin/ldconfig |
---|
68 | |
---|
69 | %files |
---|
70 | %defattr(-,root,root) |
---|
71 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
72 | %doc doc/*.tex doc/*.pdf |
---|
73 | %{_bindir}/* |
---|
74 | %{_libdir}/*.so.* |
---|
75 | %{_libexecdir}/chasen |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr(-,root,root) |
---|
79 | %{_includedir}/* |
---|
80 | %{_libdir}/*.so |
---|
81 | #{_libdir}/*.a |
---|
82 | #{_libdir}/*.la |
---|
83 | |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Fri Dec 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-3 |
---|
87 | - added Patch100 for CVE-2011-4000 |
---|
88 | |
---|
89 | * Thu Apr 28 2011 Shu KONNO <owa@bg.wakwak.com> 2.4.4-2 |
---|
90 | - rebuilt |
---|
91 | |
---|
92 | * Sun Jun 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1 |
---|
93 | - new upstream release |
---|
94 | - spec in UTF-8 |
---|
95 | |
---|
96 | * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-1 |
---|
97 | - applied new versioning policy |
---|
98 | |
---|
99 | * Sat Mar 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl1 |
---|
100 | - new upstream release |
---|
101 | - updated url |
---|
102 | - fixed typo of kanji(ChaSen) |
---|
103 | - added %%{post,postun} |
---|
104 | |
---|
105 | * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-0vl1 |
---|
106 | - new upstream release |
---|
107 | - rebuilt with new toolchain |
---|
108 | |
---|
109 | * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.3-0vl3 |
---|
110 | - added Japanese summary |
---|
111 | - changed Group: |
---|
112 | |
---|
113 | * Tue May 25 2004 Satoshi MACHINO <machino@vinelinux.org> 2.3.3-0vl2 |
---|
114 | - added BuildPrereq and Requires |
---|
115 | |
---|
116 | * Mon May 10 2004 Satoshi MACHINO <machino@vinelinux.org> 2.3.3-0vl1 |
---|
117 | - intilal release |
---|
118 | |
---|