#
# Conditional build:
-%bcond_without tests
-%bcond_without tests_expensive
+%bcond_without tests # "make check"
+%bcond_without tests_expensive # expensive tests
Summary: GNU libtool, a shared library generation tool
Summary(es.UTF-8): GNU libtool, una herramienta de creación de bibliotecas compartidas
Summary(ru.UTF-8): GNU libtool, набор утилит для генерации разделяемых библиотек
Summary(uk.UTF-8): GNU libtool, набір утиліт для генерації динамічних бібліотек
Name: libtool
-Version: 2.4.4
-Release: 1
+Version: 2.4.6
+Release: 21
Epoch: 2
License: GPL v2+
Group: Development/Tools
Source0: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz
-# Source0-md5: 51bf400de3354687d68dfa2392506b7e
+# Source0-md5: 1bfb9b923f2c1339b4d2ce1807064aa5
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: b95e215961860c66f0868b0d551358c9
Patch0: %{name}-info.patch
Patch2: %{name}-multilib.patch
Patch3: %{name}-linking-order.patch
Patch4: %{name}-fuse-ld.patch
+Patch5: %{name}-libx32.patch
URL: http://www.gnu.org/software/libtool/
BuildRequires: /usr/bin/which
-BuildRequires: autoconf >= 2.59
+BuildRequires: autoconf >= 2.62
BuildRequires: automake >= 1:1.11.1
BuildRequires: help2man
BuildRequires: libstdc++-devel >= 5:3.3.3
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__aclocal} -I m4
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}
-
%{__make} install \
+ INSTALL="install -p" \
DESTDIR=$RPM_BUILD_ROOT
# decompress only "ja" manuals; English ones are back in upstream