perl-Net-CIDR-Lite-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Name: perl-Net-CIDR-Lite
  2. Version: 0.21
  3. Release: 16%{?_dist_release}
  4. Summary: Perl extension for merging IPv4 or IPv6 CIDR addresses
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Net-CIDR-Lite/
  8. Source0: http://www.cpan.org/authors/id/D/DO/DOUGW/Net-CIDR-Lite-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  10. BuildArch: noarch
  11. # Build
  12. BuildRequires: coreutils
  13. BuildRequires: findutils
  14. BuildRequires: make
  15. BuildRequires: perl
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. # Runtime
  18. BuildRequires: perl(Carp)
  19. BuildRequires: perl(strict)
  20. BuildRequires: perl(vars)
  21. # Tests
  22. BuildRequires: perl(Test)
  23. BuildRequires: perl(Test::More)
  24. # Optional Tests
  25. BuildRequires: perl(Test::Pod)
  26. BuildRequires: perl(Test::Pod::Coverage)
  27. # Explicit Requirements
  28. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: tomop
  32. %description
  33. Faster alternative to Net::CIDR when merging a large number of CIDR address
  34. ranges. Works for IPv4 and IPv6 addresses.
  35. %prep
  36. %setup -q -n Net-CIDR-Lite-%{version}
  37. %build
  38. perl Makefile.PL INSTALLDIRS=vendor
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  44. %{_fixperms} $RPM_BUILD_ROOT
  45. %check
  46. make test
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %doc Changes README
  51. %{perl_vendorlib}/Net/
  52. %{_mandir}/man3/Net::CIDR::Lite.3*
  53. %changelog
  54. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-16
  55. - rebuilt with perl-5.26.
  56. * Sat Nov 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21-15
  57. - initial build for Vine Linux.
  58. * Wed Oct 14 2015 Paul Howarth <paul@city-fan.org> - 0.21-14
  59. - Classify buildreqs by usage
  60. - Drop %%defattr, redundant since rpm 4.4
  61. - Don't need to remove empty directories from the buildroot
  62. - Don't use macros for commands
  63. - Make %%files list more explicit
  64. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-13
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  66. * Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-12
  67. - Perl 5.22 rebuild
  68. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-11
  69. - Perl 5.20 rebuild
  70. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-10
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  72. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-9
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  74. * Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.21-8
  75. - Perl 5.18 rebuild
  76. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-7
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  78. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-6
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  80. * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.21-5
  81. - Perl 5.16 rebuild
  82. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-4
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  84. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.21-3
  85. - Perl mass rebuild
  86. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  88. * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 0.21-1
  89. - Update to 0.21.
  90. - Improve Summary.
  91. - Drop our generated copies of the license text.
  92. - Add BR Test::More.
  93. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-9
  94. - 661697 rebuild for fixing problems with vendorach/lib
  95. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-8
  96. - Mass rebuild with perl-5.12.0
  97. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.20-7
  98. - rebuild against perl 5.10.1
  99. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-6
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  101. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-5
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  103. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4
  104. Rebuild for new perl
  105. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.20-3
  106. - Use fixperms macro instead of our own chmod incantation.
  107. - BR ExtUtils::MakeMaker.
  108. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.20-2
  109. - Fix find option order.
  110. * Tue Mar 21 2006 Steven Pritchard <steve@kspei.com> 0.20-1
  111. - Update to 0.20
  112. - Use canonical URL
  113. * Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.18-3
  114. - Minor spec cleanup
  115. - Add COPYING and Artistic
  116. * Mon Aug 01 2005 Steven Pritchard <steve@kspei.com> 0.18-2
  117. - Add BR Test::Pod and Test::Pod::Coverage for make test
  118. * Fri Jul 15 2005 Steven Pritchard <steve@kspei.com> 0.18-1
  119. - Specfile autogenerated.