Summary: Internet whois/nicname client. Summary(ja): whois クライアント Name: jwhois Version: 4.0 Release: 5%{?_dist_release} License: GPLv3 Group: Applications/Internet URL: http://www.gnu.org/software/jwhois/ Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz.sig # newest jwhois.conf can be obtained from: # http://savannah.gnu.org/cgi-bin/viewcvs/jwhois/jwhois/example/jwhois.conf # revision: 1.143 Source10: jwhois-r1.143.conf Patch0: jwhois-4.0-connect.patch Patch1: jwhois-4.0-ipv6match.patch Patch2: jwhois-4.0-fclose.patch Patch3: jwhois-4.0-select.patch Patch4: jwhois-4.0-conf-update.patch Patch5: jwhois-4.0-multi-homed.patch Patch6: jwhois-4.0-libidn2.patch Patch7: jwhois-4.0-idna.patch Patch8: jwhois-4.0-idnfail.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libidn-devel Obsoletes: fwhois, whois Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Vendor: Project Vine Distribution: Vine Linux %description A whois client that accepts both traditional and finger-style queries. %prep %setup -q %patch0 -p1 -b .connect %patch1 -p1 -b .ipv6match %patch2 -p1 -b .fclose %patch3 -p1 -b .select %patch4 -p1 -b .conf-update %patch5 -p1 -b .multi-homed %patch6 -p1 -b .libidn2 %patch7 -p1 -b .idna %patch8 -p1 -b .idnfail iconv -f iso-8859-1 -t utf-8 < doc/sv/jwhois.1 > doc/sv/jwhois.1_ mv doc/sv/jwhois.1_ doc/sv/jwhois.1 %build %configure --without-cache make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT %makeinstall # Force compression of the info page so that the %%post knows its name. #gzip $RPM_BUILD_ROOT/%{_infodir}/*.info* rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang jwhois # Make "whois" jwhois. ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1 # install newest jwhois.conf #install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf %files -f %{name}.lang %defattr(-,root,root) %doc COPYING NEWS README TODO %{_bindir}/* %{_mandir}/man1/* %{_mandir}/*/man1/jwhois.1* %{_infodir}/jwhois.info.gz %config(noreplace) %{_sysconfdir}/jwhois.conf %post /sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir fi %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT %changelog * Thu Jul 9 2015 Tomohiro "Tomo-p" KATO 4.0-5 - import patches from rawhide. * Fri Jan 4 2013 IWAI, Masaharu 4.0-4 - update jwhois.conf (Source10) from cvs head (revision: 1.143) - add Vendor and Distribution tags * Sun May 1 2011 Ryoichi INAGAKI 4.0-3 - rebuilt with current VineSeed * Sun May 17 2009 Ryoichi INAGAKI 4.0-2 - spec in UTF-8 * Mon Apr 21 2008 Daisuke SUZUKI 4.0-1 - update jwhois.conf from cvs head - add patch[01] from fedora development - Fix matching of cidr-ipv6 network addressed (patch1) - Fix connections to IPv4 servers (patch0) * Wed Oct 24 2007 Ryoichi INAGAKI 4.0-0vl1 - new upstream release - added Japanese summary * Sun Nov 13 2005 KAZUKI SHIMURA 3.2.3-0vl1 - upstream release - update jwhois.conf (Source10) * Thu Jan 23 2003 MATSUBAYASHI Kohji 3.2.0-4vl2 - added Source10 (in sync with .org transition) * Thu Jan 23 2003 MATSUBAYASHI Kohji 3.2.0-4vl1 - based on 3.2.0-4 from Rawhide and built for Vine Linux * Thu Dec 12 2002 Karsten Hopp - Requires(post,preun) doesn't seem to work properly * Wed Nov 20 2002 Florian La Roche - require install-info * Thu Nov 14 2002 Nalin Dahyabhai 3.2.0-2 - don't bail out of %%install if make install doesn't create an info top node * Mon Sep 30 2002 Nalin Dahyabhai 3.2.0-1 - initial package