]> git.pld-linux.org Git - packages/libidn.git/blobdiff - libidn.spec
- updated to 0.6.10, updated pl.po-update patch
[packages/libidn.git] / libidn.spec
index df5695d35ae00aedc2ab106ad5a3e9c3a65db220..921bef80de663a43ad7d6cff368ab1b7da3af7b4 100644 (file)
 Summary:       Internationalized string processing library
 Summary(pl):   Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
 Name:          libidn
-Version:       0.6.2
+Version:       0.6.10
 Release:       1
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
-# Source0-md5: b1a771ed18b1ed4b83478a78057134bb
+# Source0-md5: 443c25385059eb72e4588112af72c0c0
 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: automake >= 1:1.9
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.10
 %{?with_java:BuildRequires:    gcc-java}
-BuildRequires: gettext-devel >= 0.14.1
+BuildRequires: gettext-devel >= 0.16
 %{?with_java:BuildRequires:    gjdoc}
 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.067274 seconds and 4 git commands to generate.