Summary(ru.UTF-8): Улучшенный клиент WHOIS
Summary(uk.UTF-8): Покращений клієнт WHOIS
Name: whois
-Version: 5.0.25
+Version: 5.2.3
Release: 1
License: GPL v2+
Group: Networking/Utilities
Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
-# Source0-md5: 8f873c1c51592ee419b2a46b0a3c8432
+# Source0-md5: 8144fc16bd11f04087c6f91f26ced381
Patch0: %{name}-idn.patch
Patch1: %{name}-config.patch
URL: http://www.linux.it/~md/software/
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
BuildRequires: libidn-devel
BuildRequires: perl-base
BuildRequires: tar >= 1:1.22
%patch0 -p1
%patch1 -p1
-mv -f po/{no,nb}.po
-%{__perl} -pi -e 's/no\.mo/nb.mo/' po/Makefile
-
# Makefile vs po/Makefile mismatch
echo 'install-pos: install' >> po/Makefile
BASEDIR=$RPM_BUILD_ROOT \
prefix=%{_prefix}
+%{__rm} $RPM_BUILD_ROOT{%{_bindir}/mkpasswd,%{_mandir}/man1/mkpasswd.1}
+
%find_lang %{name}
%clean