1.1 --- a/gnupg/gnupg.spec Wed Jan 07 22:13:49 2009 +0100 1.2 +++ b/gnupg/gnupg.spec Wed Jan 07 22:15:29 2009 +0100 1.3 @@ -32,7 +32,7 @@ 1.4 Group: PGP 1.5 License: GPL 1.6 Version: 2.0.9 1.7 -Release: 20080326 1.8 +Release: 20090106 1.9 1.10 # package options 1.11 %option with_curl yes 1.12 @@ -40,6 +40,7 @@ 1.13 1.14 # list of sources 1.15 Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2 1.16 +Source1: ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz 1.17 Patch0: gnupg.patch 1.18 1.19 # build information 1.20 @@ -88,6 +89,9 @@ 1.21 %build 1.22 # configure program 1.23 export LIBS="" 1.24 + case "%{l_platform -t}" in 1.25 + *-sunos* ) LIBS="$LIBS -lsocket -lnsl" ;; 1.26 + esac 1.27 echo "int main(int argc, char *argv[]) { return 0; }" >dummy.c 1.28 for lib in termcap termlib curses ncurses; do 1.29 rc=0; %{l_cc} -o dummy dummy.c -l$lib >/dev/null 2>&1 || rc=1