4 License: (GPL-2.0+ or LGPL-3.0+) and GPL-3.0+
5 Summary: Support for Internationalized Domain Names (IDN)
6 Url: http://www.gnu.org/software/libidn/
7 Group: System/Libraries
8 Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
10 BuildRequires: pkgconfig
11 BuildRoot: %{_tmppath}/%{name}-%{version}-build
14 GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
15 specifications defined by the IETF Internationalized Domain Names (IDN)
16 working group. It is used to prepare internationalized strings (such as
17 domain name labels, usernames, and passwords) in order to increase the
18 likelihood that string input and string comparison work in ways that
19 make sense for typical users around the world. The library contains a
20 generic Stringprep implementation that does Unicode 3.2 NFKC
21 normalization, mapping and prohibition of characters, and bidirectional
22 character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
23 XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
28 Summary: Include Files and Libraries mandatory for Development
29 Group: System/Libraries
30 Requires: %{name} = %{version}
34 GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
35 specifications defined by the IETF Internationalized Domain Names (IDN)
36 working group. It is used to prepare internationalized strings (such as
37 domain name labels, usernames, and passwords) in order to increase the
38 likelihood that string input and string comparison work in ways that
39 make sense for typical users around the world. The library contains a
40 generic Stringprep implementation that does Unicode 3.2 NFKC
41 normalization, mapping and prohibition of characters, and bidirectional
42 character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
43 XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
50 %configure --with-pic --disable-static --disable-gtk-doc
54 %if ! 0%{?qemu_user_space_build}
60 rm -f %{buildroot}/%{_infodir}/dir
61 rm -f %{buildroot}%{_libdir}/libidn.la
65 %post -p /sbin/ldconfig
76 %{_libdir}/libidn.so.*
79 %{_datadir}/emacs/site-lisp/idna.el
80 %{_datadir}/emacs/site-lisp/punycode.el
86 %{_libdir}/pkgconfig/libidn.pc