[521] | 1 | Summary: Internet whois/nicname client. |
---|
| 2 | Summary(ja): whois クライアント |
---|
| 3 | Name: jwhois |
---|
| 4 | Version: 4.0 |
---|
[9674] | 5 | Release: 5%{?_dist_release} |
---|
[3755] | 6 | |
---|
| 7 | License: GPLv3 |
---|
| 8 | Group: Applications/Internet |
---|
[521] | 9 | URL: http://www.gnu.org/software/jwhois/ |
---|
[3755] | 10 | |
---|
[521] | 11 | Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz |
---|
| 12 | Source1: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz.sig |
---|
| 13 | |
---|
| 14 | # newest jwhois.conf can be obtained from: |
---|
| 15 | # http://savannah.gnu.org/cgi-bin/viewcvs/jwhois/jwhois/example/jwhois.conf |
---|
[7285] | 16 | # revision: 1.143 |
---|
| 17 | Source10: jwhois-r1.143.conf |
---|
[521] | 18 | |
---|
| 19 | Patch0: jwhois-4.0-connect.patch |
---|
| 20 | Patch1: jwhois-4.0-ipv6match.patch |
---|
[9674] | 21 | Patch2: jwhois-4.0-fclose.patch |
---|
| 22 | Patch3: jwhois-4.0-select.patch |
---|
| 23 | Patch4: jwhois-4.0-conf-update.patch |
---|
| 24 | Patch5: jwhois-4.0-multi-homed.patch |
---|
| 25 | Patch6: jwhois-4.0-libidn2.patch |
---|
| 26 | Patch7: jwhois-4.0-idna.patch |
---|
| 27 | Patch8: jwhois-4.0-idnfail.patch |
---|
[521] | 28 | |
---|
| 29 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[3755] | 30 | BuildRequires: libidn-devel |
---|
[521] | 31 | Obsoletes: fwhois, whois |
---|
| 32 | Requires(post): /sbin/install-info |
---|
| 33 | Requires(preun): /sbin/install-info |
---|
| 34 | |
---|
[7285] | 35 | Vendor: Project Vine |
---|
| 36 | Distribution: Vine Linux |
---|
| 37 | |
---|
[521] | 38 | %description |
---|
| 39 | A whois client that accepts both traditional and finger-style queries. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | %patch0 -p1 -b .connect |
---|
| 45 | %patch1 -p1 -b .ipv6match |
---|
[9674] | 46 | %patch2 -p1 -b .fclose |
---|
| 47 | %patch3 -p1 -b .select |
---|
| 48 | %patch4 -p1 -b .conf-update |
---|
| 49 | %patch5 -p1 -b .multi-homed |
---|
| 50 | %patch6 -p1 -b .libidn2 |
---|
| 51 | %patch7 -p1 -b .idna |
---|
| 52 | %patch8 -p1 -b .idnfail |
---|
[521] | 53 | |
---|
[9674] | 54 | iconv -f iso-8859-1 -t utf-8 < doc/sv/jwhois.1 > doc/sv/jwhois.1_ |
---|
| 55 | mv doc/sv/jwhois.1_ doc/sv/jwhois.1 |
---|
| 56 | |
---|
[521] | 57 | %build |
---|
| 58 | %configure --without-cache |
---|
| 59 | make |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %install |
---|
| 63 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT |
---|
| 64 | %makeinstall |
---|
| 65 | |
---|
| 66 | # Force compression of the info page so that the %%post knows its name. |
---|
| 67 | #gzip $RPM_BUILD_ROOT/%{_infodir}/*.info* |
---|
| 68 | rm -f $RPM_BUILD_ROOT/%{_infodir}/dir |
---|
| 69 | %find_lang jwhois |
---|
| 70 | |
---|
| 71 | # Make "whois" jwhois. |
---|
| 72 | ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois |
---|
| 73 | echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1 |
---|
| 74 | |
---|
| 75 | # install newest jwhois.conf |
---|
[9674] | 76 | #install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf |
---|
[521] | 77 | |
---|
| 78 | |
---|
| 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root) |
---|
| 81 | %doc COPYING NEWS README TODO |
---|
| 82 | %{_bindir}/* |
---|
| 83 | %{_mandir}/man1/* |
---|
| 84 | %{_mandir}/*/man1/jwhois.1* |
---|
| 85 | %{_infodir}/jwhois.info.gz |
---|
| 86 | %config(noreplace) %{_sysconfdir}/jwhois.conf |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %post |
---|
| 90 | /sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir |
---|
| 91 | |
---|
| 92 | %preun |
---|
| 93 | if [ $1 = 0 ]; then |
---|
| 94 | /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir |
---|
| 95 | fi |
---|
| 96 | |
---|
| 97 | %clean |
---|
| 98 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | %changelog |
---|
[9674] | 102 | * Thu Jul 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-5 |
---|
| 103 | - import patches from rawhide. |
---|
| 104 | |
---|
[7285] | 105 | * Fri Jan 4 2013 IWAI, Masaharu <iwai@alib.jp> 4.0-4 |
---|
| 106 | - update jwhois.conf (Source10) from cvs head (revision: 1.143) |
---|
| 107 | - add Vendor and Distribution tags |
---|
| 108 | |
---|
[3755] | 109 | * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3 |
---|
| 110 | - rebuilt with current VineSeed |
---|
| 111 | |
---|
[521] | 112 | * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2 |
---|
| 113 | - spec in UTF-8 |
---|
| 114 | |
---|
| 115 | * Mon Apr 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1 |
---|
| 116 | - update jwhois.conf from cvs head |
---|
| 117 | - add patch[01] from fedora development |
---|
| 118 | - Fix matching of cidr-ipv6 network addressed (patch1) |
---|
| 119 | - Fix connections to IPv4 servers (patch0) |
---|
| 120 | |
---|
| 121 | * Wed Oct 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-0vl1 |
---|
| 122 | - new upstream release |
---|
| 123 | - added Japanese summary |
---|
| 124 | |
---|
| 125 | * Sun Nov 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.3-0vl1 |
---|
| 126 | - upstream release |
---|
| 127 | - update jwhois.conf (Source10) |
---|
| 128 | |
---|
| 129 | * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl2 |
---|
| 130 | - added Source10 (in sync with .org transition) |
---|
| 131 | |
---|
| 132 | * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl1 |
---|
| 133 | - based on 3.2.0-4 from Rawhide and built for Vine Linux |
---|
| 134 | |
---|
| 135 | * Thu Dec 12 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 136 | - Requires(post,preun) doesn't seem to work properly |
---|
| 137 | |
---|
| 138 | * Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 139 | - require install-info |
---|
| 140 | |
---|
| 141 | * Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-2 |
---|
| 142 | - don't bail out of %%install if make install doesn't create an info top node |
---|
| 143 | |
---|
| 144 | * Mon Sep 30 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-1 |
---|
| 145 | - initial package |
---|