Summary(ru): õÌÕÞÛÅÎÎÙÊ ËÌÉÅÎÔ WHOIS
Summary(uk): ðÏËÒÁÝÅÎÉÊ Ë̦¤ÎÔ WHOIS
Name: whois
-Version: 4.6.15
+Version: 4.7.8
Release: 2
License: GPL
Group: Networking/Utilities
-#Source0: http://www.linux.it/~md/software/%{name}_%{version}.tar.gz
Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.gz
-# Source0-md5: eee43077b5c1bb2dff1d76c52b76f26a
+# Source0-md5: 41cc0635976d6d0b33ba3067ad246b97
Patch0: %{name}-Makefile.patch
URL: http://www.linux.it/~md/software/
BuildRequires: gettext-devel
BuildRequires: libidn-devel
-BuildRequires: %{_bindir}/perl
+BuildRequires: perl-base
+Obsoletes: inetutils-whois
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
×ÉÂÉÒÁÔÉ ÐÒÁ×ÉÌØÎÉÊ whois ÓÅÒ×ÅÒ × ÚÁÌÅÖÎÏÓÔ¦ ×¦Ä ÚÁÐÉÔÕ.
%prep
-%setup -q
+%setup -q -n %{name}-4.7.7
%patch0 -p1
mv -f po/{no,nb}.po
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
+install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README debian/changelog
%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
%{_mandir}/man1/*