Ralf S. Engelschall il y a 20 ans
Parent
commit
f75d8ff7fd
1 fichiers modifiés avec 11 ajouts et 1 suppressions
  1. 11 1
      perl-net/perl-net.spec

+ 11 - 1
perl-net/perl-net.spec

@@ -49,6 +49,7 @@
 %define       V_net_xmpp              1.0
 %define       V_net_jabber            2.0
 %define       V_net_patricia          1.010
+%define       V_net_irc               0.75
 
 #   package information
 Name:         perl-net
@@ -61,7 +62,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050429
+Release:      20050516
 
 #   package options
 %option       with_curl   no
@@ -93,6 +94,7 @@ Source21:     http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{V_net_ip}.tar.gz
 Source22:     http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{V_net_xmpp}.tar.gz
 Source23:     http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabber}.tar.gz
 Source24:     http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz
+Source25:     http://www.cpan.org/modules/by-module/Net/Net-IRC-%{V_net_irc}.tar.gz
 Patch0:       perl-net.patch
 
 #   build information
@@ -154,6 +156,7 @@ AutoReqProv:  no
     - Net::Patricia (%{V_net_patricia})
     - Net::IPv4Addr (%{V_net_ipv4addr})
     - Net::IPv6Addr (%{V_net_ipv6addr})
+    - Net::IRC (%{V_net_irc})
 
 %track
     prog perl-net:Curl-easy = {
@@ -281,6 +284,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Math/
         regex     = Math-Base85-(__VER__)\.tar\.gz
     }
+    prog perl-net:Net-IRC = {
+        version   = %{V_net_irc}
+        url       = http://www.cpan.org/modules/by-module/Net/
+        regex     = Net-IRC-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -308,6 +316,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 22
     %setup -q -T -D -a 23
     %setup -q -T -D -a 24
+    %setup -q -T -D -a 25
     sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
 
 %build
@@ -347,6 +356,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} 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`