add packaging accepted/tizen/20130503.222302 accepted/trunk/20130325.213031 submit/tizen/20130503.223757 submit/tizen/20130509.181110 submit/trunk/20130325.083433
authorAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 17:16:38 +0000 (09:16 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 17:16:38 +0000 (09:16 -0800)
packaging/baselibs.conf [new file with mode: 0644]
packaging/libidn.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..fad2b0d
--- /dev/null
@@ -0,0 +1 @@
+libidn
diff --git a/packaging/libidn.spec b/packaging/libidn.spec
new file mode 100644 (file)
index 0000000..368e1e6
--- /dev/null
@@ -0,0 +1,88 @@
+Name:           libidn
+Version:        1.25
+Release:        0
+License:        (GPL-2.0+ or LGPL-3.0+) and GPL-3.0+
+Summary:        Support for Internationalized Domain Names (IDN)
+Url:            http://www.gnu.org/software/libidn/
+Group:          System/Libraries
+Source0:        http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
+Source1:        baselibs.conf
+BuildRequires:  pkgconfig
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
+specifications defined by the IETF Internationalized Domain Names (IDN)
+working group. It is used to prepare internationalized strings (such as
+domain name labels, usernames, and passwords) in order to increase the
+likelihood that string input and string comparison work in ways that
+make sense for typical users around the world. The library contains a
+generic Stringprep implementation that does Unicode 3.2 NFKC
+normalization, mapping and prohibition of characters, and bidirectional
+character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
+XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
+IDNA is supported.
+
+%package devel
+License:        LGPL-2.1+
+Summary:        Include Files and Libraries mandatory for Development
+Group:          System/Libraries
+Requires:       %{name} = %{version}
+Requires:       glibc-devel
+
+%description devel
+GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
+specifications defined by the IETF Internationalized Domain Names (IDN)
+working group. It is used to prepare internationalized strings (such as
+domain name labels, usernames, and passwords) in order to increase the
+likelihood that string input and string comparison work in ways that
+make sense for typical users around the world. The library contains a
+generic Stringprep implementation that does Unicode 3.2 NFKC
+normalization, mapping and prohibition of characters, and bidirectional
+character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
+XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
+IDNA is supported.
+
+%prep
+%setup -q
+
+%build
+%configure --with-pic --disable-static --disable-gtk-doc
+make %{?_smp_mflags}
+
+%check
+%if ! 0%{?qemu_user_space_build}
+make check
+%endif
+
+%install
+%make_install
+rm -f %{buildroot}/%{_infodir}/dir
+rm -f %{buildroot}%{_libdir}/libidn.la
+%find_lang %{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+%lang_package
+
+%docs_package
+
+%files
+%{_libdir}/libidn.so.*
+%{_infodir}/libidn*
+%{_bindir}/idn
+%{_datadir}/emacs/site-lisp/idna.el
+%{_datadir}/emacs/site-lisp/punycode.el
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libidn.so
+%{_includedir}/*.h
+%{_libdir}/pkgconfig/libidn.pc
+
+%changelog