|
@@ -0,0 +1,33 @@
+Name: perl-IO-Socket-IP
+Summary: Family-neutral IP socket supporting both IPv4 and IPv6
+Version: 0.42
+Release: 1
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: https://metacpan.org/pod/IO::Socket::IP
+Sources:
+ - https://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
+Description: |
+ This module provides a protocol-independent way to use IPv4 and IPv6
+ sockets, intended as a replacement for IO::Socket::INET. Most constructor
+ arguments and methods are provided in a backward-compatible way. For a list of
+ known differences, see the IO::Socket::INET INCOMPATIBILITES section below.
+
+ It uses the getaddrinfo(3) function to convert hostnames and service names
+ or port numbers into sets of possible addresses to connect to or listen on.
+ This allows it to work for IPv6 where the system supports it, while still
+ falling back to IPv4-only on systems which don't.
+
+Requires:
+ - perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+ - perl(IO::Socket), perl(Socket)
+PkgBR:
+ - perl(Module::Build)
+ - perl(IO::Socket), perl(Socket)
+ # perl(Test::More)
+PkgConfigBR:
+ # expat
+Configure: none
+Builder: none
+# test need test::more
+Check: no
|