perl-Socket6-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Summary: IPv6 related part of the C socket.h defines and structure manipulators
  2. Name: perl-Socket6
  3. Version: 0.23
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: BSD
  7. URL: http://search.cpan.org/dist/Socket6/
  8. Source0: http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  12. %description
  13. This module supports getaddrinfo() and getnameinfo() to intend to
  14. enable protocol independent programing.
  15. If your environment supports IPv6, IPv6 related defines such as
  16. AF_INET6 are included.
  17. %prep
  18. %setup -q -n Socket6-%{version}
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  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 -type f -name '*.bs' -empty -exec rm -f {} ';'
  27. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  28. chmod -R u+w $RPM_BUILD_ROOT/*
  29. %check
  30. make test
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc ChangeLog README
  36. %{perl_vendorarch}/Socket6*
  37. %{perl_vendorarch}/auto/Socket6/
  38. %changelog
  39. * Sat Jul 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.23-1
  40. - initial build for Vine Linux
  41. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-4
  42. - Mass rebuild with perl-5.12.0
  43. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.23-3
  44. - rebuild against perl 5.10.1
  45. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  47. * Mon Apr 13 2009 Warren Togami <wtogami@redhat.com> - 0.23-1
  48. - 0.23
  49. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  51. * Tue Apr 22 2008 Robert Scheck <robert@fedoraproject.org> - 0.20-1
  52. - Upgrade to 0.20 (#443497)
  53. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-7
  54. - Rebuild for perl 5.10 (again)
  55. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.19-6
  56. - Autorebuild for GCC 4.3
  57. * Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-5
  58. - rebuild for new perl
  59. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-4.1
  60. - add BR: perl(ExtUtils::MakeMaker)
  61. * Tue Aug 21 2007 Warren Togami <wtogami@redhat.com> - 0.19-4
  62. - rebuild
  63. * Wed Jul 12 2006 Warren Togami <wtogami@redhat.com> - 0.19-3
  64. - import into FC6
  65. * Thu May 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-2
  66. - License: BSD (http://www.opensource.org/licenses/bsd-license.php).
  67. * Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1
  68. - First build.