1 | Summary: Internet whois/nicname client. |
---|
2 | Summary(ja): whois クライアント |
---|
3 | Name: jwhois |
---|
4 | Version: 4.0 |
---|
5 | Release: 6%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv3 |
---|
8 | Group: Applications/Internet |
---|
9 | URL: http://www.gnu.org/software/jwhois/ |
---|
10 | |
---|
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 |
---|
16 | # revision: 1.143 |
---|
17 | Source10: jwhois-r1.143.conf |
---|
18 | |
---|
19 | Patch0: jwhois-4.0-connect.patch |
---|
20 | Patch1: jwhois-4.0-ipv6match.patch |
---|
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 |
---|
28 | |
---|
29 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | BuildRequires: libidn-devel |
---|
31 | Obsoletes: fwhois, whois |
---|
32 | Requires(post): /sbin/install-info |
---|
33 | Requires(preun): /sbin/install-info |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | |
---|
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 |
---|
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 |
---|
53 | |
---|
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 | |
---|
57 | %build |
---|
58 | %configure --without-cache |
---|
59 | make %{?_smp_mflags} |
---|
60 | |
---|
61 | %install |
---|
62 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT |
---|
63 | %makeinstall |
---|
64 | |
---|
65 | # Force compression of the info page so that the %%post knows its name. |
---|
66 | #gzip $RPM_BUILD_ROOT/%{_infodir}/*.info* |
---|
67 | rm -f $RPM_BUILD_ROOT/%{_infodir}/dir |
---|
68 | %find_lang jwhois |
---|
69 | |
---|
70 | # Make "whois" jwhois. |
---|
71 | ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois |
---|
72 | echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1 |
---|
73 | |
---|
74 | # install newest jwhois.conf |
---|
75 | # install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf |
---|
76 | |
---|
77 | |
---|
78 | %files -f %{name}.lang |
---|
79 | %defattr(-,root,root) |
---|
80 | %doc COPYING NEWS README TODO |
---|
81 | %{_bindir}/* |
---|
82 | %{_mandir}/man1/* |
---|
83 | %{_mandir}/*/man1/jwhois.1* |
---|
84 | %{_infodir}/jwhois.info.gz |
---|
85 | %config(noreplace) %{_sysconfdir}/jwhois.conf |
---|
86 | |
---|
87 | %post |
---|
88 | /sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir |
---|
89 | |
---|
90 | %preun |
---|
91 | if [ $1 = 0 ]; then |
---|
92 | /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir |
---|
93 | fi |
---|
94 | |
---|
95 | %clean |
---|
96 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Sun Feb 28 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0-6 |
---|
101 | - rebuilt current env |
---|
102 | - use smp flage in make section |
---|
103 | |
---|
104 | * Thu Jul 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-5 |
---|
105 | - import patches from rawhide. |
---|
106 | |
---|
107 | * Fri Jan 4 2013 IWAI, Masaharu <iwai@alib.jp> 4.0-4 |
---|
108 | - update jwhois.conf (Source10) from cvs head (revision: 1.143) |
---|
109 | - add Vendor and Distribution tags |
---|
110 | |
---|
111 | * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3 |
---|
112 | - rebuilt with current VineSeed |
---|
113 | |
---|
114 | * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2 |
---|
115 | - spec in UTF-8 |
---|
116 | |
---|
117 | * Mon Apr 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1 |
---|
118 | - update jwhois.conf from cvs head |
---|
119 | - add patch[01] from fedora development |
---|
120 | - Fix matching of cidr-ipv6 network addressed (patch1) |
---|
121 | - Fix connections to IPv4 servers (patch0) |
---|
122 | |
---|
123 | * Wed Oct 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-0vl1 |
---|
124 | - new upstream release |
---|
125 | - added Japanese summary |
---|
126 | |
---|
127 | * Sun Nov 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.3-0vl1 |
---|
128 | - upstream release |
---|
129 | - update jwhois.conf (Source10) |
---|
130 | |
---|
131 | * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl2 |
---|
132 | - added Source10 (in sync with .org transition) |
---|
133 | |
---|
134 | * Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl1 |
---|
135 | - based on 3.2.0-4 from Rawhide and built for Vine Linux |
---|
136 | |
---|
137 | * Thu Dec 12 2002 Karsten Hopp <karsten@redhat.de> |
---|
138 | - Requires(post,preun) doesn't seem to work properly |
---|
139 | |
---|
140 | * Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
141 | - require install-info |
---|
142 | |
---|
143 | * Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-2 |
---|
144 | - don't bail out of %%install if make install doesn't create an info top node |
---|
145 | |
---|
146 | * Mon Sep 30 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-1 |
---|
147 | - initial package |
---|