292007
# Filter the Perl extension module
292007
%{?perl_default_filter}
292007
292007
Name:           perl-Socket6
292007
Version:        0.23
895ef3
Release:        15%{?dist}
292007
Summary:        IPv6 related part of the C socket.h defines and structure manipulators
292007
292007
Group:          Development/Libraries
292007
License:        BSD
292007
URL:            http://search.cpan.org/dist/Socket6/
292007
Source0:        http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
292007
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
292007
292007
BuildRequires:  perl(ExtUtils::MakeMaker)
292007
# Run-time:
292007
BuildRequires:  perl(base)
292007
BuildRequires:  perl(Carp)
292007
BuildRequires:  perl(Exporter)
292007
# Tests:
292007
BuildRequires:  perl(Socket)
292007
BuildRequires:  perl(Test)
292007
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
292007
292007
%description
292007
This module supports getaddrinfo() and getnameinfo() to intend to
292007
enable protocol independent programming.
292007
If your environment supports IPv6, IPv6 related defines such as
292007
AF_INET6 are included.
292007
292007
292007
%prep
292007
%setup -q -n Socket6-%{version}
292007
# CPAN RT #66811
292007
sed -i -e '/MAN3PODS/d' Makefile.PL
292007
292007
292007
%build
292007
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
292007
make %{?_smp_mflags}
292007
292007
292007
%install
292007
rm -rf $RPM_BUILD_ROOT
292007
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
292007
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
292007
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
292007
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
292007
chmod -R u+w $RPM_BUILD_ROOT/*
292007
292007
292007
%check
292007
make test
292007
292007
292007
%clean
292007
rm -rf $RPM_BUILD_ROOT
292007
292007
292007
%files
292007
%defattr(-,root,root,-)
292007
%doc ChangeLog README
292007
%{perl_vendorarch}/Socket6*
292007
%{perl_vendorarch}/auto/Socket6/
292007
%{_mandir}/man3/Socket6.3pm*
292007
292007
292007
%changelog
895ef3
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.23-15
895ef3
- Mass rebuild 2014-01-24
895ef3
895ef3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.23-14
895ef3
- Mass rebuild 2013-12-27
895ef3
292007
* Fri Apr 19 2013 Petr Pisar <ppisar@redhat.com> - 0.23-13
292007
- Produce manual pages (CPAN RT #66811)
292007
292007
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-12
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
292007
292007
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 0.23-11
292007
- Specify all dependencies
292007
292007
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.23-10.1
292007
- Rebuild for perl 5.16
292007
292007
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-10
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
292007
292007
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.23-9
292007
- Perl 5.16 rebuild
292007
292007
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-8
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
292007
292007
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.23-7
292007
- Perl mass rebuild
292007
292007
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-6
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
292007
292007
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-5
292007
- 661697 rebuild for fixing problems with vendorach/lib
292007
292007
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.23-4
292007
- Mass rebuild with perl-5.12.0
292007
292007
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.23-3
292007
- rebuild against perl 5.10.1
292007
292007
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
292007
292007
* Mon Apr 13 2009 Warren Togami <wtogami@redhat.com> - 0.23-1
292007
- 0.23
292007
292007
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
292007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
292007
292007
* Tue Apr 22 2008 Robert Scheck <robert@fedoraproject.org> - 0.20-1
292007
- Upgrade to 0.20 (#443497)
292007
292007
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-7
292007
- Rebuild for perl 5.10 (again)
292007
292007
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.19-6
292007
- Autorebuild for GCC 4.3
292007
292007
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-5
292007
- rebuild for new perl
292007
292007
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-4.1
292007
- add BR: perl(ExtUtils::MakeMaker)
292007
292007
* Tue Aug 21 2007 Warren Togami <wtogami@redhat.com> - 0.19-4
292007
- rebuild
292007
292007
* Wed Jul 12 2006 Warren Togami <wtogami@redhat.com> - 0.19-3
292007
- import into FC6
292007
292007
* Thu May 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-2
292007
- License: BSD (http://www.opensource.org/licenses/bsd-license.php).
292007
292007
* Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1
292007
- First build.