]>
Commit | Line | Data |
---|---|---|
5fd37ea9 | 1 | Summary: A Japanese character input system library (with dictionary) |
d42b4d76 | 2 | Summary(pl.UTF-8): System wprowadzania znaków japońskich (ze słownikiem) |
5fd37ea9 JB |
3 | Name: anthy |
4 | Version: 5122 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.jp/anthy/8819/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: f855b2e7a3de33c819ee9eefa652b231 | |
10 | URL: http://anthy.sourceforge.jp/ | |
11 | # URL: http://cannadic.oucrc.org | |
12 | # Source1: cannadic-0.93.tar.gz | |
13 | BuildRequires: automake | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | A Japanese character input system library (with dictionary). | |
18 | ||
d42b4d76 JR |
19 | %description -l pl.UTF-8 |
20 | System wprowadzania znaków japońskich (ze słownikiem). | |
5fd37ea9 JB |
21 | |
22 | %package devel | |
23 | Summary: Header files for anthy libraries | |
d42b4d76 | 24 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek anthy |
5fd37ea9 JB |
25 | Group: Development/Libraries |
26 | Requires: %{name} = %{version}-%{release} | |
27 | ||
28 | %description devel | |
29 | Header files for anthy libraries. | |
30 | ||
d42b4d76 JR |
31 | %description devel -l pl.UTF-8 |
32 | Pliki nagłówkowe bibliotek anthy. | |
5fd37ea9 JB |
33 | |
34 | %package static | |
35 | Summary: Static anthy libraries | |
d42b4d76 | 36 | Summary(pl.UTF-8): Statyczne biblioteki anthy |
5fd37ea9 JB |
37 | Group: Development/Libraries |
38 | Requires: %{name}-devel = %{version}-%{release} | |
39 | ||
40 | %description static | |
41 | Static anthy libraries. | |
42 | ||
d42b4d76 | 43 | %description static -l pl.UTF-8 |
5fd37ea9 JB |
44 | Statyczne biblioteki anthy. |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | #tar zxf %{_sourcedir}/cannadic-0.93.tar.gz | |
49 | #ln -s ../cannadic-0.93/gcanna.t mkanthydic | |
50 | #ln -s ../cannadic-0.93/gcannaf.t mkanthydic | |
51 | ||
52 | %build | |
53 | cp -f /usr/share/automake/config.* . | |
54 | %configure | |
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post -p /sbin/ldconfig | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS ChangeLog DIARY NEWS README doc/[!M]* doc/MISC | |
72 | %attr(755,root,root) %{_bindir}/* | |
73 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
401c9958 | 74 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/anthy-conf |
5fd37ea9 JB |
75 | %{_datadir}/anthy |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/lib*.so | |
80 | %{_libdir}/lib*.la | |
81 | %{_includedir}/anthy | |
82 | ||
83 | %files static | |
84 | %defattr(644,root,root,755) | |
85 | %{_libdir}/lib*.a | |
86 | ||
87 | #%{_datadir}/emacs/site-lisp/* |