Sun, 03 Apr 2011 13:34:55 +0200
Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.
Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.
michael@99 | 1 | ## |
michael@99 | 2 | ## perl-net.spec -- OpenPKG RPM Package Specification |
michael@99 | 3 | ## Copyright (c) 2000-2008 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@99 | 25 | %define V_perl 5.10.0 |
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@99 | 29 | %define V_net_daemon 0.43 |
michael@99 | 30 | %define V_net_server 0.97 |
michael@99 | 31 | %define V_net_ext 1.011 |
michael@99 | 32 | %define V_libnet 1.22 |
michael@99 | 33 | %define V_net_netmask 1.9015 |
michael@99 | 34 | %define V_net_ftp_common 6.1 |
michael@99 | 35 | %define V_net_snmp 5.2.0 |
michael@99 | 36 | %define V_net_tftp 0.17 |
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@99 | 40 | %define V_net_imap_simple 1.17 |
michael@99 | 41 | %define V_net_bgp 0.10 |
michael@99 | 42 | %define V_net_pcap 0.16 |
michael@99 | 43 | %define V_net_radius 1.56 |
michael@99 | 44 | %define V_net_ip 1.25 |
michael@99 | 45 | %define V_class_gomor 1.01 |
michael@99 | 46 | %define V_net_packet 3.26 |
michael@99 | 47 | %define V_net_xmpp 1.02 |
michael@99 | 48 | %define V_net_jabber 2.0 |
michael@99 | 49 | %define V_net_patricia 1.014 |
michael@99 | 50 | %define V_net_irc 0.75 |
michael@99 | 51 | %define V_ip_country 2.26 |
michael@99 | 52 | %define V_io_socket_multicast 1.05 |
michael@99 | 53 | %define V_net_growlclient 0.02 |
michael@99 | 54 | %define V_net_dhcp 0.66 |
michael@99 | 55 | %define V_net_proxy 0.12 |
michael@100 | 56 | %define V_net_netxap 0.02 |
michael@99 | 57 | |
michael@99 | 58 | # package information |
michael@99 | 59 | Name: perl-net |
michael@99 | 60 | Summary: Perl Modules for use with networks |
michael@99 | 61 | URL: http://www.cpan.org/ |
michael@99 | 62 | Vendor: Perl Community |
michael@99 | 63 | Packager: OpenPKG Foundation e.V. |
michael@99 | 64 | Distribution: OpenPKG Community |
michael@99 | 65 | Class: BASE |
michael@99 | 66 | Group: Perl |
michael@99 | 67 | License: GPL/Artistic |
michael@99 | 68 | Version: %{V_perl} |
michael@100 | 69 | Release: 20090106 |
michael@99 | 70 | |
michael@99 | 71 | # package options |
michael@99 | 72 | %option with_pcap no |
michael@99 | 73 | |
michael@99 | 74 | # list of sources |
michael@99 | 75 | Source0: http://www.cpan.org/modules/by-module/Math/Math-Base85-%{V_math_base85}.tar.gz |
michael@99 | 76 | Source1: http://www.cpan.org/modules/by-module/Net/Net-IPv4Addr-%{V_net_ipv4addr}.tar.gz |
michael@99 | 77 | Source2: http://www.cpan.org/modules/by-module/Net/Net-IPv6Addr-%{V_net_ipv6addr}.tar.gz |
michael@99 | 78 | Source3: http://www.cpan.org/modules/by-module/Net/Net-Daemon-%{V_net_daemon}.tar.gz |
michael@99 | 79 | Source4: http://www.cpan.org/modules/by-module/Net/Net-Server-%{V_net_server}.tar.gz |
michael@99 | 80 | Source5: http://www.cpan.org/modules/by-module/Net/Net-ext-%{V_net_ext}.tar.gz |
michael@99 | 81 | Source6: http://www.cpan.org/modules/by-module/Net/libnet-%{V_libnet}.tar.gz |
michael@99 | 82 | Source7: http://www.cpan.org/modules/by-module/Net/Net-Netmask-%{V_net_netmask}.tar.gz |
michael@99 | 83 | Source8: http://www.cpan.org/modules/by-module/Net/Net-FTP-Common-%{V_net_ftp_common}.tar.gz |
michael@99 | 84 | Source9: http://www.cpan.org/modules/by-module/Net/Net-SNMP-%{V_net_snmp}.tar.gz |
michael@99 | 85 | Source10: http://www.cpan.org/modules/by-module/Net/Net-TFTP-%{V_net_tftp}.tar.gz |
michael@99 | 86 | Source11: http://www.cpan.org/modules/by-module/Net/Net-Telnet-%{V_net_telnet}.tar.gz |
michael@99 | 87 | Source12: http://www.cpan.org/modules/by-module/Net/Net-Telnet-Cisco-%{V_net_telnet_cisco}.tar.gz |
michael@99 | 88 | Source13: http://www.cpan.org/modules/by-module/Net/Net-Radius-%{V_net_radius}.tar.gz |
michael@99 | 89 | Source14: http://www.cpan.org/modules/by-module/RPC/PlRPC-%{V_plrpc}.tar.gz |
michael@99 | 90 | Source15: http://www.cpan.org/modules/by-module/Net/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz |
michael@99 | 91 | Source16: http://www.cpan.org/modules/by-module/Net/Net-BGP-%{V_net_bgp}.tar.gz |
michael@99 | 92 | Source17: http://www.cpan.org/modules/by-module/Net/Net-Pcap-%{V_net_pcap}.tar.gz |
michael@99 | 93 | Source18: http://www.cpan.org/modules/by-module/Class/Class-Gomor-%{V_class_gomor}.tar.gz |
michael@99 | 94 | Source19: http://www.cpan.org/modules/by-module/Net/Net-Packet-%{V_net_packet}.tar.gz |
michael@99 | 95 | Source20: http://www.cpan.org/modules/by-module/Net/Net-IP-%{V_net_ip}.tar.gz |
michael@99 | 96 | Source21: http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{V_net_xmpp}.tar.gz |
michael@99 | 97 | Source22: http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabber}.tar.gz |
michael@99 | 98 | Source23: http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz |
michael@99 | 99 | Source24: http://www.cpan.org/modules/by-module/Net/Net-IRC-%{V_net_irc}.tar.gz |
michael@99 | 100 | Source25: http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz |
michael@99 | 101 | Source26: http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz |
michael@99 | 102 | Source27: http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz |
michael@99 | 103 | Source28: http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz |
michael@99 | 104 | Source29: http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz |
michael@100 | 105 | Source30: http://www.cpan.org/modules/by-module/Net/NetxAP-%{V_net_netxap}.tar.gz |
michael@99 | 106 | Patch0: perl-net.patch |
michael@99 | 107 | |
michael@99 | 108 | # build information |
michael@99 | 109 | Prefix: %{l_prefix} |
michael@99 | 110 | BuildRoot: %{l_buildroot} |
michael@100 | 111 | BuildPreReq: OpenPKG, openpkg >= 20040130 |
michael@100 | 112 | PreReq: OpenPKG, openpkg >= 20040130 |
michael@100 | 113 | BuildPreReq: perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126, binutils |
michael@100 | 114 | PreReq: perl >= %{V_perl} |
michael@100 | 115 | BuildPreReq: perl-crypto, perl-sys, perl-time |
michael@100 | 116 | PreReq: perl-crypto, perl-sys, perl-time |
michael@100 | 117 | BuildPreReq: perl-xml, perl-util >= %{V_perl}-20040210 |
michael@100 | 118 | PreReq: perl-xml, perl-util >= %{V_perl}-20040210 |
michael@99 | 119 | %if "%{with_pcap}" == "yes" |
michael@99 | 120 | BuildPreReq: libpcap |
michael@99 | 121 | PreReq: libpcap |
michael@99 | 122 | %endif |
michael@99 | 123 | AutoReq: no |
michael@99 | 124 | AutoReqProv: no |
michael@99 | 125 | |
michael@99 | 126 | %description |
michael@99 | 127 | Perl modules for use with networks: |
michael@99 | 128 | - Net::Daemon (%{V_net_daemon}) |
michael@99 | 129 | - Net::FTP (%{V_libnet}) |
michael@99 | 130 | - Net::NNTP |
michael@99 | 131 | - Net::POP3 |
michael@99 | 132 | - Net::SMTP |
michael@99 | 133 | - Net::SNPP |
michael@99 | 134 | - Net::Time |
michael@99 | 135 | - Net::FTP::Common (%{V_net_ftp_common}) |
michael@99 | 136 | - Net::Gen (%{V_net_ext}) |
michael@99 | 137 | - Net::Inet |
michael@99 | 138 | - Net::TCP |
michael@99 | 139 | - Net::TCP::Server |
michael@99 | 140 | - Net::UDP |
michael@99 | 141 | - Net::UNIX |
michael@99 | 142 | - Net::UNIX::Server |
michael@99 | 143 | - Net::Netmask (%{V_net_netmask}) |
michael@99 | 144 | - Net::SNMP (%{V_net_snmp}) |
michael@99 | 145 | - Net::Server (%{V_net_server}) |
michael@99 | 146 | - Net::TFTP (%{V_net_tftp}) |
michael@99 | 147 | - Net::Telnet (%{V_net_telnet}) |
michael@99 | 148 | - Net::Telnet::Cisco (%{V_net_telnet_cisco}) |
michael@99 | 149 | - Net::Radius (%{V_net_radius}) |
michael@99 | 150 | - RPC::PlServer, RPC::PlClient (%{V_plrpc}) |
michael@99 | 151 | - Net::IP (%{V_net_ip}) |
michael@99 | 152 | - Net::IMAP::Simple (%{V_net_imap_simple}) |
michael@99 | 153 | - Net::BGP (%{V_net_bgp}) |
michael@99 | 154 | %if "%{with_pcap}" == "yes" |
michael@99 | 155 | - Net::Pcap (%{V_net_pcap}) |
michael@99 | 156 | - Net::Packet (%{V_net_packet}) |
michael@99 | 157 | - Class::Gomor (%{V_class_gomor}) |
michael@99 | 158 | %endif |
michael@99 | 159 | - Net::XMPP (%{V_net_xmpp}) |
michael@99 | 160 | - Net::Jabber (%{V_net_jabber}) |
michael@99 | 161 | - Net::Patricia (%{V_net_patricia}) |
michael@99 | 162 | - Net::IPv4Addr (%{V_net_ipv4addr}) |
michael@99 | 163 | - Net::IPv6Addr (%{V_net_ipv6addr}) |
michael@99 | 164 | - Net::IRC (%{V_net_irc}) |
michael@99 | 165 | - IP::Country (%{V_ip_country}) |
michael@99 | 166 | - IO::Socket::Multicast (%{V_io_socket_multicast}) |
michael@99 | 167 | - Net::GrowlClient (%{V_net_growlclient}) |
michael@99 | 168 | - Net::DHCP (%{V_net_dhcp}) |
michael@99 | 169 | - Net::Proxy (%{V_net_proxy}) |
michael@100 | 170 | - Net::NetxAP (%V_net_netxap}) |
michael@99 | 171 | |
michael@99 | 172 | %track |
michael@99 | 173 | prog perl-net:Net-Netmask = { |
michael@99 | 174 | version = %{V_net_netmask} |
michael@99 | 175 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 176 | regex = Net-Netmask-(__VER__)\.tar\.gz |
michael@99 | 177 | } |
michael@99 | 178 | prog perl-net:Net-Ftp-Common = { |
michael@99 | 179 | version = %{V_net_ftp_common} |
michael@99 | 180 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 181 | regex = Net-FTP-Common-(__VER__)\.tar\.gz |
michael@99 | 182 | } |
michael@99 | 183 | prog perl-net:libnet = { |
michael@99 | 184 | version = %{V_libnet} |
michael@99 | 185 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 186 | regex = libnet-(__VER__)\.tar\.gz |
michael@99 | 187 | } |
michael@99 | 188 | prog perl-net:Net-BGP = { |
michael@99 | 189 | version = %{V_net_bgp} |
michael@99 | 190 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 191 | regex = Net-BGP-(__VER__)\.tar\.gz |
michael@99 | 192 | } |
michael@99 | 193 | prog perl-net:Net-Daemon = { |
michael@99 | 194 | version = %{V_net_daemon} |
michael@99 | 195 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 196 | regex = Net-Daemon-(__VER__)\.tar\.gz |
michael@99 | 197 | } |
michael@99 | 198 | prog perl-net:Net-ext = { |
michael@99 | 199 | version = %{V_net_ext} |
michael@99 | 200 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 201 | regex = Net-ext-(__VER__)\.tar\.gz |
michael@99 | 202 | } |
michael@99 | 203 | prog perl-net:Net-Imap-Simple = { |
michael@99 | 204 | version = %{V_net_imap_simple} |
michael@99 | 205 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 206 | regex = Net-IMAP-Simple-(__VER__)\.tar\.gz |
michael@99 | 207 | } |
michael@99 | 208 | prog perl-net:Net-Server = { |
michael@99 | 209 | version = %{V_net_server} |
michael@99 | 210 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 211 | regex = Net-Server-(__VER__)\.tar\.gz |
michael@99 | 212 | } |
michael@99 | 213 | prog perl-net:Net-SNMP = { |
michael@99 | 214 | version = %{V_net_snmp} |
michael@99 | 215 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 216 | regex = Net-SNMP-(__VER__)\.tar\.gz |
michael@99 | 217 | } |
michael@99 | 218 | prog perl-net:Net-Telnet = { |
michael@99 | 219 | version = %{V_net_telnet} |
michael@99 | 220 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 221 | regex = Net-Telnet-(__VER__)\.tar\.gz |
michael@99 | 222 | } |
michael@99 | 223 | prog perl-net:Net-Telnet-Cisco = { |
michael@99 | 224 | version = %{V_net_telnet_cisco} |
michael@99 | 225 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 226 | regex = Net-Telnet-Cisco-(__VER__)\.tar\.gz |
michael@99 | 227 | } |
michael@99 | 228 | prog perl-net:Net-TFTP = { |
michael@99 | 229 | version = %{V_net_tftp} |
michael@99 | 230 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 231 | regex = Net-TFTP-(__VER__)\.tar\.gz |
michael@99 | 232 | } |
michael@99 | 233 | prog perl-net:PlRPC = { |
michael@99 | 234 | version = %{V_plrpc} |
michael@99 | 235 | url = http://www.cpan.org/modules/by-module/RPC/ |
michael@99 | 236 | regex = PlRPC-(__VER__)\.tar\.gz |
michael@99 | 237 | } |
michael@99 | 238 | prog perl-net:Net-Pcap = { |
michael@99 | 239 | version = %{V_net_pcap} |
michael@99 | 240 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 241 | regex = Net-Pcap-(__VER__)\.tar\.gz |
michael@99 | 242 | } |
michael@99 | 243 | prog perl-net:Net-Radius = { |
michael@99 | 244 | version = %{V_net_radius} |
michael@99 | 245 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 246 | regex = Net-Radius-(__VER__)\.tar\.gz |
michael@99 | 247 | } |
michael@99 | 248 | prog perl-net:Net-IP = { |
michael@99 | 249 | version = %{V_net_ip} |
michael@99 | 250 | url = http://www.cpan.org/authors/id/M/MA/MANU/ |
michael@99 | 251 | regex = Net-IP-(__VER__)\.tar\.gz |
michael@99 | 252 | } |
michael@99 | 253 | prog perl-net:Net-Packet = { |
michael@99 | 254 | version = %{V_net_packet} |
michael@99 | 255 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 256 | regex = Net-Packet-(__VER__)\.tar\.gz |
michael@99 | 257 | } |
michael@99 | 258 | prog perl-net:Class-Gomor = { |
michael@99 | 259 | version = %{V_class_gomor} |
michael@99 | 260 | url = http://www.cpan.org/modules/by-module/Class/ |
michael@99 | 261 | regex = Class-Gomor-(__VER__)\.tar\.gz |
michael@99 | 262 | } |
michael@99 | 263 | prog perl-net:Net-XMPP = { |
michael@99 | 264 | version = %{V_net_xmpp} |
michael@99 | 265 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 266 | regex = Net-XMPP-(__VER__)\.tar\.gz |
michael@99 | 267 | } |
michael@99 | 268 | prog perl-net:Net-Jabber = { |
michael@99 | 269 | version = %{V_net_jabber} |
michael@99 | 270 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 271 | regex = Net-Jabber-(__VER__)\.tar\.gz |
michael@99 | 272 | } |
michael@99 | 273 | prog perl-net:Net-Patricia = { |
michael@99 | 274 | version = %{V_net_patricia} |
michael@99 | 275 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 276 | regex = Net-Patricia-(__VER__)\.tar\.gz |
michael@99 | 277 | } |
michael@99 | 278 | prog perl-net:Net-IPv4Addr = { |
michael@99 | 279 | version = %{V_net_ipv4addr} |
michael@99 | 280 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 281 | regex = Net-IPv4Addr-(__VER__)\.tar\.gz |
michael@99 | 282 | } |
michael@99 | 283 | prog perl-net:Net-IPv6Addr = { |
michael@99 | 284 | version = %{V_net_ipv6addr} |
michael@99 | 285 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 286 | regex = Net-IPv6Addr-(__VER__)\.tar\.gz |
michael@99 | 287 | } |
michael@99 | 288 | prog perl-net:Math-Base85 = { |
michael@99 | 289 | version = %{V_math_base85} |
michael@99 | 290 | url = http://www.cpan.org/modules/by-module/Math/ |
michael@99 | 291 | regex = Math-Base85-(__VER__)\.tar\.gz |
michael@99 | 292 | } |
michael@99 | 293 | prog perl-net:Net-IRC = { |
michael@99 | 294 | version = %{V_net_irc} |
michael@99 | 295 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 296 | regex = Net-IRC-(__VER__)\.tar\.gz |
michael@99 | 297 | } |
michael@99 | 298 | prog perl-net:IP-Country = { |
michael@99 | 299 | version = %{V_ip_country} |
michael@99 | 300 | url = http://www.cpan.org/modules/by-module/IP/ |
michael@99 | 301 | regex = IP-Country-(__VER__)\.tar\.gz |
michael@99 | 302 | } |
michael@99 | 303 | prog perl-net:IO-Socket-Multicast = { |
michael@99 | 304 | version = %{V_io_socket_multicast} |
michael@99 | 305 | url = http://www.cpan.org/modules/by-module/IO/ |
michael@99 | 306 | regex = IO-Socket-Multicast-(__VER__)\.tar\.gz |
michael@99 | 307 | } |
michael@99 | 308 | prog perl-net:Net-GrowlClient = { |
michael@99 | 309 | version = %{V_net_growlclient} |
michael@99 | 310 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 311 | regex = Net-GrowlClient-(__VER__)\.tar\.gz |
michael@99 | 312 | } |
michael@99 | 313 | prog perl-net:Net-DHCP = { |
michael@99 | 314 | version = %{V_net_dhcp} |
michael@99 | 315 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 316 | regex = Net-DHCP-(__VER__)\.tar\.gz |
michael@99 | 317 | } |
michael@99 | 318 | prog perl-net:Net-Proxy = { |
michael@99 | 319 | version = %{V_net_proxy} |
michael@99 | 320 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@99 | 321 | regex = Net-Proxy-(__VER__)\.tar\.gz |
michael@99 | 322 | } |
michael@100 | 323 | prog perl-net:NetxAP = { |
michael@100 | 324 | version = %{V_net_netxap} |
michael@100 | 325 | url = http://www.cpan.org/modules/by-module/Net/ |
michael@100 | 326 | regex = NetxAP-(__VER__)\.tar\.gz |
michael@100 | 327 | } |
michael@99 | 328 | |
michael@99 | 329 | %prep |
michael@99 | 330 | %setup -q -c |
michael@99 | 331 | %setup -q -T -D -a 1 |
michael@99 | 332 | %setup -q -T -D -a 2 |
michael@99 | 333 | %setup -q -T -D -a 3 |
michael@99 | 334 | %setup -q -T -D -a 4 |
michael@99 | 335 | %setup -q -T -D -a 5 |
michael@99 | 336 | %setup -q -T -D -a 6 |
michael@99 | 337 | %setup -q -T -D -a 7 |
michael@99 | 338 | %setup -q -T -D -a 8 |
michael@99 | 339 | %setup -q -T -D -a 9 |
michael@99 | 340 | %setup -q -T -D -a 10 |
michael@99 | 341 | %setup -q -T -D -a 11 |
michael@99 | 342 | %setup -q -T -D -a 12 |
michael@99 | 343 | %setup -q -T -D -a 13 |
michael@99 | 344 | %setup -q -T -D -a 14 |
michael@99 | 345 | %setup -q -T -D -a 15 |
michael@99 | 346 | %setup -q -T -D -a 16 |
michael@99 | 347 | %setup -q -T -D -a 17 |
michael@99 | 348 | %setup -q -T -D -a 18 |
michael@99 | 349 | %setup -q -T -D -a 19 |
michael@99 | 350 | %setup -q -T -D -a 20 |
michael@99 | 351 | %setup -q -T -D -a 21 |
michael@99 | 352 | %setup -q -T -D -a 22 |
michael@99 | 353 | %setup -q -T -D -a 23 |
michael@99 | 354 | %setup -q -T -D -a 24 |
michael@99 | 355 | %setup -q -T -D -a 25 |
michael@99 | 356 | %setup -q -T -D -a 26 |
michael@99 | 357 | %setup -q -T -D -a 27 |
michael@99 | 358 | ( |
michael@99 | 359 | %setup -q -T -D -a 28 |
michael@99 | 360 | ) || true |
michael@99 | 361 | %setup -q -T -D -a 29 |
michael@100 | 362 | %setup -q -T -D -a 30 |
michael@99 | 363 | sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b |
michael@99 | 364 | |
michael@99 | 365 | %build |
michael@99 | 366 | |
michael@99 | 367 | %install |
michael@99 | 368 | rm -rf $RPM_BUILD_ROOT |
michael@99 | 369 | %{l_prefix}/bin/perl-openpkg prepare |
michael@99 | 370 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install |
michael@99 | 371 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install |
michael@99 | 372 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install |
michael@99 | 373 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install |
michael@99 | 374 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install |
michael@99 | 375 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install |
michael@99 | 376 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install |
michael@99 | 377 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install |
michael@99 | 378 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install |
michael@99 | 379 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install |
michael@99 | 380 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install |
michael@99 | 381 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install |
michael@99 | 382 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install |
michael@99 | 383 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install |
michael@99 | 384 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install |
michael@99 | 385 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install |
michael@99 | 386 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install |
michael@99 | 387 | %if "%{with_pcap}" == "yes" |
michael@99 | 388 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install |
michael@99 | 389 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install |
michael@99 | 390 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} \ |
michael@99 | 391 | -A "INC='-I. %{l_cppflags}'" \ |
michael@99 | 392 | -A "LIBS='%{l_ldflags} -lpcap'" \ |
michael@99 | 393 | configure build install |
michael@99 | 394 | %endif |
michael@99 | 395 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install |
michael@99 | 396 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install |
michael@99 | 397 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install |
michael@99 | 398 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install |
michael@99 | 399 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install |
michael@99 | 400 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install |
michael@99 | 401 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install |
michael@99 | 402 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install |
michael@99 | 403 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install |
michael@99 | 404 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install |
michael@100 | 405 | %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
michael@99 | 406 | %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
michael@99 | 407 | %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
michael@99 | 408 | |
michael@99 | 409 | %files -f files |
michael@99 | 410 | |
michael@99 | 411 | %clean |
michael@99 | 412 | rm -rf $RPM_BUILD_ROOT |
michael@99 | 413 |