123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- 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 <tomop@teamgedoh.net> 4.0-5
- - import patches from rawhide.
- * Fri Jan 4 2013 IWAI, Masaharu <iwai@alib.jp> 4.0-4
- - update jwhois.conf (Source10) from cvs head (revision: 1.143)
- - add Vendor and Distribution tags
- * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3
- - rebuilt with current VineSeed
- * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2
- - spec in UTF-8
- * Mon Apr 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 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 <ryo1@bc.wakwak.com> 4.0-0vl1
- - new upstream release
- - added Japanese summary
- * Sun Nov 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.3-0vl1
- - upstream release
- - update jwhois.conf (Source10)
- * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl2
- - added Source10 (in sync with .org transition)
- * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl1
- - based on 3.2.0-4 from Rawhide and built for Vine Linux
- * Thu Dec 12 2002 Karsten Hopp <karsten@redhat.de>
- - Requires(post,preun) doesn't seem to work properly
- * Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- - require install-info
- * Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 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 <nalin@redhat.com> 3.2.0-1
- - initial package
|