perl-Net-Netmask-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: perl-Net-Netmask
  2. Version: 1.9021
  3. Release: 1%{?_dist_release}
  4. Summary: Perl module for manipulation and lookup of IP network blocks
  5. Group: Development/Libraries
  6. License: Copyright only
  7. URL: http://search.cpan.org/dist/Net-Netmask/
  8. Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Net-Netmask-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. %description
  15. Net::Netmask parses and understands IPv4 CIDR blocks. It's built with
  16. an object-oriented interface. Nearly all functions are methods that
  17. operate on a Net::Netmask object.
  18. %prep
  19. %setup -q -n Net-Netmask-%{version}
  20. %build
  21. %{__perl} Makefile.PL INSTALLDIRS=vendor
  22. make %{?_smp_mflags}
  23. %install
  24. rm -rf %{buildroot}
  25. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  26. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  27. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  28. chmod -R u+w %{buildroot}/*
  29. %check
  30. make test
  31. %clean
  32. rm -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc Changes README
  36. %{perl_vendorlib}/Net/
  37. %{_mandir}/man3/*.3*
  38. %changelog
  39. * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9021-1
  40. - updated to 1.9021
  41. - built with perl 5.16.3
  42. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9015-2
  43. - rebuild
  44. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9015-1
  45. - initial build for Vine Linux
  46. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-10
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  48. * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.9015-9
  49. - Perl mass rebuild
  50. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-8
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  52. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9015-7
  53. - 661697 rebuild for fixing problems with vendorach/lib
  54. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.9015-6
  55. - Mass rebuild with perl-5.12.0
  56. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.9015-5
  57. - rebuild against perl 5.10.1
  58. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-4
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  60. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9015-3
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  62. * Mon Jun 30 2008 Paul Howarth <paul@city-fan.org> - 1.9015-2
  63. - Add perl(:MODULE_COMPAT...) dependency (#449362)
  64. - Remove redundant buildreq perl
  65. - Fix "make check" syntax
  66. - Fix argument order for find with -depth
  67. * Thu Sep 27 2007 Warren Togami <wtogami@redhat.com> - 1.9015-1
  68. - 1.9015, update license tag
  69. * Thu Sep 14 2006 Warren Togami <wtogami@redhat.com> - 1.9012-3
  70. - rebuild for FC6
  71. * Fri May 20 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.9012-2
  72. - 1.9012, use canonical CPAN URL in Source0.
  73. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.9011-2
  74. - rebuilt
  75. * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9011-1
  76. - Update to 1.9011.
  77. - Bring up to date with current fedora.us Perl spec template.
  78. * Sun Feb 8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9007-0.fdr.2
  79. - Reduce directory ownership bloat.
  80. - Run tests in the %%check section.
  81. * Sat Feb 07 2004 Warren Togami <warren@togami.com> - 0:1.9007-0.fdr.1
  82. - upgrade to 1.9007
  83. * Thu Nov 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.9004-0.fdr.2
  84. - Specfile rewrite.
  85. * Fri Sep 19 2003 Warren Togami <warren@togami.com> - 1.9004-0.fdr.1
  86. - Specfile autogenerated.