From: Seonah Moon Date: Thu, 4 Feb 2021 01:44:09 +0000 (+0900) Subject: Merge upstream/1.23 into tizen_base X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bca878d928f5aae01674792fecb1a9ae15611adb;p=product%2Fupstream%2Flibidn.git Merge upstream/1.23 into tizen_base Change-Id: I8825a0a6bf62b589e316cca2c4343e515fbc3dfc --- bca878d928f5aae01674792fecb1a9ae15611adb diff --cc configure.ac index 4987c61,834f6d9..3185f92 --- a/configure.ac +++ b/configure.ac @@@ -170,7 -180,10 +180,8 @@@ AC_CONFIG_FILES( lib/Makefile lib/gl/Makefile lib/gltests/Makefile + libidn.pc po/Makefile.in - pom.xml - src/Makefile tests/Makefile ]) AC_OUTPUT diff --cc packaging/libidn.spec index 54b8f30,0000000..8d433d0 mode 100755,000000..100755 --- a/packaging/libidn.spec +++ b/packaging/libidn.spec @@@ -1,73 -1,0 +1,73 @@@ +Name: libidn +Summary: Internationalized Domain Name support library - Version: 1.15 ++Version: 1.23 +Release: 0 +Group: System/Libraries +License: LGPL-2.1+ +URL: http://www.gnu.org/software/libidn/ +Source0: http://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz +Source1: baselibs.conf +Source1001: libidn.manifest +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig +BuildRequires: gettext-tools +BuildRequires: libtool +BuildRequires: autoconf + +%description +GNU Libidn is an implementation of the Stringprep, Punycode and +IDNA specifications defined by the IETF Internationalized Domain +Names (IDN) working group, used for internationalized domain +names. + + +%package devel +Summary: Development files for the libidn library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glibc-devel + +%description devel +This package includes header files and libraries necessary for +developing programs which use the GNU libidn library. + + +%prep +%setup -q + + +%build + +%configure --disable-static \ + --disable-csharp \ + --disable-java \ + --with-pic + +make "%{?_smp_mflags}" + +%install +%make_install + +rm -f %{buildroot}/%_infodir/dir +rm -f %{buildroot}%{_libdir}/libidn.la +rm -f %{buildroot}%_infodir/libidn-components.png +rm -f %{buildroot}%{_bindir}/idn +%find_lang libidn + +%remove_docs + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f libidn.lang +%defattr(-,root,root,-) +%{_libdir}/libidn.so.* +%license COPYING.LIB + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libidn.so +%{_includedir}/*.h +%{_libdir}/pkgconfig/libidn.pc diff --cc src/Makefile.am index d7dd83d,4c8fe50..5d3ef39 --- a/src/Makefile.am +++ b/src/Makefile.am @@@ -18,8 -19,9 +19,9 @@@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl + AM_CPPFLAGS += -DLOCALEDIR=\"$(localedir)\" -dist_lisp_DATA = punycode.el idna.el +#dist_lisp_DATA = punycode.el idna.el bin_PROGRAMS = idn idn_SOURCES = idn.c diff --cc src/Makefile.in index 7d24642,07c7354..b41b181 --- a/src/Makefile.in +++ b/src/Makefile.in @@@ -532,8 -1027,9 +1027,9 @@@ top_build_prefix = @top_build_prefix top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) - AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl + AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl \ + -DLOCALEDIR=\"$(localedir)\" -dist_lisp_DATA = punycode.el idna.el +#dist_lisp_DATA = punycode.el idna.el idn_SOURCES = idn.c idn_LDADD = libidn_cmd.la ../lib/libidn.la ../gl/libgnu.la $(LTLIBINTL) noinst_LTLIBRARIES = libidn_cmd.la