468bba
%if ! (0%{?rhel})
468bba
%{bcond_without perl_IO_Socket_INET6_enables_optional_test}
468bba
%else
468bba
%{bcond_with perl_IO_Socket_INET6_enables_optional_test}
468bba
%endif
468bba
468bba
Name:           perl-IO-Socket-INET6
468bba
Version:        2.72
468bba
Release:        12%{?dist}
468bba
Summary:        Perl Object interface for AF_INET|AF_INET6 domain sockets
468bba
Group:          Development/Libraries
468bba
License:        GPL+ or Artistic
468bba
URL:            http://search.cpan.org/~mondejar/IO-Socket-INET6/
468bba
Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-%{version}.tar.gz
468bba
BuildArch:      noarch
468bba
# Module Build
468bba
BuildRequires:  perl-interpreter
468bba
BuildRequires:  perl-generators
468bba
BuildRequires:  perl(ExtUtils::MakeMaker)
468bba
# Module Runtime
468bba
BuildRequires:  perl(Carp)
468bba
BuildRequires:  perl(Errno)
468bba
BuildRequires:  perl(IO::Socket)
468bba
BuildRequires:  perl(Socket)
468bba
BuildRequires:  perl(Socket6) >= 0.12
468bba
BuildRequires:  perl(strict)
468bba
# Test Suite
468bba
BuildRequires:  perl(Config)
468bba
BuildRequires:  perl(Test::More)
468bba
BuildRequires:  perl(utf8)
468bba
BuildRequires:  perl(vars)
468bba
BuildRequires:  perl(warnings)
468bba
%if %{with perl_IO_Socket_INET6_enables_optional_test}
468bba
# Optional Tests
468bba
BuildRequires:  perl(Test::Pod) >= 1.14
468bba
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
468bba
BuildRequires:  perl(Test::TrailingSpace)
468bba
%endif
468bba
# Runtime
468bba
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
468bba
468bba
%description
468bba
Perl Object interface for AF_INET|AF_INET6 domain sockets.
468bba
468bba
%prep
468bba
%setup -q -n IO-Socket-INET6-%{version}
468bba
468bba
%build
468bba
perl Makefile.PL INSTALLDIRS=vendor
468bba
make %{?_smp_mflags}
468bba
468bba
%install
468bba
make pure_install DESTDIR=%{buildroot}
468bba
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
468bba
%{_fixperms} %{buildroot}
468bba
468bba
%check
468bba
make test
468bba
468bba
%files
468bba
%license LICENSE
468bba
%doc ChangeLog README
468bba
%{perl_vendorlib}/IO/
468bba
%{_mandir}/man3/IO::Socket::INET6.3*
468bba
468bba
%changelog
468bba
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.72-12
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
468bba
468bba
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.72-11
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
468bba
468bba
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.72-10
468bba
- Perl 5.26 rebuild
468bba
468bba
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.72-9
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
468bba
468bba
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.72-8
468bba
- Perl 5.24 rebuild
468bba
468bba
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.72-7
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
468bba
468bba
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-6
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
468bba
468bba
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.72-5
468bba
- Perl 5.22 rebuild
468bba
468bba
* Thu May 21 2015 Paul Howarth <paul@city-fan.org> - 2.72-4
468bba
- Classify buildreqs by usage
468bba
- Use %%license
468bba
468bba
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.72-3
468bba
- Perl 5.20 rebuild
468bba
468bba
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-2
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
468bba
468bba
* Fri Jan 31 2014 Paul Howarth <paul@city-fan.org> - 2.72-1
468bba
- Update to 2.72
468bba
  - Add minimum version of perl to 5.8.x
468bba
  - Add LICENSE file
468bba
468bba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-3
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
468bba
468bba
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 2.71-2
468bba
- Perl 5.18 rebuild
468bba
468bba
* Sun Jun 23 2013 Paul Howarth <paul@city-fan.org> - 2.71-1
468bba
- Update to 2.71 (typo fixes - CPAN RT#73143, CPAN RT#86344)
468bba
468bba
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-5
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
468bba
468bba
* Thu Nov 15 2012 Petr Šabata <contyk@redhat.com> - 2.69-4
468bba
- Modernize the spec a bit and add Carp to BRs
468bba
468bba
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-3
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
468bba
468bba
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.69-2
468bba
- Perl 5.16 rebuild
468bba
468bba
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 2.69-1
468bba
- Update to 2.69:
468bba
  - Solved symbol clashes in t/io_multihomed6.t (CPAN RT#72769)
468bba
  - Fix the imports on t/io_multihomed6.t (CPAN RT#72769)
468bba
  - Update the link to the repository in Build.PL
468bba
- BR: perl(IO::Socket)
468bba
- BR: perl(Socket)
468bba
- Use %%{_fixperms} macro instead of our own chmod incantation
468bba
468bba
* Wed Jul 27 2011 Petr Sabata <contyk@redhat.com> - 2.67-1
468bba
- 2.67 bump
468bba
468bba
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.66-3
468bba
- Perl mass rebuild
468bba
468bba
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.66-2
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
468bba
468bba
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.66-1
468bba
- Update to 2.66
468bba
  - Fix inet_pton/inet_ntop import warnings (CPAN RT#55901)
468bba
  - Fix listening on :: or 0.0.0.0 (CPAN RT#54656)
468bba
  - Add test listen_port_only.t
468bba
  - Solved problems with multihomed and family order (CPAN RT#57676)
468bba
  - Fix select timeout issue in t/io_multihomed6.t
468bba
  - Fix t/io_multihomed6.t on systems with broken getaddrinfo() (CPAN RT#58198)
468bba
  - Made the "use Socket" call import constants selectively, and not rely on
468bba
    @EXPORT's whims
468bba
468bba
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.57-4
468bba
- s/PERL_INSTALL_ROOT/DESTDIR/
468bba
- re-enable the test suite
468bba
- BR: perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage)
468bba
468bba
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.57-3
468bba
- Rebuild to fix problems with vendorarch/lib (#661697)
468bba
468bba
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.57-2
468bba
- Mass rebuild with perl-5.12.0
468bba
468bba
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 2.57-1
468bba
- new upstream version
468bba
468bba
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 2.56-4
468bba
- fix the source url
468bba
468bba
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.56-3
468bba
- rebuild against perl 5.10.1
468bba
468bba
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.56-2
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
468bba
468bba
* Mon Apr 13 2009 Warren Togami <wtogami@redhat.com> - 2.56-1
468bba
- 2.56
468bba
468bba
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.54-2
468bba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
468bba
468bba
* Wed Mar 26 2008 Warren Togami <wtogami@redhat.com> - 2.54-1
468bba
- 2.54
468bba
468bba
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-5
468bba
- Rebuild for perl 5.10 (again)
468bba
468bba
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-4
468bba
- rebuild for new perl
468bba
468bba
* Fri Nov 16 2007 Parag Nemade <panemade@gmail.com> - 2.51-3
468bba
- Merge Review(#226263) Spec cleanup
468bba
468bba
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.51-2.1
468bba
- correct license tag
468bba
- add BR: perl(ExtUtils::MakeMaker)
468bba
468bba
* Thu Jul 06 2006 Warren Togami <wtogami@redhat.com> 2.51-2
468bba
- minor spec fixes (#197821)
468bba
468bba
* Thu Jul 06 2006 Warren Togami <wtogami@redhat.com> 2.51-1
468bba
- initial Fedora package