]> git.pld-linux.org Git - packages/idnkit.git/blob - idnkit.spec
2f9c66ebc67484ddd9a3d3b6c4652aad2e6eb7f2
[packages/idnkit.git] / idnkit.spec
1 Summary:        idnkit - internationalized domain name toolkit
2 Summary(pl):    idnkit - zestaw narzêdzi do umiêdzynarodowionych nazw domen
3 Name:           idnkit
4 Version:        1.0
5 Release:        2
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.nic.ad.jp/ja/idn/idnkit/download/sources/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  e8863c21c5049af358bd59c384ff3e5d
10 URL:            http://www.nic.ad.jp/en/idn/index.html
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The 'idnkit' is an open source, BSD-like licensed software that
16 provides functionalities about Internationalized Domain Name
17 processing standardized at IETF. Major features that idnkit provides
18 are as follows:
19  - libidnkit - Core library for IDN processing,
20  - libidnkitlite - Light Weight library for IDN processing (UTF-8
21    only),
22  - idnconv - DNS zone / configuration file encoding converter
23  - runidn / idn wrapper - Dynamic link resolver library for UNIX /
24    Windows
25
26 %description -l pl
27 idnkit to wolnodostêpne na licencji typu BSD oprogramowanie
28 zapewniaj±ce funkcjonalno¶æ zwi±zan± z obs³ug± umiêdzynarodowionych
29 nazw domen (IDN - Internationalized Domain Name) standaryzowan± przez
30 IETF. G³ówne w³asno¶ci dostarczane przez idnkit s± nastêpuj±ce:
31  - libidnkit - g³ówna biblioteka do przetwarzania IDN,
32  - libidnkitlite - lekka biblioteka do przetwarzania IDN (tylko UTF-8),
33  - idnconv - konwerter kodowania plików konfiguracyjnych i stref DNS
34  - runidn / idn wrapper - dynamicznie konsolidowana biblioteka resolvera
35    dla uniksów i Windows.
36
37 %package devel
38 Summary:        Header files for idnkit
39 Summary(pl):    Pliki nag³ówkowe idnkit
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}
42
43 %description devel
44 Header files for idnkit.
45
46 %description devel -l pl
47 Pliki nag³ówkowe idnkit.
48
49 %package static
50 Summary:        Static idnkit library
51 Summary(pl):    Statyczna biblioteka idnkit
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 Static idnkit library.
57
58 %description static -l pl
59 Statyczna biblioteka idnkit.
60
61 %prep
62 %setup -q -n %{name}-%{version}-src
63
64 %build
65 cp /usr/share/automake/config.sub  .
66 %configure2_13 \
67         --enable-extra-ace \
68         --enable-runidn
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc ChangeLog README NEWS
86 %doc %lang(ja) README.ja
87 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/idn.conf
88 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/idnalias.conf
89 %attr(755,root,root) %{_bindir}/idnconv
90 %attr(755,root,root) %{_bindir}/runidn
91 %attr(755,root,root) %{_libdir}/libidnkit*.so.*.*.*
92 # this one is used by runidn
93 %{_libdir}/libidnkitres.la
94 %dir %{_datadir}/idnkit
95 %{_datadir}/idnkit/*.map
96 %{_mandir}/man1/*.1*
97 %{_mandir}/man5/*.5*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libidnkit*.so
102 %{_libdir}/libidnkit.la
103 %{_libdir}/libidnkitlite.la
104 %dir %{_includedir}/idn
105 %{_includedir}/idn/*.h
106 %{_mandir}/man3/*.3*
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/libidnkit*.a
This page took 0.033916 seconds and 2 git commands to generate.