source: projects/specs/tags/6_0_REL/j/jwhois/jwhois-vl.spec @ 3755

Revision 3755, 3.1 KB checked in by inagaki, 13 years ago (diff)

update: jwhois, rdate

Line 
1Summary: Internet whois/nicname client.
2Summary(ja): whois クライアント
3Name: jwhois
4Version: 4.0
5Release: 3%{?_dist_release}
6
7License: GPLv3
8Group: Applications/Internet
9URL: http://www.gnu.org/software/jwhois/
10
11Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
12Source1: 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
16Source10: jwhois.conf
17
18Patch0: jwhois-4.0-connect.patch
19Patch1: jwhois-4.0-ipv6match.patch
20
21Buildroot: %{_tmppath}/%{name}-%{version}-root
22BuildRequires: libidn-devel
23Obsoletes: fwhois, whois
24Requires(post): /sbin/install-info
25Requires(preun): /sbin/install-info
26
27%description
28A whois client that accepts both traditional and finger-style queries.
29
30
31%prep
32%setup -q
33%patch0 -p1 -b .connect
34%patch1 -p1 -b .ipv6match
35
36%build
37%configure --without-cache
38make
39
40
41%install
42[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
43%makeinstall
44
45# Force compression of the info page so that the %%post knows its name.
46#gzip $RPM_BUILD_ROOT/%{_infodir}/*.info*
47rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
48%find_lang jwhois
49
50# Make "whois" jwhois.
51ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois
52echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1
53
54# install newest jwhois.conf
55install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf
56
57
58%files -f %{name}.lang
59%defattr(-,root,root)
60%doc COPYING NEWS README TODO
61%{_bindir}/*
62%{_mandir}/man1/*
63%{_mandir}/*/man1/jwhois.1*
64%{_infodir}/jwhois.info.gz
65%config(noreplace) %{_sysconfdir}/jwhois.conf
66
67
68%post
69/sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir
70
71%preun
72if [ $1 = 0 ]; then
73    /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir
74fi
75
76%clean
77[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
78
79
80%changelog
81* Sun May  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3
82- rebuilt with current VineSeed
83
84* Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2
85- spec in UTF-8
86
87* Mon Apr 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1
88- update jwhois.conf from cvs head
89- add patch[01] from fedora development
90  - Fix matching of cidr-ipv6 network addressed (patch1)
91  - Fix connections to IPv4 servers (patch0)
92
93* Wed Oct 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-0vl1
94- new upstream release
95- added Japanese summary
96
97* Sun Nov 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.3-0vl1
98- upstream release
99- update jwhois.conf (Source10)
100
101* Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl2
102- added Source10 (in sync with .org transition)
103
104* Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl1
105- based on 3.2.0-4 from Rawhide and built for Vine Linux
106
107* Thu Dec 12 2002 Karsten Hopp <karsten@redhat.de>
108- Requires(post,preun) doesn't seem to work properly
109
110* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
111- require install-info
112
113* Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-2
114- don't bail out of %%install if make install doesn't create an info top node
115
116* Mon Sep 30 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-1
117- initial package
Note: See TracBrowser for help on using the repository browser.