]>
Commit | Line | Data |
---|---|---|
1 | Summary: Japanese Morphological Analysis System, ChaSen | |
2 | Summary(pl.UTF-8): System analizy morfologii japońskiej ChaSen | |
3 | Name: chasen | |
4 | Version: 2.4.5 | |
5 | Release: 2 | |
6 | Epoch: 0 | |
7 | License: BSD | |
8 | Group: Applications/Text | |
9 | #Source0Download: http://sourceforge.jp/projects/chasen-legacy/ | |
10 | Source0: http://dl.sourceforge.jp/chasen-legacy/56305/%{name}-%{version}.tar.xz | |
11 | # Source0-md5: 8118190078e692884ad1a31927c22371 | |
12 | URL: http://chasen-legacy.sourceforge.jp/ | |
13 | BuildRequires: autoconf >= 2.59 | |
14 | BuildRequires: automake | |
15 | BuildRequires: darts | |
16 | BuildRequires: iconv | |
17 | BuildRequires: libstdc++-devel | |
18 | BuildRequires: libtool >= 2:1.4d | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Japanese Morphological Analysis System. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | System analizy morfologii japońskiej ChaSen. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files for ChaSen developers | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających systemu ChaSen | |
30 | Group: Development/Libraries | |
31 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
32 | Requires: libstdc++-devel | |
33 | ||
34 | %description devel | |
35 | Header files for ChaSen developers. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe dla deweloperów używających systemu ChaSen. | |
39 | ||
40 | %package static | |
41 | Summary: Static ChaSen library | |
42 | Summary(pl.UTF-8): Biblioteka statyczna ChaSen | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static ChaSen library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Biblioteka statyczna ChaSen. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %{__libtoolize} | |
57 | %{__aclocal} | |
58 | %{__autoconf} | |
59 | %{__autoheader} | |
60 | %{__automake} | |
61 | %configure | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS COPYING ChangeLog NEWS README | |
79 | %lang(ja) %doc doc/manual-j.pdf | |
80 | %attr(755,root,root) %{_bindir}/chasen | |
81 | %attr(755,root,root) %{_libdir}/libchasen.so.*.*.* | |
82 | %attr(755,root,root) %ghost %{_libdir}/libchasen.so.2 | |
83 | %dir %{_libdir}/%{name} | |
84 | %attr(755,root,root) %{_libdir}/%{name}/makeda | |
85 | %attr(755,root,root) %{_libdir}/%{name}/makemat | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %attr(755,root,root) %{_bindir}/chasen-config | |
90 | %attr(755,root,root) %{_libdir}/libchasen.so | |
91 | %{_libdir}/libchasen.la | |
92 | %{_includedir}/chasen.h | |
93 | ||
94 | %files static | |
95 | %defattr(644,root,root,755) | |
96 | %{_libdir}/libchasen.a |