Accepting request 490786 from home:pmonrealgonzalez:branches:devel:libraries:c_c++

- Update to version 2.0.1 
- Version 2.0.1 (released 2017-04-22)
  * idn2 utility now using IDNA2008 + TR46 by default
- Version 2.0.0 (released 2017-03-29) [alpha]
  * Version numbering scheme changed
  * Added to ASCII conversion functions corresponding to libidn1
    functions:
    - idn2_to_ascii_4i		- idn2_to_ascii_4z
    - idn2_to_ascii_8z		- idn2_to_ascii_lz
  * Added to unicode conversion functions corresponding to libidn1
    functions:
    - idn2_to_unicode_8z4z	- idn2_to_unicode_4z4z
    - idn2_to_unicode_44i	- idn2_to_unicode_8z8z
    - idn2_to_unicode_8zlz	- idn2_to_unicode_lzlz
  * Including idn2.h will provide libidn1 compatibility functions
   unless IDN2_SKIP_LIBIDN_COMPAT is defined. That allows converting
   applications from libidn1 (which offers IDNA2003) to libidn2 (which
   offers IDNA2008) by replacing idna.h to idn2.h in the applications'
   source.
- Dropped patch not needed after revision
  * libidn2-no-examples-build.patch

OBS-URL: https://build.opensuse.org/request/show/490786
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libidn2?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2017-04-25 08:50:59 +00:00
committed by Git OBS Bridge
parent 7462eb2455
commit c65a8a2d0a
6 changed files with 33 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fad9efff4082ae2143f69df76339ca99379e0e0f4231455f5d3d9d2089c688f
size 1494295

3
libidn2-2.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d23651415556508168f15fa0299b54bb8015a3953a23c1ffdfe09f12c27f1d3
size 1770164

BIN
libidn2-2.0.1.tar.gz.sig Normal file

Binary file not shown.

View File

@@ -1,26 +0,0 @@
Index: libidn2-0.16/Makefile.am
===================================================================
--- libidn2-0.16.orig/Makefile.am
+++ libidn2-0.16/Makefile.am
@@ -15,7 +15,7 @@
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-SUBDIRS = lib . src doc examples tests po
+SUBDIRS = lib . src doc tests po
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = m4/gnulib-cache.m4
Index: libidn2-0.16/Makefile.in
===================================================================
--- libidn2-0.16.orig/Makefile.in
+++ libidn2-0.16/Makefile.in
@@ -612,7 +612,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-SUBDIRS = lib . src doc examples tests po
+SUBDIRS = lib . src doc tests po
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = m4/gnulib-cache.m4 CONTRIBUTING gen-tables-from-iana.pl \
$(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map_data.c data.c

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Apr 24 15:18:16 UTC 2017 - pmonrealgonzalez@suse.com
- Update to version 2.0.1
- Version 2.0.1 (released 2017-04-22)
* idn2 utility now using IDNA2008 + TR46 by default
- Version 2.0.0 (released 2017-03-29) [alpha]
* Version numbering scheme changed
* Added to ASCII conversion functions corresponding to libidn1
functions:
- idn2_to_ascii_4i - idn2_to_ascii_4z
- idn2_to_ascii_8z - idn2_to_ascii_lz
* Added to unicode conversion functions corresponding to libidn1
functions:
- idn2_to_unicode_8z4z - idn2_to_unicode_4z4z
- idn2_to_unicode_44i - idn2_to_unicode_8z8z
- idn2_to_unicode_8zlz - idn2_to_unicode_lzlz
* Including idn2.h will provide libidn1 compatibility functions
unless IDN2_SKIP_LIBIDN_COMPAT is defined. That allows converting
applications from libidn1 (which offers IDNA2003) to libidn2 (which
offers IDNA2008) by replacing idna.h to idn2.h in the applications'
source.
- Dropped patch not needed after revision
* libidn2-no-examples-build.patch
-------------------------------------------------------------------
Thu Jan 19 14:25:32 UTC 2017 - shshyukriev@suse.com

View File

@@ -18,16 +18,15 @@
%define lname libidn2-0
Name: libidn2
Version: 0.16
Version: 2.0.1
Release: 0
Summary: Support for Internationalized Domain Names (IDN) based on IDNA2008
License: GPL-3.0+
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/libidn/#libidn2
Source0: http://alpha.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Source1: http://alpha.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
Source3: baselibs.conf
# PATCH-FIX-UPSTREAM: do not build non-installed examples needlessly
Patch0: libidn2-no-examples-build.patch
BuildRequires: libunistring-devel
BuildRequires: pkgconfig
Requires(post): %{install_info_prereq}
@@ -60,7 +59,6 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
%prep
%setup -q
%patch0 -p1
%build
%configure \
@@ -68,6 +66,7 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
--disable-silent-rules \
--disable-static \
--disable-gtk-doc
make %{?_smp_mflags}
%install
@@ -90,7 +89,7 @@ make check %{?_smp_mflags}
%files tools
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog NEWS README
%doc AUTHORS COPYING* ChangeLog NEWS README.md
%{_infodir}/libidn*
%{_bindir}/idn2
%{_mandir}/man1/idn2.1%{ext_man}
@@ -102,6 +101,7 @@ make check %{?_smp_mflags}
%files devel
%defattr(-,root,root)
%{_libdir}/libidn2.so
%{_libdir}/pkgconfig/libidn2.pc
%{_includedir}/*.h
%{_mandir}/man3/*