source: projects/specs/trunk/c/chasen/chasen-vl.spec @ 5314

Revision 5314, 3.2 KB checked in by inagaki, 12 years ago (diff)

update: chasen

Line 
1Name:         chasen
2Summary:      Japanese Morphological Analysis System, ChaSen
3Summary(ja):  茶筌 - 日本語形態素解析システム
4Version:      2.4.4
5Release:      3%{?_dist_release}
6
7License:      BSD, Other License(s), see package
8Group:        Applications/Text
9URL:          http://chasen-legacy.sourceforge.jp/
10
11Source0:      %{name}-%{version}.tar.gz
12
13# secutiry patch
14Patch100:     chasen244-secfix.diff
15
16BuildRoot:     %{_tmppath}/%{name}-%{version}-root
17BuildRequires: darts-devel >= 0.32
18Requires:      ipadic
19
20Vendor:        Project Vine
21Distribution:  Vine Linux
22Packager:      inagaki
23
24%description
25Japanese Morphological Analysis System, ChaSen
26
27ChaSen version 1.0 is officially released on 19 February 1997 by
28Computational Linguistics Laboratory, Graduate School of Information
29Science, Nara Institute of Science and Technology (NAIST). It is a
30FREE Japanese Morphological analyser. It grows out of developing JUMAN
31version 2.0 and has made a significant improvement in system
32performance.  Origin of Package Name
33
34Where NAIST is situated (Takayama, Nara) is famous for producing a tea
35whisk used in traditional Japanese tea ceremony. The Japanese name for
36the tea whisk is called "chasen" and that is the reason for naming
37ChaSen for this package developed in NAIST.
38
39%package devel
40Summary:      Libraries and header files for ChaSen developers.
41Summary(ja):  茶筌の開発用ライブラリおよびヘッダファイル
42Group:        Development/Libraries
43Requires:     %{name} = %{version}-%{release}
44Requires:     darts >= 0.32
45
46%description devel
47Libraries 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
55make
56
57%install
58[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
59%makeinstall
60
61rm -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 
Note: See TracBrowser for help on using the repository browser.