%define name whois %define version 4.6.6 %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 Provides: 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 Aug 08 2003 Florin <florin@mandrakesoft.com> 4.6.6-1mdk - 4.6.6 * Wed Apr 2 2003 Chmouel Boudjnah <chmouel@mandrakesoft.com> 4.6.3-1mdk - Bump to version 4.6.3. * Fri Jan 10 2003 Florin <florin@mandrakesoft.com> 4.6.1-1mdk - 4.6.1 - comment out the man patch * Wed Aug 28 2002 Florin <florin@mandrakesoft.com> 4.5.29-1mdk - 4.5.29 * Fri May 03 2002 Florin <florin@mandrakesoft.com> 4.5.25-1mdk - 4.5.25 * Thu Mar 21 2002 Florin <florin@mandrakesoft.com> 4.5.22-1mdk - 4.5.22 * 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