perl-Net-CIDR-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: perl-Net-CIDR
  2. Version: 0.17
  3. Release: 1%{?_dist_release}
  4. Summary: Manipulate IPv4/IPv6 netblocks in CIDR notation
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Net-CIDR/
  8. Source0: http://www.cpan.org/authors/id/M/MR/MRSAM/Net-CIDR-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. %description
  14. The Net::CIDR package contains functions that manipulate lists of IP
  15. netblocks expressed in CIDR notation. The Net::CIDR functions handle both
  16. IPv4 and IPv6 addresses.
  17. %prep
  18. %setup -q -n Net-CIDR-%{version}
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor
  21. make %{?_smp_mflags}
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  25. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  26. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  27. %{_fixperms} $RPM_BUILD_ROOT/*
  28. %check
  29. make test
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc Changes COPYING README
  35. %{perl_vendorlib}/Net/
  36. %{_mandir}/man3/*.3pm*
  37. %changelog
  38. * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-1
  39. - updated to 0.17
  40. - built with perl 5.16.3
  41. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
  42. - initial build for Vine Linux
  43. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
  44. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  45. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-2
  46. - 661697 rebuild for fixing problems with vendorach/lib
  47. * Thu Jul 01 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.14-1
  48. - Update to 0.14
  49. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
  50. - Mass rebuild with perl-5.12.0
  51. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.13-3
  52. - rebuild against perl 5.10.1
  53. * Mon Nov 9 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-2
  54. - Fix License tag
  55. - Remove Net-CIDR.spec from %%doc
  56. - List files more explicitely
  57. * Fri Sep 25 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-1
  58. - Specfile autogenerated by cpanspec 1.78.