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 Source1001: libidn.manifest
11 BuildRequires: pkgconfig
12 BuildRoot: %{_tmppath}/%{name}-%{version}-build
15 GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
16 specifications defined by the IETF Internationalized Domain Names (IDN)
17 working group. It is used to prepare internationalized strings (such as
18 domain name labels, usernames, and passwords) in order to increase the
19 likelihood that string input and string comparison work in ways that
20 make sense for typical users around the world. The library contains a
21 generic Stringprep implementation that does Unicode 3.2 NFKC
22 normalization, mapping and prohibition of characters, and bidirectional
23 character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
24 XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
29 Summary: Include Files and Libraries mandatory for Development
30 Group: System/Libraries
31 Requires: %{name} = %{version}
35 GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
36 specifications defined by the IETF Internationalized Domain Names (IDN)
37 working group. It is used to prepare internationalized strings (such as
38 domain name labels, usernames, and passwords) in order to increase the
39 likelihood that string input and string comparison work in ways that
40 make sense for typical users around the world. The library contains a
41 generic Stringprep implementation that does Unicode 3.2 NFKC
42 normalization, mapping and prohibition of characters, and bidirectional
43 character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
44 XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
52 %configure --with-pic --disable-static --disable-gtk-doc
56 %if ! 0%{?qemu_user_space_build}
62 rm -f %{buildroot}/%{_infodir}/dir
63 rm -f %{buildroot}%{_libdir}/libidn.la
67 %post -p /sbin/ldconfig
78 %manifest %{name}.manifest
80 %{_libdir}/libidn.so.*
83 %{_datadir}/emacs/site-lisp/idna.el
84 %{_datadir}/emacs/site-lisp/punycode.el
87 %manifest %{name}.manifest
91 %{_libdir}/pkgconfig/libidn.pc