#
# required versions (forced to avoid SEGV with mixed db used by rpm and poldek)
%define ver_db 4.3.27-1
-%define ver_rpm 4.4.7
+%define ver_rpm 4.4.9
%define snap 20070108.22
Summary: RPM packages management helper tool
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
Name: poldek
Version: 0.20.1
-Release: 0.20070108.1.3
+Release: 0.20070108.1.12
License: GPL v2
Group: Applications/System
Source0: http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
Patch2: %{name}-config.patch
Patch3: %{name}-multilib.patch
Patch4: %{name}-configure_in.patch
+Patch5: %{name}-rpm-4.4.8.patch
+Patch6: %{name}-rpm-4.4.9.patch
+Patch7: %{name}-desc_in_utf8.patch
URL: http://poldek.pld-linux.org/
BuildRequires: autoconf
BuildRequires: automake
%{?with_python:BuildRequires: python-devel}
BuildRequires: readline-devel >= 5.0
BuildRequires: rpm-devel >= %{ver_rpm}
+%{?with_python:BuildRequires: rpm-pythonprov}
BuildRequires: xmlto
BuildRequires: zlib-devel
%if %{with static}
%patch3 -p1
%endif
%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
%build
%{__autopoint}