Group :: Networking/Other
RPM: whois
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: whois
Version: 4.7.26
Release: alt1
Summary: Enhanced WHOIS client
License: GPL
Group: Networking/Other
Url: http://www.linux.it/~md/software
Packager: Dmitry V. Levin <ldv at altlinux.org>
%define rhver 1.0.10
# %url/whois_%version.tar.gz
Source0: whois_%version.tar
Source1: whois-%rhver.tar
Patch: whois-%version-%release.patch
Provides: fwhois = 1.00
Obsoletes: fwhois
BuildRequires: libidn-devel
Summary(ru_RU.KOI8-R): Улучшенный клиент WHOIS
%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
%patch -p1
bzip2 -9k debian/changelog
%build
pushd whois-%rhver
%configure
%make_build
popd
%make_build OPTS="%optflags" HAVE_LIBIDN=1 whois
%install
install -pD -m755 whois-%rhver/whois %buildroot%_bindir/fwhois
install -pD -m644 whois-%rhver/whois.1 %buildroot%_man1dir/fwhois.1
%make_install install BASEDIR=%buildroot 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.26
Release: alt1
Summary: Enhanced WHOIS client
License: GPL
Group: Networking/Other
Url: http://www.linux.it/~md/software
Packager: Dmitry V. Levin <ldv at altlinux.org>
%define rhver 1.0.10
# %url/whois_%version.tar.gz
Source0: whois_%version.tar
Source1: whois-%rhver.tar
Patch: whois-%version-%release.patch
Provides: fwhois = 1.00
Obsoletes: fwhois
BuildRequires: libidn-devel
Summary(ru_RU.KOI8-R): Улучшенный клиент WHOIS
%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
%patch -p1
bzip2 -9k debian/changelog
%build
pushd whois-%rhver
%configure
%make_build
popd
%make_build OPTS="%optflags" HAVE_LIBIDN=1 whois
%install
install -pD -m755 whois-%rhver/whois %buildroot%_bindir/fwhois
install -pD -m644 whois-%rhver/whois.1 %buildroot%_man1dir/fwhois.1
%make_install install BASEDIR=%buildroot 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