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