|
|
@@ -52,6 +52,7 @@
|
|
|
%define V_net_irc 0.75
|
|
|
%define V_ip_country 2.23
|
|
|
%define V_io_socket_multicast 1.05
|
|
|
+%define V_net_growlclient 0.02
|
|
|
|
|
|
# package information
|
|
|
Name: perl-net
|
|
|
@@ -64,7 +65,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20070710
|
|
|
+Release: 20070711
|
|
|
|
|
|
# package options
|
|
|
%option with_curl no
|
|
|
@@ -99,6 +100,7 @@ Source24: http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_pat
|
|
|
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
|
|
|
+Source28: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz
|
|
|
Patch0: perl-net.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -163,6 +165,7 @@ AutoReqProv: no
|
|
|
- Net::IRC (%{V_net_irc})
|
|
|
- IP::Country (%{V_ip_country})
|
|
|
- IO::Socket::Multicast (%{V_io_socket_multicast})
|
|
|
+ - Net::GrowlClient (%{V_net_growlclient})
|
|
|
|
|
|
%track
|
|
|
prog perl-net:Curl-easy = {
|
|
|
@@ -305,6 +308,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/IO/
|
|
|
regex = IO-Socket-Multicast-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-net:Net-GrowlClient = {
|
|
|
+ version = %{V_net_growlclient}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Net/
|
|
|
+ regex = Net-GrowlClient-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -335,6 +343,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 25
|
|
|
%setup -q -T -D -a 26
|
|
|
%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
|
|
|
|
|
|
%build
|
|
|
@@ -377,6 +386,7 @@ AutoReqProv: no
|
|
|
%{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 -d %{SOURCE28} 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`
|
|
|
|