|
@@ -52,6 +52,7 @@
|
|
|
%define V_ip_country 2.23
|
|
%define V_ip_country 2.23
|
|
|
%define V_io_socket_multicast 1.05
|
|
%define V_io_socket_multicast 1.05
|
|
|
%define V_net_growlclient 0.02
|
|
%define V_net_growlclient 0.02
|
|
|
|
|
+%define V_net_dhcp 0.66
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-net
|
|
Name: perl-net
|
|
@@ -98,6 +99,7 @@ Source24: http://www.cpan.org/modules/by-module/Net/Net-IRC-%{V_net_irc}.tar
|
|
|
Source25: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz
|
|
Source25: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz
|
|
|
Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
|
|
Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
|
|
|
Source27: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz
|
|
Source27: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz
|
|
|
|
|
+Source28: http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz
|
|
|
Patch0: perl-net.patch
|
|
Patch0: perl-net.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -156,6 +158,7 @@ AutoReqProv: no
|
|
|
- IP::Country (%{V_ip_country})
|
|
- IP::Country (%{V_ip_country})
|
|
|
- IO::Socket::Multicast (%{V_io_socket_multicast})
|
|
- IO::Socket::Multicast (%{V_io_socket_multicast})
|
|
|
- Net::GrowlClient (%{V_net_growlclient})
|
|
- Net::GrowlClient (%{V_net_growlclient})
|
|
|
|
|
+ - Net::DHCP (%{V_net_dhcp})
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog perl-net:Net-Netmask = {
|
|
prog perl-net:Net-Netmask = {
|
|
@@ -298,6 +301,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Net/
|
|
url = http://www.cpan.org/modules/by-module/Net/
|
|
|
regex = Net-GrowlClient-(__VER__)\.tar\.gz
|
|
regex = Net-GrowlClient-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-net:Net-DHCP = {
|
|
|
|
|
+ version = %{V_net_dhcp}
|
|
|
|
|
+ url = http://www.cpan.org/modules/by-module/Net/
|
|
|
|
|
+ regex = Net-DHCP-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -328,6 +336,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 25
|
|
%setup -q -T -D -a 25
|
|
|
%setup -q -T -D -a 26
|
|
%setup -q -T -D -a 26
|
|
|
%setup -q -T -D -a 27
|
|
%setup -q -T -D -a 27
|
|
|
|
|
+ %setup -q -T -D -a 28
|
|
|
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
|
|
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -368,6 +377,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE25} 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 %{SOURCE26} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
%{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`
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|
|
|