|
|
@@ -53,6 +53,8 @@
|
|
|
%define V_net_growlclient 0.02
|
|
|
%define V_net_dhcp 0.66
|
|
|
%define V_net_proxy 0.12
|
|
|
+%define V_net_stomp 0.34
|
|
|
+%define V_net_stomp_receipt 0.35
|
|
|
|
|
|
# package information
|
|
|
Name: perl-net
|
|
|
@@ -65,7 +67,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20090524
|
|
|
+Release: 20090601
|
|
|
|
|
|
# package options
|
|
|
%option with_pcap no
|
|
|
@@ -101,6 +103,8 @@ Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_i
|
|
|
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
|
|
|
Source29: http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz
|
|
|
+Source30: http://www.cpan.org/modules/by-module/Net/Net-Stomp-%{V_net_stomp}.tar.gz
|
|
|
+Source31: http://www.cpan.org/modules/by-module/Net/Net-Stomp-Receipt-%{V_net_stomp_receipt}.tar.gz
|
|
|
Patch0: perl-net.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -161,6 +165,8 @@ AutoReqProv: no
|
|
|
- Net::GrowlClient (%{V_net_growlclient})
|
|
|
- Net::DHCP (%{V_net_dhcp})
|
|
|
- Net::Proxy (%{V_net_proxy})
|
|
|
+ - Net::Stomp (%{V_net_stomp})
|
|
|
+ - Net::Stomp::Receipt (%{V_net_stomp_receipt})
|
|
|
|
|
|
%track
|
|
|
prog perl-net:Net-Netmask = {
|
|
|
@@ -313,6 +319,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Net/
|
|
|
regex = Net-Proxy-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-net:Net-Stomp = {
|
|
|
+ version = %{V_net_stomp}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Net/
|
|
|
+ regex = Net-Stomp-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-net:Net-Stomp-Receipt = {
|
|
|
+ version = %{V_net_stomp_receipt}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Net/
|
|
|
+ regex = Net-Stomp-Receipt-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -347,6 +363,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 28
|
|
|
) || true
|
|
|
%setup -q -T -D -a 29
|
|
|
+ %setup -q -T -D -a 30
|
|
|
+ %setup -q -T -D -a 31
|
|
|
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
|
|
|
|
|
|
%build
|
|
|
@@ -389,6 +407,8 @@ AutoReqProv: no
|
|
|
%{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 -d %{SOURCE29} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} 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`
|
|
|
|