perl-Net-IP-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Name: perl-Net-IP
  2. Version: 1.26
  3. Release: 3%{?_dist_release}
  4. Summary: Perl module for manipulation of IPv4 and IPv6 addresses
  5. Group: Development/Libraries
  6. License: GPL or Artistic
  7. URL: http://search.cpan.org/dist/Net-IP/
  8. Source: http://www.cpan.org/modules/by-module/Net/Net-IP-%{version}.tar.gz
  9. Patch0: ipcount-invalid_chars_in_IP.patch
  10. Patch1: perl-Net-IP-1.25-bz197425.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This is the Net::IP module for Perl, designed to allow easy
  18. manipulation of IPv4 and IPv6 addresses. Two applications using the
  19. Net::IP module are included: ipcount, an IP address mini-calculator,
  20. it can calculate the number of IP addresses in a prefix or all the
  21. prefixes contained in a given range; and iptab, which prints out a
  22. handy IP "cheat sheet".
  23. %prep
  24. %setup -q -n Net-IP-%{version}
  25. %patch0 -p1
  26. %patch1 -p1
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make pure_install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  34. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w $RPM_BUILD_ROOT/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %license COPYING
  43. %doc Changes README
  44. %{_bindir}/ipcount
  45. %{_bindir}/iptab
  46. %{perl_vendorlib}/Net/
  47. %{_mandir}/man3/Net::IP.3*
  48. %changelog
  49. * Fri Aug 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26-3
  50. - imported Patch0 from opensuse.
  51. - imported Patch1 from rawhide.
  52. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26-2
  53. - rebuilt with perl-5.26.
  54. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
  55. - build with Perl 5.16
  56. - update to 1.26
  57. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.25-2
  58. - build with perl 5.12.3
  59. - add Vendor and Distribution tags
  60. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.25-1vl5
  61. - rebuilt with perl-5.10.0
  62. - applied new versioning policy
  63. * Mon Oct 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  64. - 1.25-0vl2
  65. - Build for VineSeed / Vine 4.0
  66. - changed Group to Development/Languages
  67. - installs to vendor_arch directory
  68. * Wed Oct 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  69. - upstream release
  70. - 1.25-0vl1
  71. - Build for Vine 3.2
  72. * Fri Jan 06 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  73. - 1.24-2vl0.1
  74. - Nora Package for Vine 3.2
  75. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  76. - rebuilt for new gcj
  77. * Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2
  78. - import into FC5 because perl-Net-DNS needs it
  79. * Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1
  80. - 1.24.
  81. * Mon Jun 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
  82. - 1.23, patches applied upstream.
  83. - Improve description.
  84. * Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2
  85. - 1.22, include test case for rt.cpan.org #7528 patch.
  86. - Patch to mute stdout noise from ip_reverse().
  87. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2
  88. - rebuilt
  89. * Thu Dec 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1
  90. - Update to 1.21.
  91. * Sat Nov 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.7
  92. - Apply fixes from rt.cpan.org #3844 and #7528.
  93. - Some specfile cleanups.
  94. * Sun May 9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.6
  95. - BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs.
  96. - Use pure_install to avoid perllocal.pod workarounds.
  97. * Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.5
  98. - Require perl(:MODULE_COMPAT_*).
  99. * Mon Feb 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.4
  100. - Reduce directory ownership bloat.
  101. * Mon Dec 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.3
  102. - Specfile cleanup.
  103. * Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.2
  104. - Install into vendor dirs.
  105. * Wed Jul 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.1
  106. - First build.