source: projects/specs/branches/6/j/jwhois/jwhois-vl.spec @ 10051

Revision 10051, 4.0 KB checked in by iwamoto, 8 years ago (diff)

jwhois: rebuilt current Vine6 envionment

Line 
1Summary: Internet whois/nicname client.
2Summary(ja): whois クライアント
3Name: jwhois
4Version: 4.0
5Release: 6%{?_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 %{?_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*
67rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
68%find_lang jwhois
69
70# Make "whois" jwhois.
71ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois
72echo .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
91if [ $1 = 0 ]; then
92    /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir
93fi
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
Note: See TracBrowser for help on using the repository browser.