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