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