jwhois-vl.spec 3.3 KB

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