perl-net/perl-net.spec

Fri, 03 Aug 2012 15:16:43 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 15:16:43 +0200
changeset 454
e99334bd789c
parent 100
67744e0f53cc
permissions
-rw-r--r--

Resynchronize with upstream package maintainer version.

michael@99 1 ##
michael@99 2 ## perl-net.spec -- OpenPKG RPM Package Specification
michael@372 3 ## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/>
michael@99 4 ##
michael@99 5 ## Permission to use, copy, modify, and distribute this software for
michael@99 6 ## any purpose with or without fee is hereby granted, provided that
michael@99 7 ## the above copyright notice and this permission notice appear in all
michael@99 8 ## copies.
michael@99 9 ##
michael@99 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@99 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@99 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@99 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@99 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@99 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@99 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@99 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@99 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@99 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@99 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@99 21 ## SUCH DAMAGE.
michael@99 22 ##
michael@99 23
michael@99 24 # versions of individual parts
michael@372 25 %define V_perl 5.14
michael@99 26 %define V_math_base85 0.2
michael@99 27 %define V_net_ipv4addr 0.10
michael@99 28 %define V_net_ipv6addr 0.2
michael@372 29 %define V_net_daemon 0.48
michael@372 30 %define V_net_server 0.99
michael@99 31 %define V_net_ext 1.011
michael@372 32 %define V_libnet 1.22_01
michael@372 33 %define V_net_netmask 1.9016
michael@372 34 %define V_net_ftp_common 7.0.d
michael@99 35 %define V_net_snmp 5.2.0
michael@372 36 %define V_net_tftp 0.19
michael@99 37 %define V_net_telnet 3.03
michael@99 38 %define V_net_telnet_cisco 1.10
michael@99 39 %define V_plrpc 0.2020
michael@372 40 %define V_net_imap_simple 1.2025
michael@372 41 %define V_net_bgp 0.14
michael@99 42 %define V_net_pcap 0.16
michael@372 43 %define V_net_radius 2.103
michael@99 44 %define V_net_ip 1.25
michael@372 45 %define V_class_gomor 1.02
michael@372 46 %define V_net_packet 3.27
michael@99 47 %define V_net_xmpp 1.02
michael@99 48 %define V_net_jabber 2.0
michael@372 49 %define V_net_patricia 1.15
michael@372 50 %define V_net_irc 0.79
michael@372 51 %define V_ip_country 2.27
michael@372 52 %define V_io_socket_multicast 1.12
michael@99 53 %define V_net_growlclient 0.02
michael@372 54 %define V_net_dhcp 0.67_1
michael@99 55 %define V_net_proxy 0.12
michael@372 56 %define V_net_stomp 0.42
michael@372 57 %define V_net_stomp_receipt 0.36
michael@372 58 %define V_net_rabbitmq 0.0.4
michael@372 59 %define V_netaddr_ip 4.044
michael@372 60 %define V_net_http 6.01
michael@100 61 %define V_net_netxap 0.02
michael@99 62
michael@99 63 # package information
michael@99 64 Name: perl-net
michael@99 65 Summary: Perl Modules for use with networks
michael@99 66 URL: http://www.cpan.org/
michael@99 67 Vendor: Perl Community
michael@99 68 Packager: OpenPKG Foundation e.V.
michael@99 69 Distribution: OpenPKG Community
michael@99 70 Class: BASE
michael@99 71 Group: Perl
michael@99 72 License: GPL/Artistic
michael@99 73 Version: %{V_perl}
michael@372 74 Release: 20110914
michael@99 75
michael@99 76 # package options
michael@99 77 %option with_pcap no
michael@99 78
michael@99 79 # list of sources
michael@372 80 Source0: http://www.cpan.org/authors/id/T/TM/TMONROE/Math-Base85-%{V_math_base85}.tar.gz
michael@372 81 Source1: http://www.cpan.org/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-%{V_net_ipv4addr}.tar.gz
michael@372 82 Source2: http://www.cpan.org/authors/id/T/TM/TMONROE/Net-IPv6Addr-%{V_net_ipv6addr}.tar.gz
michael@99 83 Source3: http://www.cpan.org/modules/by-module/Net/Net-Daemon-%{V_net_daemon}.tar.gz
michael@372 84 Source4: http://www.cpan.org/authors/id/R/RH/RHANDOM/Net-Server-%{V_net_server}.tar.gz
michael@372 85 Source5: http://www.cpan.org/authors/id/S/SP/SPIDB/Net-ext-%{V_net_ext}.tar.gz
michael@372 86 Source6: http://www.cpan.org/authors/id/G/GB/GBARR/libnet-%{V_libnet}.tar.gz
michael@99 87 Source7: http://www.cpan.org/modules/by-module/Net/Net-Netmask-%{V_net_netmask}.tar.gz
michael@99 88 Source8: http://www.cpan.org/modules/by-module/Net/Net-FTP-Common-%{V_net_ftp_common}.tar.gz
michael@99 89 Source9: http://www.cpan.org/modules/by-module/Net/Net-SNMP-%{V_net_snmp}.tar.gz
michael@372 90 Source10: http://www.cpan.org/authors/id/G/GB/GBARR/Net-TFTP-%{V_net_tftp}.tar.gz
michael@372 91 Source11: http://www.cpan.org/authors/id/J/JR/JROGERS/Net-Telnet-%{V_net_telnet}.tar.gz
michael@372 92 Source12: http://www.cpan.org/authors/id/J/JO/JOSHUA/Net-Telnet-Cisco-%{V_net_telnet_cisco}.tar.gz
michael@372 93 Source13: http://www.cpan.org/authors/id/L/LU/LUISMUNOZ/Net-Radius-%{V_net_radius}.tar.gz
michael@99 94 Source14: http://www.cpan.org/modules/by-module/RPC/PlRPC-%{V_plrpc}.tar.gz
michael@372 95 Source15: http://www.cpan.org/authors/id/J/JE/JETTERO/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz
michael@372 96 Source16: http://www.cpan.org/authors/id/K/KB/KBRINT/Net-BGP-%{V_net_bgp}.tar.gz
michael@372 97 Source17: http://www.cpan.org/authors/id/S/SA/SAPER/Net-Pcap-%{V_net_pcap}.tar.gz
michael@372 98 Source18: http://www.cpan.org/authors/id/G/GO/GOMOR/Class-Gomor-%{V_class_gomor}.tar.gz
michael@372 99 Source19: http://www.cpan.org/authors/id/G/GO/GOMOR/Net-Packet-%{V_net_packet}.tar.gz
michael@372 100 Source20: http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{V_net_ip}.tar.gz
michael@372 101 Source21: http://www.cpan.org/authors/id/H/HA/HACKER/Net-XMPP-%{V_net_xmpp}.tar.gz
michael@372 102 Source22: http://www.cpan.org/authors/id/R/RE/REATMON/Net-Jabber-%{V_net_jabber}.tar.gz
michael@372 103 Source23: http://www.cpan.org/authors/id/P/PH/PHILIPP/Net-Patricia-%{V_net_patricia}.tar.gz
michael@372 104 Source24: http://www.cpan.org/authors/id/A/AP/APEIRON/Net-IRC-%{V_net_irc}.tar.gz
michael@372 105 Source25: http://www.cpan.org/authors/id/N/NW/NWETTERS/IP-Country-%{V_ip_country}.tar.gz
michael@372 106 Source26: http://www.cpan.org/authors/id/B/BR/BRAMBLE/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
michael@372 107 Source27: http://www.cpan.org/authors/id/C/CA/CASTOR/Net-GrowlClient-%{V_net_growlclient}.tar.gz
michael@372 108 Source28: http://www.cpan.org/authors/id/D/DJ/DJZORT/Net-DHCP-%{V_net_dhcp}.tar.gz
michael@372 109 Source29: http://www.cpan.org/authors/id/B/BO/BOOK/Net-Proxy-%{V_net_proxy}.tar.gz
michael@372 110 Source30: http://www.cpan.org/authors/id/A/AS/ASH/Net-Stomp-%{V_net_stomp}.tar.gz
michael@372 111 Source31: http://www.cpan.org/authors/id/H/HU/HUGUEI/Net-Stomp-Receipt-%{V_net_stomp_receipt}.tar.gz
michael@372 112 Source32: http://www.cpan.org/authors/id/J/JE/JESUS/Net-RabbitMQ-%{V_net_rabbitmq}.tar.gz
michael@372 113 Source33: http://www.cpan.org/authors/id/M/MI/MIKER/NetAddr-IP-%{V_netaddr_ip}.tar.gz
michael@372 114 Source34: http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-%{V_net_http}.tar.gz
michael@372 115 Source35: http://www.cpan.org/modules/by-module/Net/NetxAP-%{V_net_netxap}.tar.gz
michael@99 116 Patch0: perl-net.patch
michael@99 117
michael@99 118 # build information
michael@99 119 Prefix: %{l_prefix}
michael@99 120 BuildRoot: %{l_buildroot}
michael@372 121 BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
michael@372 122 PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}
michael@372 123 BuildPreReq: perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210
michael@372 124 PreReq: perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210
michael@99 125 %if "%{with_pcap}" == "yes"
michael@99 126 BuildPreReq: libpcap
michael@99 127 PreReq: libpcap
michael@99 128 %endif
michael@99 129 AutoReq: no
michael@99 130 AutoReqProv: no
michael@99 131
michael@99 132 %description
michael@99 133 Perl modules for use with networks:
michael@99 134 - Net::Daemon (%{V_net_daemon})
michael@99 135 - Net::FTP (%{V_libnet})
michael@99 136 - Net::NNTP
michael@99 137 - Net::POP3
michael@99 138 - Net::SMTP
michael@99 139 - Net::SNPP
michael@99 140 - Net::Time
michael@99 141 - Net::FTP::Common (%{V_net_ftp_common})
michael@99 142 - Net::Gen (%{V_net_ext})
michael@99 143 - Net::Inet
michael@99 144 - Net::TCP
michael@99 145 - Net::TCP::Server
michael@99 146 - Net::UDP
michael@99 147 - Net::UNIX
michael@99 148 - Net::UNIX::Server
michael@99 149 - Net::Netmask (%{V_net_netmask})
michael@99 150 - Net::SNMP (%{V_net_snmp})
michael@99 151 - Net::Server (%{V_net_server})
michael@99 152 - Net::TFTP (%{V_net_tftp})
michael@99 153 - Net::Telnet (%{V_net_telnet})
michael@99 154 - Net::Telnet::Cisco (%{V_net_telnet_cisco})
michael@99 155 - Net::Radius (%{V_net_radius})
michael@99 156 - RPC::PlServer, RPC::PlClient (%{V_plrpc})
michael@99 157 - Net::IP (%{V_net_ip})
michael@99 158 - Net::IMAP::Simple (%{V_net_imap_simple})
michael@99 159 - Net::BGP (%{V_net_bgp})
michael@99 160 %if "%{with_pcap}" == "yes"
michael@99 161 - Net::Pcap (%{V_net_pcap})
michael@99 162 - Net::Packet (%{V_net_packet})
michael@99 163 - Class::Gomor (%{V_class_gomor})
michael@99 164 %endif
michael@99 165 - Net::XMPP (%{V_net_xmpp})
michael@99 166 - Net::Jabber (%{V_net_jabber})
michael@99 167 - Net::Patricia (%{V_net_patricia})
michael@99 168 - Net::IPv4Addr (%{V_net_ipv4addr})
michael@99 169 - Net::IPv6Addr (%{V_net_ipv6addr})
michael@99 170 - Net::IRC (%{V_net_irc})
michael@99 171 - IP::Country (%{V_ip_country})
michael@99 172 - IO::Socket::Multicast (%{V_io_socket_multicast})
michael@99 173 - Net::GrowlClient (%{V_net_growlclient})
michael@99 174 - Net::DHCP (%{V_net_dhcp})
michael@99 175 - Net::Proxy (%{V_net_proxy})
michael@372 176 - Net::Stomp (%{V_net_stomp})
michael@372 177 - Net::Stomp::Receipt (%{V_net_stomp_receipt})
michael@372 178 - Net::RabbitMQ (%{V_net_rabbitmq})
michael@372 179 - NetAddr::IP (%{V_netaddr_ip})
michael@372 180 - Net::HTTP (%{V_net_http})
michael@100 181 - Net::NetxAP (%V_net_netxap})
michael@99 182
michael@99 183 %track
michael@99 184 prog perl-net:Net-Netmask = {
michael@99 185 version = %{V_net_netmask}
michael@99 186 url = http://www.cpan.org/modules/by-module/Net/
michael@99 187 regex = Net-Netmask-(__VER__)\.tar\.gz
michael@99 188 }
michael@99 189 prog perl-net:Net-Ftp-Common = {
michael@99 190 version = %{V_net_ftp_common}
michael@99 191 url = http://www.cpan.org/modules/by-module/Net/
michael@99 192 regex = Net-FTP-Common-(__VER__)\.tar\.gz
michael@99 193 }
michael@99 194 prog perl-net:libnet = {
michael@99 195 version = %{V_libnet}
michael@372 196 url = http://www.cpan.org/authors/id/G/GB/GBARR/
michael@99 197 regex = libnet-(__VER__)\.tar\.gz
michael@99 198 }
michael@99 199 prog perl-net:Net-BGP = {
michael@99 200 version = %{V_net_bgp}
michael@372 201 url = http://www.cpan.org/authors/id/K/KB/KBRINT/
michael@99 202 regex = Net-BGP-(__VER__)\.tar\.gz
michael@99 203 }
michael@99 204 prog perl-net:Net-Daemon = {
michael@99 205 version = %{V_net_daemon}
michael@99 206 url = http://www.cpan.org/modules/by-module/Net/
michael@99 207 regex = Net-Daemon-(__VER__)\.tar\.gz
michael@99 208 }
michael@99 209 prog perl-net:Net-ext = {
michael@99 210 version = %{V_net_ext}
michael@372 211 url = http://www.cpan.org/authors/id/S/SP/SPIDB/
michael@99 212 regex = Net-ext-(__VER__)\.tar\.gz
michael@99 213 }
michael@99 214 prog perl-net:Net-Imap-Simple = {
michael@99 215 version = %{V_net_imap_simple}
michael@372 216 url = http://www.cpan.org/authors/id/J/JE/JETTERO/
michael@99 217 regex = Net-IMAP-Simple-(__VER__)\.tar\.gz
michael@99 218 }
michael@99 219 prog perl-net:Net-Server = {
michael@99 220 version = %{V_net_server}
michael@372 221 url = http://www.cpan.org/authors/id/R/RH/RHANDOM/
michael@99 222 regex = Net-Server-(__VER__)\.tar\.gz
michael@99 223 }
michael@99 224 prog perl-net:Net-SNMP = {
michael@99 225 version = %{V_net_snmp}
michael@99 226 url = http://www.cpan.org/modules/by-module/Net/
michael@99 227 regex = Net-SNMP-(__VER__)\.tar\.gz
michael@99 228 }
michael@99 229 prog perl-net:Net-Telnet = {
michael@99 230 version = %{V_net_telnet}
michael@372 231 url = http://www.cpan.org/authors/id/J/JR/JROGERS/
michael@99 232 regex = Net-Telnet-(__VER__)\.tar\.gz
michael@99 233 }
michael@99 234 prog perl-net:Net-Telnet-Cisco = {
michael@99 235 version = %{V_net_telnet_cisco}
michael@372 236 url = http://www.cpan.org/authors/id/J/JO/JOSHUA/
michael@99 237 regex = Net-Telnet-Cisco-(__VER__)\.tar\.gz
michael@99 238 }
michael@99 239 prog perl-net:Net-TFTP = {
michael@99 240 version = %{V_net_tftp}
michael@372 241 url = http://www.cpan.org/authors/id/G/GB/GBARR/
michael@99 242 regex = Net-TFTP-(__VER__)\.tar\.gz
michael@99 243 }
michael@99 244 prog perl-net:PlRPC = {
michael@99 245 version = %{V_plrpc}
michael@99 246 url = http://www.cpan.org/modules/by-module/RPC/
michael@99 247 regex = PlRPC-(__VER__)\.tar\.gz
michael@99 248 }
michael@99 249 prog perl-net:Net-Pcap = {
michael@99 250 version = %{V_net_pcap}
michael@372 251 url = http://www.cpan.org/authors/id/S/SA/SAPER/
michael@99 252 regex = Net-Pcap-(__VER__)\.tar\.gz
michael@99 253 }
michael@99 254 prog perl-net:Net-Radius = {
michael@99 255 version = %{V_net_radius}
michael@372 256 url = http://www.cpan.org/authors/id/L/LU/LUISMUNOZ/
michael@99 257 regex = Net-Radius-(__VER__)\.tar\.gz
michael@99 258 }
michael@99 259 prog perl-net:Net-IP = {
michael@99 260 version = %{V_net_ip}
michael@99 261 url = http://www.cpan.org/authors/id/M/MA/MANU/
michael@99 262 regex = Net-IP-(__VER__)\.tar\.gz
michael@99 263 }
michael@99 264 prog perl-net:Net-Packet = {
michael@99 265 version = %{V_net_packet}
michael@372 266 url = http://www.cpan.org/authors/id/G/GO/GOMOR/
michael@99 267 regex = Net-Packet-(__VER__)\.tar\.gz
michael@99 268 }
michael@99 269 prog perl-net:Class-Gomor = {
michael@99 270 version = %{V_class_gomor}
michael@372 271 url = http://www.cpan.org/authors/id/G/GO/GOMOR/
michael@99 272 regex = Class-Gomor-(__VER__)\.tar\.gz
michael@99 273 }
michael@99 274 prog perl-net:Net-XMPP = {
michael@99 275 version = %{V_net_xmpp}
michael@372 276 url = http://www.cpan.org/authors/id/H/HA/HACKER/
michael@99 277 regex = Net-XMPP-(__VER__)\.tar\.gz
michael@99 278 }
michael@99 279 prog perl-net:Net-Jabber = {
michael@99 280 version = %{V_net_jabber}
michael@372 281 url = http://www.cpan.org/authors/id/R/RE/REATMON/
michael@99 282 regex = Net-Jabber-(__VER__)\.tar\.gz
michael@99 283 }
michael@99 284 prog perl-net:Net-Patricia = {
michael@99 285 version = %{V_net_patricia}
michael@372 286 url = http://www.cpan.org/authors/id/P/PH/PHILIPP/
michael@99 287 regex = Net-Patricia-(__VER__)\.tar\.gz
michael@99 288 }
michael@99 289 prog perl-net:Net-IPv4Addr = {
michael@99 290 version = %{V_net_ipv4addr}
michael@372 291 url = http://www.cpan.org/authors/id/F/FR/FRAJULAC/
michael@99 292 regex = Net-IPv4Addr-(__VER__)\.tar\.gz
michael@99 293 }
michael@99 294 prog perl-net:Net-IPv6Addr = {
michael@99 295 version = %{V_net_ipv6addr}
michael@372 296 url = http://www.cpan.org/authors/id/T/TM/TMONROE/
michael@99 297 regex = Net-IPv6Addr-(__VER__)\.tar\.gz
michael@99 298 }
michael@99 299 prog perl-net:Math-Base85 = {
michael@99 300 version = %{V_math_base85}
michael@372 301 url = http://www.cpan.org/authors/id/T/TM/TMONROE/
michael@99 302 regex = Math-Base85-(__VER__)\.tar\.gz
michael@99 303 }
michael@99 304 prog perl-net:Net-IRC = {
michael@372 305 disabled
michael@372 306 comment = "rse: version >= 0.76 no longer supported by author"
michael@99 307 version = %{V_net_irc}
michael@372 308 url = http://www.cpan.org/authors/id/A/AP/APEIRON/
michael@99 309 regex = Net-IRC-(__VER__)\.tar\.gz
michael@99 310 }
michael@99 311 prog perl-net:IP-Country = {
michael@99 312 version = %{V_ip_country}
michael@372 313 url = http://www.cpan.org/authors/id/N/NW/NWETTERS/
michael@99 314 regex = IP-Country-(__VER__)\.tar\.gz
michael@99 315 }
michael@99 316 prog perl-net:IO-Socket-Multicast = {
michael@99 317 version = %{V_io_socket_multicast}
michael@372 318 url = http://www.cpan.org/authors/id/B/BR/BRAMBLE/
michael@99 319 regex = IO-Socket-Multicast-(__VER__)\.tar\.gz
michael@99 320 }
michael@99 321 prog perl-net:Net-GrowlClient = {
michael@99 322 version = %{V_net_growlclient}
michael@372 323 url = http://www.cpan.org/authors/id/C/CA/CASTOR/
michael@99 324 regex = Net-GrowlClient-(__VER__)\.tar\.gz
michael@99 325 }
michael@99 326 prog perl-net:Net-DHCP = {
michael@99 327 version = %{V_net_dhcp}
michael@372 328 url = http://www.cpan.org/authors/id/D/DJ/DJZORT/
michael@99 329 regex = Net-DHCP-(__VER__)\.tar\.gz
michael@99 330 }
michael@99 331 prog perl-net:Net-Proxy = {
michael@99 332 version = %{V_net_proxy}
michael@372 333 url = http://www.cpan.org/authors/id/B/BO/BOOK/
michael@372 334 regex = Net-Proxy-(__VER__)\.tar\.gz
michael@372 335 }
michael@372 336 prog perl-net:Net-Stomp = {
michael@372 337 version = %{V_net_stomp}
michael@372 338 url = http://www.cpan.org/authors/id/A/AS/ASH/
michael@372 339 regex = Net-Stomp-(__VER__)\.tar\.gz
michael@372 340 }
michael@372 341 prog perl-net:Net-Stomp-Receipt = {
michael@372 342 version = %{V_net_stomp_receipt}
michael@372 343 url = http://www.cpan.org/authors/id/H/HU/HUGUEI/
michael@372 344 regex = Net-Stomp-Receipt-(__VER__)\.tar\.gz
michael@372 345 }
michael@372 346 prog perl-net:Net-RabbitMQ = {
michael@372 347 version = %{V_net_rabbitmq}
michael@99 348 url = http://www.cpan.org/modules/by-module/Net/
michael@372 349 regex = Net-RabbitMQ-(__VER__)\.tar\.gz
michael@372 350 }
michael@372 351 prog perl-net:NetAddr-IP = {
michael@372 352 version = %{V_netaddr_ip}
michael@372 353 url = http://www.cpan.org/authors/id/M/MI/MIKER/
michael@372 354 regex = NetAddr-IP-(__VER__)\.tar\.gz
michael@372 355 }
michael@372 356 prog perl-net:Net-HTTP = {
michael@372 357 version = %{V_net_http}
michael@372 358 url = http://www.cpan.org/authors/id/G/GA/GAAS/
michael@372 359 regex = Net-HTTP-(__VER__)\.tar\.gz
michael@99 360 }
michael@100 361 prog perl-net:NetxAP = {
michael@100 362 version = %{V_net_netxap}
michael@100 363 url = http://www.cpan.org/modules/by-module/Net/
michael@100 364 regex = NetxAP-(__VER__)\.tar\.gz
michael@100 365 }
michael@99 366
michael@99 367 %prep
michael@99 368 %setup -q -c
michael@99 369 %setup -q -T -D -a 1
michael@99 370 %setup -q -T -D -a 2
michael@99 371 %setup -q -T -D -a 3
michael@99 372 %setup -q -T -D -a 4
michael@99 373 %setup -q -T -D -a 5
michael@99 374 %setup -q -T -D -a 6
michael@99 375 %setup -q -T -D -a 7
michael@99 376 %setup -q -T -D -a 8
michael@99 377 %setup -q -T -D -a 9
michael@99 378 %setup -q -T -D -a 10
michael@99 379 %setup -q -T -D -a 11
michael@99 380 %setup -q -T -D -a 12
michael@99 381 %setup -q -T -D -a 13
michael@99 382 %setup -q -T -D -a 14
michael@99 383 %setup -q -T -D -a 15
michael@99 384 %setup -q -T -D -a 16
michael@99 385 %setup -q -T -D -a 17
michael@99 386 %setup -q -T -D -a 18
michael@99 387 %setup -q -T -D -a 19
michael@99 388 %setup -q -T -D -a 20
michael@99 389 %setup -q -T -D -a 21
michael@99 390 %setup -q -T -D -a 22
michael@99 391 %setup -q -T -D -a 23
michael@99 392 %setup -q -T -D -a 24
michael@99 393 %setup -q -T -D -a 25
michael@99 394 %setup -q -T -D -a 26
michael@99 395 %setup -q -T -D -a 27
michael@99 396 (
michael@99 397 %setup -q -T -D -a 28
michael@99 398 ) || true
michael@99 399 %setup -q -T -D -a 29
michael@100 400 %setup -q -T -D -a 30
michael@372 401 %setup -q -T -D -a 31
michael@372 402 %setup -q -T -D -a 32
michael@372 403 %setup -q -T -D -a 33
michael@372 404 %setup -q -T -D -a 34
michael@372 405 %setup -q -T -D -a 35
michael@99 406 sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
michael@99 407
michael@99 408 %build
michael@99 409
michael@99 410 %install
michael@99 411 rm -rf $RPM_BUILD_ROOT
michael@99 412 %{l_prefix}/bin/perl-openpkg prepare
michael@99 413 %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
michael@99 414 %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
michael@99 415 %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
michael@99 416 %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
michael@99 417 %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
michael@99 418 %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
michael@99 419 %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
michael@99 420 %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
michael@99 421 %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
michael@99 422 %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
michael@99 423 %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
michael@99 424 %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
michael@99 425 %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
michael@99 426 %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
michael@99 427 %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
michael@99 428 %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
michael@99 429 %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
michael@99 430 %if "%{with_pcap}" == "yes"
michael@99 431 %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
michael@99 432 %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
michael@99 433 %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} \
michael@99 434 -A "INC='-I. %{l_cppflags}'" \
michael@99 435 -A "LIBS='%{l_ldflags} -lpcap'" \
michael@99 436 configure build install
michael@99 437 %endif
michael@99 438 %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
michael@99 439 %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
michael@99 440 %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
michael@99 441 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
michael@99 442 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
michael@99 443 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
michael@99 444 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
michael@99 445 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
michael@99 446 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
michael@99 447 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
michael@100 448 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
michael@372 449 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
michael@372 450 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
michael@372 451 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
michael@372 452 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
michael@372 453 %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
michael@99 454 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
michael@99 455 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
michael@99 456
michael@99 457 %files -f files
michael@99 458
michael@99 459 %clean
michael@99 460 rm -rf $RPM_BUILD_ROOT
michael@99 461

mercurial