OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 13-Mar-2006 21:22:15
Branch: HEAD Handle: 2006031320221500
Modified files:
openpkg-src/perl-net perl-net.spec
Log:
add IP::Country for Spamassassin
Summary:
Revision Changes Path
1.112 +11 -1 openpkg-src/perl-net/perl-net.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-net/perl-net.spec
============================================================================
$ cvs diff -u -r1.111 -r1.112 perl-net.spec
--- openpkg-src/perl-net/perl-net.spec 12 Mar 2006 18:36:03 -0000
1.111
+++ openpkg-src/perl-net/perl-net.spec 13 Mar 2006 20:22:15 -0000
1.112
@@ -50,6 +50,7 @@
%define V_net_jabber 2.0
%define V_net_patricia 1.014
%define V_net_irc 0.75
+%define V_ip_country 2.20
# package information
Name: perl-net
@@ -62,7 +63,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20060312
+Release: 20060313
# package options
%option with_curl no
@@ -95,6 +96,7 @@
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
+Source26:
http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country}.tar.gz
Patch0: perl-net.patch
# build information
@@ -157,6 +159,7 @@
- Net::IPv4Addr (%{V_net_ipv4addr})
- Net::IPv6Addr (%{V_net_ipv6addr})
- Net::IRC (%{V_net_irc})
+ - IP::Country (%{V_ip_country})
%track
prog perl-net:Curl-easy = {
@@ -289,6 +292,11 @@
url = http://www.cpan.org/modules/by-module/Net/
regex = Net-IRC-(__VER__)\.tar\.gz
}
+ prog perl-net:IP-Country = {
+ version = %{V_ip_country}
+ url = http://www.cpan.org/modules/by-module/IP/
+ regex = IP-Country-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -317,6 +325,7 @@
%setup -q -T -D -a 23
%setup -q -T -D -a 24
%setup -q -T -D -a 25
+ %setup -q -T -D -a 26
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
%build
@@ -357,6 +366,7 @@
%{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 -d %{SOURCE26} 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`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]