source: projects/specs/trunk/j/jwhois/jwhois-vl.spec @ 7285

Revision 7285, 3.3 KB checked in by iwaim, 11 years ago (diff)

jwhois 4.0-4

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