]> git.pld-linux.org Git - packages/libidn.git/blobdiff - libidn.spec
- rel 2
[packages/libidn.git] / libidn.spec
index b567b97966cb76613c73dbc4f8adf5cb0be18579..0b64b505fbb0fe2616947ad771f6ec8db7377ff9 100644 (file)
 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
@@ -33,6 +34,7 @@ BuildRequires:        libtool >= 2:1.5
 %{?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)
@@ -130,6 +132,9 @@ domen).
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+
+rm -f po/stamp-po
 
 %build
 %{__gettextize}
@@ -148,7 +153,7 @@ JAR=%{_bindir}/fastjar \
 
 %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
@@ -163,6 +168,8 @@ install -D contrib/idn-python/idn.so $RPM_BUILD_ROOT%{py_sitedir}/idn.so
 
 %find_lang %{name}
 
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.046813 seconds and 4 git commands to generate.