%define ver_rpm 4.5-5
#
%define snap 20080820.23
-%define rel 36
+%define rel 38
Summary: RPM packages management helper tool
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
Name: poldek
Patch32: %{name}-prepare_url_fix.patch
Patch33: %{name}-noloop_on_terminal_loos.patch
Patch34: %{name}-show_only_relative_used_space.patch
+Patch35: %{name}-zlib.patch
URL: http://poldek.pld-linux.org/
BuildRequires: autoconf
BuildRequires: automake
%patch33 -p1
# do not info. about amount of transaction space req. but relative to already installed
%patch34 -p1
+# fixes failures with zlib >= 1.2.3.7
+%patch35 -p0
# cleanup backups after patching
find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
%build
%{__libtoolize}
+%{__autoheader}
%{__aclocal} -I m4
%{__autoconf}
%{__automake}