|
|
@@ -51,6 +51,7 @@
|
|
|
%define V_net_patricia 1.014
|
|
|
%define V_net_irc 0.75
|
|
|
%define V_ip_country 2.23
|
|
|
+%define V_io_socket_multicast 1.05
|
|
|
|
|
|
# package information
|
|
|
Name: perl-net
|
|
|
@@ -63,7 +64,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20070203
|
|
|
+Release: 20070301
|
|
|
|
|
|
# package options
|
|
|
%option with_curl no
|
|
|
@@ -97,6 +98,7 @@ Source23: http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabbe
|
|
|
Source24: http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz
|
|
|
Source25: http://www.cpan.org/modules/by-module/Net/Net-IRC-%{V_net_irc}.tar.gz
|
|
|
Source26: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz
|
|
|
+Source27: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
|
|
|
Patch0: perl-net.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -160,6 +162,7 @@ AutoReqProv: no
|
|
|
- Net::IPv6Addr (%{V_net_ipv6addr})
|
|
|
- Net::IRC (%{V_net_irc})
|
|
|
- IP::Country (%{V_ip_country})
|
|
|
+ - IO::Socket::Multicast (%{V_io_socket_multicast})
|
|
|
|
|
|
%track
|
|
|
prog perl-net:Curl-easy = {
|
|
|
@@ -297,6 +300,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/IP/
|
|
|
regex = IP-Country-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-net:IO-Socket-Multicast = {
|
|
|
+ version = %{V_io_socket_multicast}
|
|
|
+ url = http://www.cpan.org/modules/by-module/IO/
|
|
|
+ regex = IO-Socket-Multicast-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -326,6 +334,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 24
|
|
|
%setup -q -T -D -a 25
|
|
|
%setup -q -T -D -a 26
|
|
|
+ %setup -q -T -D -a 27
|
|
|
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
|
|
|
|
|
|
%build
|
|
|
@@ -367,6 +376,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|