perl-net/perl-net.spec

changeset 99
161326b4f1f9
child 100
67744e0f53cc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-net/perl-net.spec	Fri Jan 16 20:57:37 2009 +0100
     1.3 @@ -0,0 +1,399 @@
     1.4 +##
     1.5 +##  perl-net.spec -- OpenPKG RPM Package Specification
     1.6 +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.7 +##
     1.8 +##  Permission to use, copy, modify, and distribute this software for
     1.9 +##  any purpose with or without fee is hereby granted, provided that
    1.10 +##  the above copyright notice and this permission notice appear in all
    1.11 +##  copies.
    1.12 +##
    1.13 +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    1.14 +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    1.15 +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    1.16 +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    1.17 +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    1.18 +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    1.19 +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    1.20 +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    1.21 +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.22 +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    1.23 +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.24 +##  SUCH DAMAGE.
    1.25 +##
    1.26 +
    1.27 +#   versions of individual parts
    1.28 +%define       V_perl                  5.10.0
    1.29 +%define       V_math_base85           0.2
    1.30 +%define       V_net_ipv4addr          0.10
    1.31 +%define       V_net_ipv6addr          0.2
    1.32 +%define       V_net_daemon            0.43
    1.33 +%define       V_net_server            0.97
    1.34 +%define       V_net_ext               1.011
    1.35 +%define       V_libnet                1.22
    1.36 +%define       V_net_netmask           1.9015
    1.37 +%define       V_net_ftp_common        6.1
    1.38 +%define       V_net_snmp              5.2.0
    1.39 +%define       V_net_tftp              0.17
    1.40 +%define       V_net_telnet            3.03
    1.41 +%define       V_net_telnet_cisco      1.10
    1.42 +%define       V_plrpc                 0.2020
    1.43 +%define       V_net_imap_simple       1.17
    1.44 +%define       V_net_bgp               0.10
    1.45 +%define       V_net_pcap              0.16
    1.46 +%define       V_net_radius            1.56
    1.47 +%define       V_net_ip                1.25
    1.48 +%define       V_class_gomor           1.01
    1.49 +%define       V_net_packet            3.26
    1.50 +%define       V_net_xmpp              1.02
    1.51 +%define       V_net_jabber            2.0
    1.52 +%define       V_net_patricia          1.014
    1.53 +%define       V_net_irc               0.75
    1.54 +%define       V_ip_country            2.26
    1.55 +%define       V_io_socket_multicast   1.05
    1.56 +%define       V_net_growlclient       0.02
    1.57 +%define       V_net_dhcp              0.66
    1.58 +%define       V_net_proxy             0.12
    1.59 +
    1.60 +#   package information
    1.61 +Name:         perl-net
    1.62 +Summary:      Perl Modules for use with networks
    1.63 +URL:          http://www.cpan.org/
    1.64 +Vendor:       Perl Community
    1.65 +Packager:     OpenPKG Foundation e.V.
    1.66 +Distribution: OpenPKG Community
    1.67 +Class:        BASE
    1.68 +Group:        Perl
    1.69 +License:      GPL/Artistic
    1.70 +Version:      %{V_perl}
    1.71 +Release:      20090102
    1.72 +
    1.73 +#   package options
    1.74 +%option       with_pcap   no
    1.75 +
    1.76 +#   list of sources
    1.77 +Source0:      http://www.cpan.org/modules/by-module/Math/Math-Base85-%{V_math_base85}.tar.gz
    1.78 +Source1:      http://www.cpan.org/modules/by-module/Net/Net-IPv4Addr-%{V_net_ipv4addr}.tar.gz
    1.79 +Source2:      http://www.cpan.org/modules/by-module/Net/Net-IPv6Addr-%{V_net_ipv6addr}.tar.gz
    1.80 +Source3:      http://www.cpan.org/modules/by-module/Net/Net-Daemon-%{V_net_daemon}.tar.gz
    1.81 +Source4:      http://www.cpan.org/modules/by-module/Net/Net-Server-%{V_net_server}.tar.gz
    1.82 +Source5:      http://www.cpan.org/modules/by-module/Net/Net-ext-%{V_net_ext}.tar.gz
    1.83 +Source6:      http://www.cpan.org/modules/by-module/Net/libnet-%{V_libnet}.tar.gz
    1.84 +Source7:      http://www.cpan.org/modules/by-module/Net/Net-Netmask-%{V_net_netmask}.tar.gz
    1.85 +Source8:      http://www.cpan.org/modules/by-module/Net/Net-FTP-Common-%{V_net_ftp_common}.tar.gz
    1.86 +Source9:      http://www.cpan.org/modules/by-module/Net/Net-SNMP-%{V_net_snmp}.tar.gz
    1.87 +Source10:     http://www.cpan.org/modules/by-module/Net/Net-TFTP-%{V_net_tftp}.tar.gz
    1.88 +Source11:     http://www.cpan.org/modules/by-module/Net/Net-Telnet-%{V_net_telnet}.tar.gz
    1.89 +Source12:     http://www.cpan.org/modules/by-module/Net/Net-Telnet-Cisco-%{V_net_telnet_cisco}.tar.gz
    1.90 +Source13:     http://www.cpan.org/modules/by-module/Net/Net-Radius-%{V_net_radius}.tar.gz
    1.91 +Source14:     http://www.cpan.org/modules/by-module/RPC/PlRPC-%{V_plrpc}.tar.gz
    1.92 +Source15:     http://www.cpan.org/modules/by-module/Net/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz
    1.93 +Source16:     http://www.cpan.org/modules/by-module/Net/Net-BGP-%{V_net_bgp}.tar.gz
    1.94 +Source17:     http://www.cpan.org/modules/by-module/Net/Net-Pcap-%{V_net_pcap}.tar.gz
    1.95 +Source18:     http://www.cpan.org/modules/by-module/Class/Class-Gomor-%{V_class_gomor}.tar.gz
    1.96 +Source19:     http://www.cpan.org/modules/by-module/Net/Net-Packet-%{V_net_packet}.tar.gz
    1.97 +Source20:     http://www.cpan.org/modules/by-module/Net/Net-IP-%{V_net_ip}.tar.gz
    1.98 +Source21:     http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{V_net_xmpp}.tar.gz
    1.99 +Source22:     http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabber}.tar.gz
   1.100 +Source23:     http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz
   1.101 +Source24:     http://www.cpan.org/modules/by-module/Net/Net-IRC-%{V_net_irc}.tar.gz
   1.102 +Source25:     http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz
   1.103 +Source26:     http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
   1.104 +Source27:     http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz
   1.105 +Source28:     http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz
   1.106 +Source29:     http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz
   1.107 +Patch0:       perl-net.patch
   1.108 +
   1.109 +#   build information
   1.110 +Prefix:       %{l_prefix}
   1.111 +BuildRoot:    %{l_buildroot}
   1.112 +BuildPreReq:  OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
   1.113 +PreReq:       OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
   1.114 +BuildPreReq:  perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210
   1.115 +PreReq:       perl-crypto, perl-sys, perl-time, perl-xml, perl-util >= %{V_perl}-20040210
   1.116 +%if "%{with_pcap}" == "yes"
   1.117 +BuildPreReq:  libpcap
   1.118 +PreReq:       libpcap
   1.119 +%endif
   1.120 +AutoReq:      no
   1.121 +AutoReqProv:  no
   1.122 +
   1.123 +%description
   1.124 +    Perl modules for use with networks:
   1.125 +    - Net::Daemon (%{V_net_daemon})
   1.126 +    - Net::FTP (%{V_libnet})
   1.127 +    - Net::NNTP
   1.128 +    - Net::POP3
   1.129 +    - Net::SMTP
   1.130 +    - Net::SNPP
   1.131 +    - Net::Time
   1.132 +    - Net::FTP::Common (%{V_net_ftp_common})
   1.133 +    - Net::Gen (%{V_net_ext})
   1.134 +    - Net::Inet
   1.135 +    - Net::TCP
   1.136 +    - Net::TCP::Server
   1.137 +    - Net::UDP
   1.138 +    - Net::UNIX
   1.139 +    - Net::UNIX::Server
   1.140 +    - Net::Netmask (%{V_net_netmask})
   1.141 +    - Net::SNMP (%{V_net_snmp})
   1.142 +    - Net::Server (%{V_net_server})
   1.143 +    - Net::TFTP (%{V_net_tftp})
   1.144 +    - Net::Telnet (%{V_net_telnet})
   1.145 +    - Net::Telnet::Cisco (%{V_net_telnet_cisco})
   1.146 +    - Net::Radius (%{V_net_radius})
   1.147 +    - RPC::PlServer, RPC::PlClient (%{V_plrpc})
   1.148 +    - Net::IP (%{V_net_ip})
   1.149 +    - Net::IMAP::Simple (%{V_net_imap_simple})
   1.150 +    - Net::BGP (%{V_net_bgp})
   1.151 +%if "%{with_pcap}" == "yes"
   1.152 +    - Net::Pcap (%{V_net_pcap})
   1.153 +    - Net::Packet (%{V_net_packet})
   1.154 +    - Class::Gomor (%{V_class_gomor})
   1.155 +%endif
   1.156 +    - Net::XMPP (%{V_net_xmpp})
   1.157 +    - Net::Jabber (%{V_net_jabber})
   1.158 +    - Net::Patricia (%{V_net_patricia})
   1.159 +    - Net::IPv4Addr (%{V_net_ipv4addr})
   1.160 +    - Net::IPv6Addr (%{V_net_ipv6addr})
   1.161 +    - Net::IRC (%{V_net_irc})
   1.162 +    - IP::Country (%{V_ip_country})
   1.163 +    - IO::Socket::Multicast (%{V_io_socket_multicast})
   1.164 +    - Net::GrowlClient (%{V_net_growlclient})
   1.165 +    - Net::DHCP (%{V_net_dhcp})
   1.166 +    - Net::Proxy (%{V_net_proxy})
   1.167 +
   1.168 +%track
   1.169 +    prog perl-net:Net-Netmask = {
   1.170 +        version   = %{V_net_netmask}
   1.171 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.172 +        regex     = Net-Netmask-(__VER__)\.tar\.gz
   1.173 +    }
   1.174 +    prog perl-net:Net-Ftp-Common = {
   1.175 +        version   = %{V_net_ftp_common}
   1.176 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.177 +        regex     = Net-FTP-Common-(__VER__)\.tar\.gz
   1.178 +    }
   1.179 +    prog perl-net:libnet = {
   1.180 +        version   = %{V_libnet}
   1.181 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.182 +        regex     = libnet-(__VER__)\.tar\.gz
   1.183 +    }
   1.184 +    prog perl-net:Net-BGP = {
   1.185 +        version   = %{V_net_bgp}
   1.186 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.187 +        regex     = Net-BGP-(__VER__)\.tar\.gz
   1.188 +    }
   1.189 +    prog perl-net:Net-Daemon = {
   1.190 +        version   = %{V_net_daemon}
   1.191 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.192 +        regex     = Net-Daemon-(__VER__)\.tar\.gz
   1.193 +    }
   1.194 +    prog perl-net:Net-ext = {
   1.195 +        version   = %{V_net_ext}
   1.196 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.197 +        regex     = Net-ext-(__VER__)\.tar\.gz
   1.198 +    }
   1.199 +    prog perl-net:Net-Imap-Simple = {
   1.200 +        version   = %{V_net_imap_simple}
   1.201 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.202 +        regex     = Net-IMAP-Simple-(__VER__)\.tar\.gz
   1.203 +    }
   1.204 +    prog perl-net:Net-Server = {
   1.205 +        version   = %{V_net_server}
   1.206 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.207 +        regex     = Net-Server-(__VER__)\.tar\.gz
   1.208 +    }
   1.209 +    prog perl-net:Net-SNMP = {
   1.210 +        version   = %{V_net_snmp}
   1.211 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.212 +        regex     = Net-SNMP-(__VER__)\.tar\.gz
   1.213 +    }
   1.214 +    prog perl-net:Net-Telnet = {
   1.215 +        version   = %{V_net_telnet}
   1.216 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.217 +        regex     = Net-Telnet-(__VER__)\.tar\.gz
   1.218 +    }
   1.219 +    prog perl-net:Net-Telnet-Cisco = {
   1.220 +        version   = %{V_net_telnet_cisco}
   1.221 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.222 +        regex     = Net-Telnet-Cisco-(__VER__)\.tar\.gz
   1.223 +    }
   1.224 +    prog perl-net:Net-TFTP = {
   1.225 +        version   = %{V_net_tftp}
   1.226 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.227 +        regex     = Net-TFTP-(__VER__)\.tar\.gz
   1.228 +    }
   1.229 +    prog perl-net:PlRPC = {
   1.230 +        version   = %{V_plrpc}
   1.231 +        url       = http://www.cpan.org/modules/by-module/RPC/
   1.232 +        regex     = PlRPC-(__VER__)\.tar\.gz
   1.233 +    }
   1.234 +    prog perl-net:Net-Pcap = {
   1.235 +        version   = %{V_net_pcap}
   1.236 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.237 +        regex     = Net-Pcap-(__VER__)\.tar\.gz
   1.238 +    }
   1.239 +    prog perl-net:Net-Radius = {
   1.240 +        version   = %{V_net_radius}
   1.241 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.242 +        regex     = Net-Radius-(__VER__)\.tar\.gz
   1.243 +    }
   1.244 +    prog perl-net:Net-IP = {
   1.245 +        version   = %{V_net_ip}
   1.246 +        url       = http://www.cpan.org/authors/id/M/MA/MANU/
   1.247 +        regex     = Net-IP-(__VER__)\.tar\.gz
   1.248 +    }
   1.249 +    prog perl-net:Net-Packet = {
   1.250 +        version   = %{V_net_packet}
   1.251 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.252 +        regex     = Net-Packet-(__VER__)\.tar\.gz
   1.253 +    }
   1.254 +    prog perl-net:Class-Gomor = {
   1.255 +        version   = %{V_class_gomor}
   1.256 +        url       = http://www.cpan.org/modules/by-module/Class/
   1.257 +        regex     = Class-Gomor-(__VER__)\.tar\.gz
   1.258 +    }
   1.259 +    prog perl-net:Net-XMPP = {
   1.260 +        version   = %{V_net_xmpp}
   1.261 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.262 +        regex     = Net-XMPP-(__VER__)\.tar\.gz
   1.263 +    }
   1.264 +    prog perl-net:Net-Jabber = {
   1.265 +        version   = %{V_net_jabber}
   1.266 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.267 +        regex     = Net-Jabber-(__VER__)\.tar\.gz
   1.268 +    }
   1.269 +    prog perl-net:Net-Patricia = {
   1.270 +        version   = %{V_net_patricia}
   1.271 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.272 +        regex     = Net-Patricia-(__VER__)\.tar\.gz
   1.273 +    }
   1.274 +    prog perl-net:Net-IPv4Addr = {
   1.275 +        version   = %{V_net_ipv4addr}
   1.276 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.277 +        regex     = Net-IPv4Addr-(__VER__)\.tar\.gz
   1.278 +    }
   1.279 +    prog perl-net:Net-IPv6Addr = {
   1.280 +        version   = %{V_net_ipv6addr}
   1.281 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.282 +        regex     = Net-IPv6Addr-(__VER__)\.tar\.gz
   1.283 +    }
   1.284 +    prog perl-net:Math-Base85 = {
   1.285 +        version   = %{V_math_base85}
   1.286 +        url       = http://www.cpan.org/modules/by-module/Math/
   1.287 +        regex     = Math-Base85-(__VER__)\.tar\.gz
   1.288 +    }
   1.289 +    prog perl-net:Net-IRC = {
   1.290 +        version   = %{V_net_irc}
   1.291 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.292 +        regex     = Net-IRC-(__VER__)\.tar\.gz
   1.293 +    }
   1.294 +    prog perl-net:IP-Country = {
   1.295 +        version   = %{V_ip_country}
   1.296 +        url       = http://www.cpan.org/modules/by-module/IP/
   1.297 +        regex     = IP-Country-(__VER__)\.tar\.gz
   1.298 +    }
   1.299 +    prog perl-net:IO-Socket-Multicast = {
   1.300 +        version   = %{V_io_socket_multicast}
   1.301 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.302 +        regex     = IO-Socket-Multicast-(__VER__)\.tar\.gz
   1.303 +    }
   1.304 +    prog perl-net:Net-GrowlClient = {
   1.305 +        version   = %{V_net_growlclient}
   1.306 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.307 +        regex     = Net-GrowlClient-(__VER__)\.tar\.gz
   1.308 +    }
   1.309 +    prog perl-net:Net-DHCP = {
   1.310 +        version   = %{V_net_dhcp}
   1.311 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.312 +        regex     = Net-DHCP-(__VER__)\.tar\.gz
   1.313 +    }
   1.314 +    prog perl-net:Net-Proxy = {
   1.315 +        version   = %{V_net_proxy}
   1.316 +        url       = http://www.cpan.org/modules/by-module/Net/
   1.317 +        regex     = Net-Proxy-(__VER__)\.tar\.gz
   1.318 +    }
   1.319 +
   1.320 +%prep
   1.321 +    %setup -q -c
   1.322 +    %setup -q -T -D -a 1
   1.323 +    %setup -q -T -D -a 2
   1.324 +    %setup -q -T -D -a 3
   1.325 +    %setup -q -T -D -a 4
   1.326 +    %setup -q -T -D -a 5
   1.327 +    %setup -q -T -D -a 6
   1.328 +    %setup -q -T -D -a 7
   1.329 +    %setup -q -T -D -a 8
   1.330 +    %setup -q -T -D -a 9
   1.331 +    %setup -q -T -D -a 10
   1.332 +    %setup -q -T -D -a 11
   1.333 +    %setup -q -T -D -a 12
   1.334 +    %setup -q -T -D -a 13
   1.335 +    %setup -q -T -D -a 14
   1.336 +    %setup -q -T -D -a 15
   1.337 +    %setup -q -T -D -a 16
   1.338 +    %setup -q -T -D -a 17
   1.339 +    %setup -q -T -D -a 18
   1.340 +    %setup -q -T -D -a 19
   1.341 +    %setup -q -T -D -a 20
   1.342 +    %setup -q -T -D -a 21
   1.343 +    %setup -q -T -D -a 22
   1.344 +    %setup -q -T -D -a 23
   1.345 +    %setup -q -T -D -a 24
   1.346 +    %setup -q -T -D -a 25
   1.347 +    %setup -q -T -D -a 26
   1.348 +    %setup -q -T -D -a 27
   1.349 +    (
   1.350 +    %setup -q -T -D -a 28
   1.351 +    ) || true
   1.352 +    %setup -q -T -D -a 29
   1.353 +    sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
   1.354 +
   1.355 +%build
   1.356 +
   1.357 +%install
   1.358 +    rm -rf $RPM_BUILD_ROOT
   1.359 +    %{l_prefix}/bin/perl-openpkg prepare
   1.360 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
   1.361 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
   1.362 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
   1.363 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
   1.364 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
   1.365 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
   1.366 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
   1.367 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
   1.368 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
   1.369 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
   1.370 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
   1.371 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
   1.372 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
   1.373 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
   1.374 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
   1.375 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
   1.376 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
   1.377 +%if "%{with_pcap}" == "yes"
   1.378 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
   1.379 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
   1.380 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} \
   1.381 +        -A "INC='-I. %{l_cppflags}'" \
   1.382 +        -A "LIBS='%{l_ldflags} -lpcap'" \
   1.383 +        configure build install
   1.384 +%endif
   1.385 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
   1.386 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
   1.387 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
   1.388 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
   1.389 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
   1.390 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
   1.391 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
   1.392 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
   1.393 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
   1.394 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
   1.395 +    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   1.396 +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
   1.397 +
   1.398 +%files -f files
   1.399 +
   1.400 +%clean
   1.401 +    rm -rf $RPM_BUILD_ROOT
   1.402 +

mercurial