perl-Net-IP-vl.spec 3.4 KB

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