Summary: Internationalized string processing library
Summary(pl): Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
Name: libidn
-Version: 0.6.1
+Version: 0.6.8
Release: 2
License: LGPL v2.1
Group: Libraries
Source0: http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 7634c115a747ba0c9b7109553dcfc6c6
+# 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)
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+
+rm -f po/stamp-po
%build
%{__gettextize}
%if %{with python}
%{__make} -C contrib/idn-python \
- INCLUDE="/usr/include/python2.4 -I/usr/include/python2.3 %{rpmcflags} -I../../lib -L../../lib/.libs"
+ INCLUDE="%{py_incdir} %{rpmcflags} -I../../lib -L../../lib/.libs"
%endif
%install
%find_lang %{name}
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
%clean
rm -rf $RPM_BUILD_ROOT