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

Revision 12385, 4.8 KB checked in by tomop, 4 years ago (diff)

updated 3 packages

git-2.26.1-1

jwhois-4.0-8

uw-imap-2007f-4

Line 
1Summary: Internet whois/nicname client.
2Summary(ja): whois クライアント
3Name: jwhois
4Version: 4.0
5Release: 8%{?_dist_release}
6Group: Applications/Internet
7Vendor: Project Vine
8Distribution: Vine Linux
9
10License: GPLv3
11URL: http://www.gnu.org/software/jwhois/
12Source: https://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
13Source1: https://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz.sig
14
15# newest jwhois.conf
16# https://github.com/robert-scheck/jwhois/blob/master/example/jwhois.conf
17Source10: https://raw.githubusercontent.com/robert-scheck/jwhois/2018b4f8f0799e6c55e4d11f0ab653f1801d85aa/example/jwhois.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
23# Patch4: 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# Patch9: adds options to force querying on ipv4 or ipv6, see rhbz#1551215
29Patch9: jwhois-4.0-ipv4_ipv6.patch
30
31Patch1000: jwhois-4.0-conf-update-newgTLD.patch
32
33Buildroot: %{_tmppath}/%{name}-%{version}-root
34BuildRequires: libidn-devel
35Obsoletes: fwhois, whois
36Requires(post): /sbin/install-info
37Requires(preun): /sbin/install-info
38
39%description
40A whois client that accepts both traditional and finger-style queries.
41
42
43%prep
44%setup -q
45%{__cp} %{SOURCE10} example/
46
47%patch0 -p1 -b .connect
48%patch1 -p1 -b .ipv6match
49%patch2 -p1 -b .fclose
50%patch3 -p1 -b .select
51# %patch4 -p1 -b .conf-update
52%patch5 -p1 -b .multi-homed
53%patch6 -p1 -b .libidn2
54%patch7 -p1 -b .idna
55%patch8 -p1 -b .idnfail
56%patch9 -p1 -b .ipv4_ipv6
57
58# add several new gTLD
59# http://fukumoto-tech.serveblog.net/wiki/index.php?%BF%B7gTLD%A4%CEwhois%20%A5%B5%A1%BC%A5%D0%C5%D0%CF%BF%C6%E2%CD%C6%A4%CB%A4%C4%A4%A4%A4%C6
60%patch1000 -p1 -b .conf-update-newgTLD
61
62iconv -f iso-8859-1 -t utf-8 < doc/sv/jwhois.1 > doc/sv/jwhois.1_
63mv doc/sv/jwhois.1_ doc/sv/jwhois.1
64
65
66%build
67%configure --without-cache
68make %{?_smp_mflags}
69
70
71%install
72[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
73%makeinstall
74
75# Force compression of the info page so that the %%post knows its name.
76#gzip $RPM_BUILD_ROOT/%{_infodir}/*.info*
77rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
78%find_lang jwhois
79
80# Make "whois" jwhois.
81ln -sf jwhois $RPM_BUILD_ROOT/%{_bindir}/whois
82echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1
83
84# install newest jwhois.conf
85# install -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}/etc/jwhois.conf
86
87
88%files -f %{name}.lang
89%defattr(-,root,root)
90%doc COPYING NEWS README TODO
91%{_bindir}/*
92%{_mandir}/man1/*
93%{_mandir}/*/man1/jwhois.1*
94%{_infodir}/jwhois.info.gz
95%config(noreplace) %{_sysconfdir}/jwhois.conf
96
97
98%post
99/sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir
100
101%preun
102if [ $1 = 0 ]; then
103    /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir
104fi
105
106
107%clean
108[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
109
110
111%changelog
112* Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-8
113- updated Source10.
114- renumbered Patch9 to Patch1000.
115- updated Patch1000.
116- imported Patch9 from rawhide.
117
118* Sat Nov 12 2016 Toshiaki Ara <ara_t@384.jp> 4.0-7
119- update jwhois.conf from GitHub head
120- add several new gTLD
121
122* Sun Feb 28 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0-6
123- rebuilt current env
124- use smp flage in make section
125
126* Thu Jul  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-5
127- import patches from rawhide.
128
129* Fri Jan  4 2013 IWAI, Masaharu <iwai@alib.jp> 4.0-4
130- update jwhois.conf (Source10) from cvs head (revision: 1.143)
131- add Vendor and Distribution tags
132
133* Sun May  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3
134- rebuilt with current VineSeed
135
136* Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2
137- spec in UTF-8
138
139* Mon Apr 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1
140- update jwhois.conf from cvs head
141- add patch[01] from fedora development
142  - Fix matching of cidr-ipv6 network addressed (patch1)
143  - Fix connections to IPv4 servers (patch0)
144
145* Wed Oct 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-0vl1
146- new upstream release
147- added Japanese summary
148
149* Sun Nov 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.3-0vl1
150- upstream release
151- update jwhois.conf (Source10)
152
153* Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl2
154- added Source10 (in sync with .org transition)
155
156* Thu Jan 23 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.0-4vl1
157- based on 3.2.0-4 from Rawhide and built for Vine Linux
158
159* Thu Dec 12 2002 Karsten Hopp <karsten@redhat.de>
160- Requires(post,preun) doesn't seem to work properly
161
162* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
163- require install-info
164
165* Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-2
166- don't bail out of %%install if make install doesn't create an info top node
167
168* Mon Sep 30 2002 Nalin Dahyabhai <nalin@redhat.com> 3.2.0-1
169- initial package
Note: See TracBrowser for help on using the repository browser.