Group :: Networking/Other
RPM: whois
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: whois
Version: 4.7.5
Release: alt1
Summary: Enhanced WHOIS client
License: GPL
Group: Networking/Other
Url: http://www.linux.it/~md/software
Summary(ru_RU.KOI8-R): Улучшенный клиент WHOIS
%define rhver 1.0.10
Source0: %url/%{name}_%version.tar.bz2
Source1: whois-%rhver.tar.bz2
Patch1: %name-4.6.11-alt-makefile.patch
Patch2: %name-4.7.4-gentoo-alt-fixes.patch
Patch3: %name-4.6.19-alt-format.patch
Provides: fwhois = 1.00
Obsoletes: fwhois
BuildRequires: libidn-devel
%description
This is a new whois (RFC 954) client rewritten from scratch.
It is derived from and compatible with the usual BSD and RIPE whois(1)
programs.
It is intelligent and can automatically select the appropriate whois
server for most queries.
%description -l ru_RU.KOI8-R
Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
программами BSD и RIPE. В большинстве случаев он может автоматически
выбирать правильный whois сервер в зависимости от запроса.
%prep
%setup -q -a1
%patch1 -p1
%patch2 -p1
%patch3 -p1
find -type f -name \*.orig -delete -print
%build
pushd whois-%rhver
%configure
%make_build
popd
%make_build OPTS="$RPM_OPT_FLAGS" HAVE_LIBIDN=1
bzip2 -9fk debian/changelog
%install
%__install -pD -m755 whois-%rhver/whois $RPM_BUILD_ROOT%_bindir/fwhois
%__install -pD -m644 whois-%rhver/whois.1 $RPM_BUILD_ROOT%_man1dir/fwhois.1
%make_install install BASEDIR=$RPM_BUILD_ROOT prefix=%prefix
%find_lang %name
%pre
UA=/usr/sbin/update-alternatives
[ -x "$UA" -a -L /usr/bin/whois ] && "$UA" --remove whois /usr/bin/fwhois ||:
%files -f %name.lang
%doc README debian/changelog.bz2 debian/copyright
%_bindir/*
%_mandir/man?/*
%changelog
…
Full changelog you can see here
Version: 4.7.5
Release: alt1
Summary: Enhanced WHOIS client
License: GPL
Group: Networking/Other
Url: http://www.linux.it/~md/software
Summary(ru_RU.KOI8-R): Улучшенный клиент WHOIS
%define rhver 1.0.10
Source0: %url/%{name}_%version.tar.bz2
Source1: whois-%rhver.tar.bz2
Patch1: %name-4.6.11-alt-makefile.patch
Patch2: %name-4.7.4-gentoo-alt-fixes.patch
Patch3: %name-4.6.19-alt-format.patch
Provides: fwhois = 1.00
Obsoletes: fwhois
BuildRequires: libidn-devel
%description
This is a new whois (RFC 954) client rewritten from scratch.
It is derived from and compatible with the usual BSD and RIPE whois(1)
programs.
It is intelligent and can automatically select the appropriate whois
server for most queries.
%description -l ru_RU.KOI8-R
Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
программами BSD и RIPE. В большинстве случаев он может автоматически
выбирать правильный whois сервер в зависимости от запроса.
%prep
%setup -q -a1
%patch1 -p1
%patch2 -p1
%patch3 -p1
find -type f -name \*.orig -delete -print
%build
pushd whois-%rhver
%configure
%make_build
popd
%make_build OPTS="$RPM_OPT_FLAGS" HAVE_LIBIDN=1
bzip2 -9fk debian/changelog
%install
%__install -pD -m755 whois-%rhver/whois $RPM_BUILD_ROOT%_bindir/fwhois
%__install -pD -m644 whois-%rhver/whois.1 $RPM_BUILD_ROOT%_man1dir/fwhois.1
%make_install install BASEDIR=$RPM_BUILD_ROOT prefix=%prefix
%find_lang %name
%pre
UA=/usr/sbin/update-alternatives
[ -x "$UA" -a -L /usr/bin/whois ] && "$UA" --remove whois /usr/bin/fwhois ||:
%files -f %name.lang
%doc README debian/changelog.bz2 debian/copyright
%_bindir/*
%_mandir/man?/*
%changelog
…
Full changelog you can see here