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

Revision 9674, 3.9 KB checked in by tomop, 9 years ago (diff)

jwhois-4.0-5

Line 
1Summary: Internet whois/nicname client.
2Summary(ja): whois クライアント
3Name: jwhois
4Version: 4.0
5Release: 5%{?_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
21Patch2: jwhois-4.0-fclose.patch
22Patch3: jwhois-4.0-select.patch
23Patch4: jwhois-4.0-conf-update.patch
24Patch5: jwhois-4.0-multi-homed.patch
25Patch6: jwhois-4.0-libidn2.patch
26Patch7: jwhois-4.0-idna.patch
27Patch8: jwhois-4.0-idnfail.patch
28
29Buildroot: %{_tmppath}/%{name}-%{version}-root
30BuildRequires: libidn-devel
31Obsoletes: fwhois, whois
32Requires(post): /sbin/install-info
33Requires(preun): /sbin/install-info
34
35Vendor: Project Vine
36Distribution: Vine Linux
37
38%description
39A 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
54iconv -f iso-8859-1 -t utf-8 < doc/sv/jwhois.1 > doc/sv/jwhois.1_
55mv doc/sv/jwhois.1_ doc/sv/jwhois.1
56
57%build
58%configure --without-cache
59make
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*
68rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
69%find_lang jwhois
70
71# Make "whois" jwhois.
72ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois
73echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1
74
75# install newest jwhois.conf
76#install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf
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
93if [ $1 = 0 ]; then
94    /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir
95fi
96
97%clean
98[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
99
100
101%changelog
102* Thu Jul  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-5
103- import patches from rawhide.
104
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
109* Sun May  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3
110- rebuilt with current VineSeed
111
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
Note: See TracBrowser for help on using the repository browser.