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