%define name whois %define version 4.5.14 %define release 1mdk %define url http://www.linux.it/~md/software/ Summary: Enhanced WHOIS client Name: %{name} Version: %{version} Release: %{release} Source0: ftp://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.bz2 URL: %{url} License: GPL Group: Networking/Other BuildRequires: gettext BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Patch: whois-4.5.6-mandir.patch.bz2 Obsoletes: fwhois %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. %prep %setup -q %patch -p1 %build %make OPTS="%optflags" whois %install rm -rf %buildroot mkdir -p %buildroot/%{_bindir} mkdir -p %buildroot/%{_mandir}/man1 make install BASEDIR=%buildroot prefix=%{prefix}/ mandir=%{_mandir} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc [A-Z][A-Z]* %{_bindir}/* %{_mandir}/*/* %changelog * Fri Nov 30 2001 Florin <florin@mandrakesoft.com> 4.5.14-1mdk - 4.5.14 * Tue Oct 09 2001 Florin <florin@mandrakesoft.com> 4.5.12-1mdk - 4.5.12 * Sun Aug 19 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 4.5.7-2mdk - Change the misleading description (askwar). * Sun Aug 19 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 4.5.7-1mdk - Attempt to build a 4.5.7. * Wed Aug 01 2001 Stefan van der Eijk <stefan@eijk.nu> 4.5.6-3mdk - BuildRequires: gettext - s/Copyright/License/ * Thu May 3 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 4.5.6-2mdk - Remove mkpasswd. * Wed May 2 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 4.5.6-1mdk - First attempt, obsoletes fwhois. # end of file