perl-IO-Socket-IP/perl-IO-Socket-IP.spec

89 lines
2.5 KiB
RPMSpec
Raw Normal View History

2012-02-02 13:50:34 +00:00
Name: perl-IO-Socket-IP
2012-11-30 11:57:06 +00:00
Version: 0.18
Release: 1%{?dist}
2012-02-02 13:50:34 +00:00
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IO-Socket-IP/
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
2012-11-15 13:08:56 +00:00
BuildRequires: perl(constant)
2012-02-02 13:50:34 +00:00
BuildRequires: perl(IO::Socket)
BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Module::Build)
2012-06-06 15:53:49 +00:00
BuildRequires: perl(Socket) >= 1.97
2012-02-02 13:50:34 +00:00
BuildRequires: perl(Socket6)
BuildRequires: perl(Test::More)
2012-11-30 11:57:06 +00:00
BuildRequires: perl(Test::Pod)
2012-03-14 15:54:11 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2012-02-02 13:50:34 +00:00
%{?perl_default_filter}
%description
This module provides a protocol-independent way to use IPv4 and IPv6
sockets, as a drop-in replacement for IO::Socket::INET. Most constructor
arguments and methods are provided in a backward-compatible way.
%prep
%setup -q -n IO-Socket-IP-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*
%check
2012-11-15 13:08:56 +00:00
# Don't do the live test
2012-08-22 15:46:15 +00:00
rm -f t/21nonblocking-connect-internet.t
2012-02-02 13:50:34 +00:00
./Build test
%files
%doc Changes examples LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
2012-11-30 11:57:06 +00:00
* Fri Nov 30 2012 Petr Šabata <contyk@redhat.com> - 0.18-1
- 0.18 bump
2012-11-15 13:08:56 +00:00
* Thu Nov 15 2012 Petr Šabata <contyk@redhat.com> - 0.17-2
- Fix a typo, sort the deps
2012-08-22 15:29:50 +00:00
* Wed Aug 22 2012 Petr Šabata <contyk@redhat.com> - 0.17-1
- 0.17 bump
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-28 12:37:52 +00:00
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.16-2
- Perl 5.16 rebuild
2012-06-25 09:26:48 +00:00
* Mon Jun 25 2012 Petr Šabata <contyk@redhat.com> - 0.16-1
- 0.16 (IO::Socket::INET compatibility enhancement)
2012-06-21 11:01:21 +00:00
* Thu Jun 21 2012 Petr Šabata <contyk@redhat.com> - 0.15-1
- 0.15 bump
2012-06-19 09:23:04 +00:00
* Tue Jun 19 2012 Petr Šabata <contyk@redhat.com> - 0.14-1
- 0.14 bump
2012-06-11 18:11:10 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.11-2
- Perl 5.16 rebuild
2012-06-06 15:53:49 +00:00
* Wed Jun 06 2012 Petr Šabata <contyk@redhat.com> - 0.11-1
- 0.11 bump
2012-05-11 11:09:04 +00:00
* Fri May 11 2012 Petr Šabata <contyk@redhat.com> - 0.10-1
- 0.10 bump
2012-03-14 15:54:11 +00:00
* Wed Mar 14 2012 Petr Šabata <contyk@redhat.com> - 0.09-1
- 0.09 bump
2012-02-02 13:50:34 +00:00
* Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> 0.08-1
- Specfile autogenerated by cpanspec 1.78.