]> git.pld-linux.org Git - packages/libidn.git/blobdiff - libidn.spec
- rel 2
[packages/libidn.git] / libidn.spec
index 97dadc8679701aa49ea670505896a102dc7ae3c0..0b64b505fbb0fe2616947ad771f6ec8db7377ff9 100644 (file)
 Summary:       Internationalized string processing library
 Summary(pl):   Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
 Name:          libidn
-Version:       0.6.6
-Release:       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: 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
@@ -34,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)
@@ -152,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
@@ -167,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.081217 seconds and 4 git commands to generate.