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