# - prepare package with web-files and java from contrib
#
# Conditional build:
-%bcond_with dotnet # build C# binding
-%bcond_with java # build Java implementation
+%bcond_without dotnet # don't build C# binding
+%bcond_without java # don't build Java implementation
%bcond_without python # don't build python interface
#
%ifnarch %{ix86} %{x8664} arm hppa ppc s390 s390x
Summary: Internationalized string processing library
Summary(pl): Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
Name: libidn
-Version: 0.6.6
+Version: 0.6.8
Release: 2
License: LGPL v2.1
Group: Libraries
Source0: http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 20181e7009337e539c2f9a06b10915ec
+# Source0-md5: 5d1a2e42f91c1d53376ec37557601d47
Patch0: %{name}-info.patch
Patch1: %{name}-python.patch
Patch2: %{name}-pl.po-update.patch
URL: http://www.gnu.org/software/libidn/
-BuildRequires: autoconf >= 2.59
+BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.9
%{?with_java:BuildRequires: gcc-java}
BuildRequires: gettext-devel >= 0.14.1
%{?with_dotnet:BuildRequires: mono}
BuildRequires: perl-base
%{?with_python:BuildRequires: python-devel >= 1:2.3}
+%{?with_python:BuildRequires: rpm-pythonprov}
BuildRequires: texinfo >= 4.7
Requires(post,postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)