| 51 %define V_ip_country 2.26 |
51 %define V_ip_country 2.26 |
| 52 %define V_io_socket_multicast 1.05 |
52 %define V_io_socket_multicast 1.05 |
| 53 %define V_net_growlclient 0.02 |
53 %define V_net_growlclient 0.02 |
| 54 %define V_net_dhcp 0.66 |
54 %define V_net_dhcp 0.66 |
| 55 %define V_net_proxy 0.12 |
55 %define V_net_proxy 0.12 |
| |
56 %define V_net_netxap 0.02 |
| 56 |
57 |
| 57 # package information |
58 # package information |
| 58 Name: perl-net |
59 Name: perl-net |
| 59 Summary: Perl Modules for use with networks |
60 Summary: Perl Modules for use with networks |
| 60 URL: http://www.cpan.org/ |
61 URL: http://www.cpan.org/ |
| 99 Source25: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz |
100 Source25: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz |
| 100 Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz |
101 Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz |
| 101 Source27: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz |
102 Source27: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz |
| 102 Source28: http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz |
103 Source28: http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz |
| 103 Source29: http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz |
104 Source29: http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz |
| |
105 Source30: http://www.cpan.org/modules/by-module/Net/NetxAP-%{V_net_netxap}.tar.gz |
| 104 Patch0: perl-net.patch |
106 Patch0: perl-net.patch |
| 105 |
107 |
| 106 # build information |
108 # build information |
| 107 Prefix: %{l_prefix} |
109 Prefix: %{l_prefix} |
| 108 BuildRoot: %{l_buildroot} |
110 BuildRoot: %{l_buildroot} |
| 109 BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126 |
111 BuildPreReq: OpenPKG, openpkg >= 20040130 |
| 110 PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} |
112 PreReq: OpenPKG, openpkg >= 20040130 |
| 111 BuildPreReq: perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210 |
113 BuildPreReq: perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126, binutils |
| 112 PreReq: perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210 |
114 PreReq: perl >= %{V_perl} |
| |
115 BuildPreReq: perl-crypto, perl-sys, perl-time |
| |
116 PreReq: perl-crypto, perl-sys, perl-time |
| |
117 BuildPreReq: perl-xml, perl-util >= %{V_perl}-20040210 |
| |
118 PreReq: perl-xml, perl-util >= %{V_perl}-20040210 |
| 113 %if "%{with_pcap}" == "yes" |
119 %if "%{with_pcap}" == "yes" |
| 114 BuildPreReq: libpcap |
120 BuildPreReq: libpcap |
| 115 PreReq: libpcap |
121 PreReq: libpcap |
| 116 %endif |
122 %endif |
| 117 AutoReq: no |
123 AutoReq: no |
| 159 - IP::Country (%{V_ip_country}) |
165 - IP::Country (%{V_ip_country}) |
| 160 - IO::Socket::Multicast (%{V_io_socket_multicast}) |
166 - IO::Socket::Multicast (%{V_io_socket_multicast}) |
| 161 - Net::GrowlClient (%{V_net_growlclient}) |
167 - Net::GrowlClient (%{V_net_growlclient}) |
| 162 - Net::DHCP (%{V_net_dhcp}) |
168 - Net::DHCP (%{V_net_dhcp}) |
| 163 - Net::Proxy (%{V_net_proxy}) |
169 - Net::Proxy (%{V_net_proxy}) |
| |
170 - Net::NetxAP (%V_net_netxap}) |
| 164 |
171 |
| 165 %track |
172 %track |
| 166 prog perl-net:Net-Netmask = { |
173 prog perl-net:Net-Netmask = { |
| 167 version = %{V_net_netmask} |
174 version = %{V_net_netmask} |
| 168 url = http://www.cpan.org/modules/by-module/Net/ |
175 url = http://www.cpan.org/modules/by-module/Net/ |
| 310 } |
317 } |
| 311 prog perl-net:Net-Proxy = { |
318 prog perl-net:Net-Proxy = { |
| 312 version = %{V_net_proxy} |
319 version = %{V_net_proxy} |
| 313 url = http://www.cpan.org/modules/by-module/Net/ |
320 url = http://www.cpan.org/modules/by-module/Net/ |
| 314 regex = Net-Proxy-(__VER__)\.tar\.gz |
321 regex = Net-Proxy-(__VER__)\.tar\.gz |
| |
322 } |
| |
323 prog perl-net:NetxAP = { |
| |
324 version = %{V_net_netxap} |
| |
325 url = http://www.cpan.org/modules/by-module/Net/ |
| |
326 regex = NetxAP-(__VER__)\.tar\.gz |
| 315 } |
327 } |
| 316 |
328 |
| 317 %prep |
329 %prep |
| 318 %setup -q -c |
330 %setup -q -c |
| 319 %setup -q -T -D -a 1 |
331 %setup -q -T -D -a 1 |
| 387 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
400 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
| 388 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
401 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
| 389 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install |
402 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install |
| 390 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install |
403 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install |
| 391 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install |
404 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install |
| |
405 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
| 392 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
406 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
| 393 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
407 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
| 394 |
408 |
| 395 %files -f files |
409 %files -f files |
| 396 |
410 |