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